Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001515/0.001515, allocations: 108.9 kB / 16.46 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.001497/0.001497, allocations: 216.2 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.515/1.515, 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.8586/0.8586, allocations: 134 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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.002414/0.002414, allocations: 64.72 kB / 0.6134 GB, free: 8.734 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2011, allocations: 85.85 MB / 0.6973 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006633/0.2077, allocations: 4.172 MB / 0.7013 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5133/0.7211, allocations: 153.9 MB / 0.8516 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006511/0.7217, allocations: 23.81 kB / 0.8516 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005414/0.7223, allocations: 173.4 kB / 0.8518 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.7238, allocations: 0.4921 MB / 0.8522 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.7257, allocations: 0.819 MB / 0.853 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001393/0.7271, allocations: 1.195 MB / 0.8542 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007464/0.7279, allocations: 469.2 kB / 0.8547 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006197/0.7285, allocations: 462.4 kB / 0.8551 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005409/0.729, allocations: 454 kB / 0.8555 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.7292, allocations: 107.9 kB / 0.8556 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009431/0.7301, allocations: 0.4967 MB / 0.8561 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.7304, allocations: 284.7 kB / 0.8564 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004888/0.7309, allocations: 0.4973 MB / 0.8569 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.7329, allocations: 1.539 MB / 0.8584 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7329, allocations: 0 / 0.8584 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7329, allocations: 0 / 0.8584 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.7329, allocations: 0 / 0.8584 GB, free: 3.328 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002392/0.7353, allocations: 1.391 MB / 0.8597 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.7353, allocations: 13.11 kB / 0.8598 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.7355, allocations: 127.1 kB / 0.8599 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.7373, allocations: 236.1 kB / 0.8601 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.7385, allocations: 0.7469 MB / 0.8608 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.394e-05/0.7386, allocations: 62 kB / 0.8609 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.7387, allocations: 80 kB / 0.861 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.7403, allocations: 0.8608 MB / 0.8618 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.7403, allocations: 0 / 0.8618 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.837e-05/0.7404, allocations: 32 kB / 0.8618 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.7404, allocations: 20.56 kB / 0.8619 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.7424, allocations: 1.061 MB / 0.8629 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004225/0.7466, allocations: 2.368 MB / 0.8652 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.7481, allocations: 0.7546 MB / 0.8659 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/0.7486, allocations: 255.3 kB / 0.8662 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.549e-05/0.7487, allocations: 32.58 kB / 0.8662 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008381/0.7495, allocations: 423.2 kB / 0.8666 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=72): time 2.375e-06/0.7495, allocations: 0 / 0.8666 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72): time 0.003212/0.7528, allocations: 1.085 MB / 0.8677 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.7529, allocations: 192.6 kB / 0.8679 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009844/0.7539, allocations: 0.6136 MB / 0.8685 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.7539, allocations: 37.7 kB / 0.8685 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/0.7543, allocations: 384.9 kB / 0.8689 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.7546, allocations: 249.8 kB / 0.8691 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/0.7548, allocations: 130.2 kB / 0.8692 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002244/0.755, allocations: 394.5 kB / 0.8696 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004831/0.7555, allocations: 213.2 kB / 0.8698 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/0.7561, allocations: 310.7 kB / 0.8701 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.7572, allocations: 0.5277 MB / 0.8706 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7572, allocations: 3.938 kB / 0.8706 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001949/0.7592, allocations: 0.724 MB / 0.8713 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.7592, allocations: 4 kB / 0.8713 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.7592, allocations: 4.094 kB / 0.8713 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006521/0.7599, allocations: 80.77 kB / 0.8714 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.7605, allocations: 139.8 kB / 0.8715 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.7629, allocations: 1.635 MB / 0.8731 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006491/0.7636, allocations: 75.62 kB / 0.8732 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.268e-05/0.7636, allocations: 31.97 kB / 0.8732 GB, free: 3.551 MB / 0.6387 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 (75): * Single equations (assignments): 74 * 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.0004701/0.7641, allocations: 253.7 kB / 0.8735 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.7643, allocations: 83.42 kB / 0.8736 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.7668, allocations: 0.9993 MB / 0.8745 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.7668, allocations: 8 kB / 0.8746 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7668, allocations: 4 kB / 0.8746 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.7668, allocations: 7.984 kB / 0.8746 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.7703, allocations: 1.877 MB / 0.8764 GB, free: 256 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.7703, allocations: 3.938 kB / 0.8764 GB, free: 252 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006053/0.7709, allocations: 147.7 kB / 0.8765 GB, free: 104 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/0.7713, allocations: 72.78 kB / 0.8766 GB, free: 28 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.776e-05/0.7714, allocations: 23.98 kB / 0.8766 GB, free: 4 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.7735, allocations: 1.654 MB / 0.8782 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7735, allocations: 8.094 kB / 0.8783 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.7755, allocations: 0.9164 MB / 0.8792 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/0.7759, allocations: 268.2 kB / 0.8794 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.776, allocations: 16 kB / 0.8794 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005957/0.7766, allocations: 57.2 kB / 0.8795 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.7767, allocations: 56.92 kB / 0.8795 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-05/0.7768, allocations: 35.98 kB / 0.8796 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006374/0.7775, allocations: 451 kB / 0.88 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7775, allocations: 1.969 kB / 0.88 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000885/0.7783, allocations: 291.1 kB / 0.8803 GB, free: 12.09 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.004169/0.7825, allocations: 1.966 MB / 0.8822 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001703/0.7842, allocations: 0.6964 MB / 0.8829 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.7842, allocations: 4 kB / 0.8829 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009464/0.7852, allocations: 472.4 kB / 0.8833 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.7865, allocations: 277.8 kB / 0.8836 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.7982, allocations: 5.943 MB / 0.8894 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007738/0.799, allocations: 1.007 MB / 0.8904 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009032/0.7999, allocations: 263.5 kB / 0.8906 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006718/0.8005, allocations: 359.3 kB / 0.891 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of SimCode: time 1.873e-06/0.8005, allocations: 3.938 kB / 0.891 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05849/0.859, allocations: 20.27 MB / 0.9108 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/14.05, allocations: 14.38 kB / 0.9108 GB, free: 13.14 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.068291464005597] Failed to read output from testmodel.py, exit status != 0: 14.27962028598995 14.305708015 13.567917741 Calling exit ...