Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001313/0.001313, allocations: 103 kB / 16.45 MB, free: 6.449 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.001431/0.001431, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.475/1.475, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.9425/0.9425, allocations: 133.9 MB / 442.8 MB, free: 11.31 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.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.001922/0.001922, allocations: 67.56 kB / 0.6134 GB, free: 8.777 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1776, allocations: 85.85 MB / 0.6972 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006054/0.1836, allocations: 4.203 MB / 0.7014 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5784/0.762, allocations: 153.9 MB / 0.8516 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000864/0.7628, allocations: 23.81 kB / 0.8516 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005712/0.7634, allocations: 174.4 kB / 0.8518 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.7652, allocations: 497.7 kB / 0.8523 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.7672, allocations: 0.8128 MB / 0.8531 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001422/0.7686, allocations: 1.219 MB / 0.8543 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007553/0.7694, allocations: 461.5 kB / 0.8547 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000631/0.77, allocations: 466.4 kB / 0.8551 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005531/0.7706, allocations: 461.9 kB / 0.8556 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.7707, allocations: 108 kB / 0.8557 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009578/0.7717, allocations: 0.5005 MB / 0.8562 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.772, allocations: 271.1 kB / 0.8564 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004807/0.7724, allocations: 0.5012 MB / 0.8569 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.7743, allocations: 1.547 MB / 0.8584 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.7743, allocations: 4 kB / 0.8584 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7743, allocations: 0 / 0.8584 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.71e-05/0.7743, allocations: 4 kB / 0.8584 GB, free: 3.289 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002423/0.7767, allocations: 1.383 MB / 0.8598 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.7768, allocations: 13.11 kB / 0.8598 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.7769, allocations: 131.2 kB / 0.8599 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.7787, allocations: 236.1 kB / 0.8601 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.7798, allocations: 0.743 MB / 0.8609 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.414e-05/0.7799, allocations: 69.92 kB / 0.8609 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.78, allocations: 76 kB / 0.861 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.7815, allocations: 0.8637 MB / 0.8619 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.7816, allocations: 4 kB / 0.8619 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.262e-05/0.7816, allocations: 36 kB / 0.8619 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.7817, allocations: 24 kB / 0.8619 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.7835, allocations: 1.061 MB / 0.863 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004019/0.7875, allocations: 2.38 MB / 0.8653 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.789, allocations: 0.7621 MB / 0.866 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/0.7895, allocations: 254.7 kB / 0.8663 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.863e-05/0.7896, allocations: 24.61 kB / 0.8663 GB, free: 11 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008126/0.7904, allocations: 433.7 kB / 0.8667 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.215e-06/0.7904, allocations: 0 / 0.8667 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.003307/0.7937, allocations: 1.09 MB / 0.8678 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.7938, allocations: 188.6 kB / 0.8679 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008773/0.7947, allocations: 0.6136 MB / 0.8685 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.296e-05/0.7948, allocations: 37.7 kB / 0.8686 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/0.7951, allocations: 389 kB / 0.869 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.7954, allocations: 257.8 kB / 0.8692 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.7956, allocations: 137.3 kB / 0.8693 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002403/0.7958, allocations: 390.8 kB / 0.8697 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/0.7963, allocations: 213.2 kB / 0.8699 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006148/0.7969, allocations: 323.6 kB / 0.8702 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.798, allocations: 0.5363 MB / 0.8707 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.798, allocations: 3.938 kB / 0.8707 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002005/0.8001, allocations: 0.7319 MB / 0.8715 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.8001, allocations: 8 kB / 0.8715 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.8001, allocations: 4 kB / 0.8715 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006552/0.8007, allocations: 88.77 kB / 0.8716 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/0.8014, allocations: 135.8 kB / 0.8717 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/0.8038, allocations: 1.628 MB / 0.8733 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006196/0.8044, allocations: 79.19 kB / 0.8733 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/0.8045, allocations: 31.97 kB / 0.8734 GB, free: 3.422 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (77): * Single equations (assignments): 76 * 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.0004294/0.8049, allocations: 248.5 kB / 0.8736 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.8051, allocations: 87.42 kB / 0.8737 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.8075, allocations: 1.003 MB / 0.8747 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.8075, allocations: 16 kB / 0.8747 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.8075, allocations: 0 / 0.8747 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.8076, allocations: 3.984 kB / 0.8747 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/0.811, allocations: 1.885 MB / 0.8765 GB, free: 116 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.811, allocations: 0 / 0.8765 GB, free: 116 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006391/0.8116, allocations: 147.8 kB / 0.8767 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004611/0.8121, allocations: 72.78 kB / 0.8768 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.8122, allocations: 23.98 kB / 0.8768 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.8143, allocations: 1.658 MB / 0.8784 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8143, allocations: 7.688 kB / 0.8784 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.8164, allocations: 0.9204 MB / 0.8793 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/0.8168, allocations: 268.2 kB / 0.8796 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.8169, allocations: 20.06 kB / 0.8796 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/0.8175, allocations: 51.94 kB / 0.8796 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.8176, allocations: 64.92 kB / 0.8797 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.8177, allocations: 35.92 kB / 0.8797 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006267/0.8183, allocations: 451 kB / 0.8801 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8183, allocations: 0 / 0.8801 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009491/0.8192, allocations: 287.2 kB / 0.8804 GB, free: 11.95 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 (87): * Single equations (assignments): 84 * 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.004192/0.8234, allocations: 1.985 MB / 0.8824 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.8251, allocations: 0.7003 MB / 0.883 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8251, allocations: 0 / 0.883 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009165/0.826, allocations: 472.5 kB / 0.8835 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.8272, allocations: 282.9 kB / 0.8838 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.8436, allocations: 5.974 MB / 0.8896 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.8447, allocations: 1.007 MB / 0.8906 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001455/0.8461, allocations: 258.3 kB / 0.8908 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008429/0.847, allocations: 359.3 kB / 0.8912 GB, free: 1 MB / 0.6544 GB Notification: Performance of SimCode: time 1.132e-06/0.847, allocations: 0 / 0.8912 GB, free: 1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07922/0.9262, allocations: 20.32 MB / 0.911 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.2, allocations: 21.42 kB / 0.911 GB, free: 12.93 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.24922656500712] Failed to read output from testmodel.py, exit status != 0: 14.422931983994204 14.438842637 13.661549624 Calling exit ...