Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 107.6 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002332/0.002332, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8351/0.8351, allocations: 133.9 MB / 442.8 MB, free: 11.29 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 66.7 kB / 0.6134 GB, free: 8.758 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1732, allocations: 85.85 MB / 0.6972 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006898/0.1801, allocations: 4.566 MB / 0.7017 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5163/0.6964, allocations: 154 MB / 0.8521 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009663/0.6974, allocations: 23.81 kB / 0.8521 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006745/0.6981, allocations: 197.1 kB / 0.8523 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.6999, allocations: 0.5062 MB / 0.8528 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.702, allocations: 0.8529 MB / 0.8536 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.7035, allocations: 1.332 MB / 0.8549 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.7046, allocations: 0.6741 MB / 0.8556 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007486/0.7053, allocations: 0.5644 MB / 0.8561 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000682/0.706, allocations: 0.5833 MB / 0.8567 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.7062, allocations: 144 kB / 0.8568 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.7072, allocations: 0.5351 MB / 0.8574 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.7076, allocations: 350.8 kB / 0.8577 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006119/0.7082, allocations: 0.6489 MB / 0.8583 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00259/0.7108, allocations: 1.893 MB / 0.8602 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7108, allocations: 0 / 0.8602 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7108, allocations: 0 / 0.8602 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.243e-05/0.7108, allocations: 3.984 kB / 0.8602 GB, free: 1.426 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.003175/0.714, allocations: 1.668 MB / 0.8618 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.714, allocations: 9.109 kB / 0.8618 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002445/0.7143, allocations: 173.5 kB / 0.862 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.7158, allocations: 263.9 kB / 0.8622 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.7172, allocations: 0.849 MB / 0.8631 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.131e-05/0.7173, allocations: 82.3 kB / 0.8632 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.7174, allocations: 112 kB / 0.8633 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.7194, allocations: 1.134 MB / 0.8644 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.7195, allocations: 3.938 kB / 0.8644 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.7196, allocations: 48 kB / 0.8644 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/0.7196, allocations: 31.94 kB / 0.8644 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.7217, allocations: 1.238 MB / 0.8657 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004858/0.7266, allocations: 3 MB / 0.8686 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.728, allocations: 0.7296 MB / 0.8693 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005718/0.7286, allocations: 268.2 kB / 0.8696 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.841e-05/0.7287, allocations: 32.67 kB / 0.8696 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008966/0.7296, allocations: 452.4 kB / 0.87 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=78): time 2.064e-06/0.7296, allocations: 0 / 0.87 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of matching and sorting (n=78): time 0.003311/0.7329, allocations: 1.144 MB / 0.8711 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.733, allocations: 192.6 kB / 0.8713 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.7341, allocations: 0.7156 MB / 0.872 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/0.7342, allocations: 41.7 kB / 0.8721 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005029/0.7347, allocations: 0.5124 MB / 0.8726 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.7349, allocations: 273.6 kB / 0.8728 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.7352, allocations: 142.6 kB / 0.873 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.7353, allocations: 336.6 kB / 0.8733 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005261/0.7359, allocations: 237.9 kB / 0.8735 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006592/0.7365, allocations: 346.5 kB / 0.8738 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.7377, allocations: 0.576 MB / 0.8744 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7377, allocations: 4.047 kB / 0.8744 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002052/0.7397, allocations: 0.7945 MB / 0.8752 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.7398, allocations: 8 kB / 0.8752 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.7398, allocations: 3.984 kB / 0.8752 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006568/0.7404, allocations: 84.81 kB / 0.8753 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006486/0.7411, allocations: 147.8 kB / 0.8754 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.7434, allocations: 1.63 MB / 0.877 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006839/0.7441, allocations: 87.53 kB / 0.8771 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.065e-05/0.7442, allocations: 27.98 kB / 0.8771 GB, free: 15.52 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005312/0.7447, allocations: 277.7 kB / 0.8774 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.7449, allocations: 99.31 kB / 0.8775 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.7475, allocations: 1.026 MB / 0.8785 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.7475, allocations: 8 kB / 0.8785 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.7475, allocations: 0 / 0.8785 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.7475, allocations: 3.984 kB / 0.8785 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.7488, allocations: 1.005 MB / 0.8795 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.7488, allocations: 4 kB / 0.8795 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/0.7494, allocations: 151.5 kB / 0.8796 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/0.7499, allocations: 68.73 kB / 0.8797 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/0.75, allocations: 27.98 kB / 0.8797 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/0.7521, allocations: 1.65 MB / 0.8813 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7521, allocations: 0 / 0.8813 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.7543, allocations: 0.9009 MB / 0.8822 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.7547, allocations: 280.2 kB / 0.8825 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.7549, allocations: 20 kB / 0.8825 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005795/0.7554, allocations: 53.98 kB / 0.8825 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.7556, allocations: 60.91 kB / 0.8826 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.36e-05/0.7557, allocations: 35.98 kB / 0.8826 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007723/0.7564, allocations: 0.5029 MB / 0.8831 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7564, allocations: 4 kB / 0.8831 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009893/0.7574, allocations: 346.8 kB / 0.8835 GB, free: 8.766 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004335/0.7618, allocations: 1.935 MB / 0.8853 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001826/0.7636, allocations: 0.7493 MB / 0.8861 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.7636, allocations: 4 kB / 0.8861 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.7646, allocations: 484.3 kB / 0.8865 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.7659, allocations: 299.5 kB / 0.8868 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/0.7793, allocations: 6.769 MB / 0.8934 GB, free: 14.58 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008213/0.7801, allocations: 1.09 MB / 0.8945 GB, free: 13.46 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008481/0.781, allocations: 267 kB / 0.8948 GB, free: 13.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007269/0.7817, allocations: 462.4 kB / 0.8952 GB, free: 12.75 MB / 0.67 GB Notification: Performance of SimCode: time 1.092e-06/0.7817, allocations: 0 / 0.8952 GB, free: 12.75 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06195/0.8437, allocations: 22.27 MB / 0.9169 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.16, allocations: 12 kB / 0.917 GB, free: 6.711 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.113734555998235] Failed to read output from testmodel.py, exit status != 0: 14.365827072004322 14.386452965 13.672559408 Calling exit ...