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.001389/0.001389, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001559/0.001559, allocations: 214.9 kB / 22.25 MB, free: 5.262 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.418/1.418, allocations: 230.6 MB / 256 MB, free: 7.785 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.8404/0.8404, allocations: 134 MB / 446.4 MB, free: 9.953 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.002241/0.002241, allocations: 69.25 kB / 0.6185 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1628, allocations: 85.91 MB / 0.7024 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006429/0.1692, allocations: 3.817 MB / 0.7061 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5734/0.7426, allocations: 132.6 MB / 0.8356 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008072/0.7434, allocations: 22.03 kB / 0.8356 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007697/0.7442, allocations: 176.5 kB / 0.8357 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.746, allocations: 0.4888 MB / 0.8362 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.7481, allocations: 0.8345 MB / 0.837 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001526/0.7496, allocations: 1.213 MB / 0.8382 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000822/0.7504, allocations: 424.8 kB / 0.8386 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006976/0.7511, allocations: 470.6 kB / 0.8391 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000695/0.7518, allocations: 413.9 kB / 0.8395 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002441/0.7521, allocations: 108 kB / 0.8396 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.7531, allocations: 480.9 kB / 0.84 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003373/0.7534, allocations: 283 kB / 0.8403 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005141/0.7539, allocations: 409.9 kB / 0.8407 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.756, allocations: 1.543 MB / 0.8422 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.756, allocations: 4 kB / 0.8422 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.756, allocations: 0 / 0.8422 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.955e-05/0.7561, allocations: 0 / 0.8422 GB, free: 4.246 MB / 0.6075 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.002532/0.7586, allocations: 1.319 MB / 0.8435 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.7586, allocations: 8.031 kB / 0.8435 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.7588, allocations: 131.2 kB / 0.8436 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/0.7604, allocations: 236.1 kB / 0.8438 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.7617, allocations: 0.6869 MB / 0.8445 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.948e-05/0.7618, allocations: 62 kB / 0.8446 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.7619, allocations: 76 kB / 0.8446 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.7636, allocations: 1.115 MB / 0.8457 GB, free: 468 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.7636, allocations: 4 kB / 0.8457 GB, free: 464 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/0.7637, allocations: 39.94 kB / 0.8458 GB, free: 424 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.7637, allocations: 20.56 kB / 0.8458 GB, free: 404 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.7654, allocations: 1.026 MB / 0.8468 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003691/0.7691, allocations: 2.11 MB / 0.8489 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.7703, allocations: 0.6801 MB / 0.8495 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/0.7708, allocations: 256 kB / 0.8498 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.044e-05/0.7709, allocations: 24.62 kB / 0.8498 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00079/0.7717, allocations: 0.5176 MB / 0.8503 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 1.984e-06/0.7717, allocations: 4 kB / 0.8503 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.002854/0.7745, allocations: 1.015 MB / 0.8513 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.7747, allocations: 192.6 kB / 0.8515 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008016/0.7755, allocations: 0.6135 MB / 0.8521 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.7755, allocations: 37.7 kB / 0.8521 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.7758, allocations: 392.8 kB / 0.8525 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.7761, allocations: 257.9 kB / 0.8527 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.7763, allocations: 134.2 kB / 0.8529 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.7764, allocations: 382.8 kB / 0.8532 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/0.7769, allocations: 213.2 kB / 0.8534 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/0.7775, allocations: 455.1 kB / 0.8539 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009899/0.7785, allocations: 0.5363 MB / 0.8544 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.7785, allocations: 8.5 kB / 0.8544 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001701/0.7802, allocations: 0.7279 MB / 0.8551 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.7802, allocations: 6.344 kB / 0.8551 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.7802, allocations: 0 / 0.8551 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005699/0.7808, allocations: 84.89 kB / 0.8552 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.7814, allocations: 144.2 kB / 0.8553 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.7834, allocations: 1.535 MB / 0.8568 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000509/0.7839, allocations: 71.59 kB / 0.8569 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/0.7839, allocations: 27.98 kB / 0.8569 GB, free: 4.598 MB / 0.6231 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.0003502/0.7843, allocations: 249.7 kB / 0.8572 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.7845, allocations: 83.42 kB / 0.8572 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.7866, allocations: 1.003 MB / 0.8582 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.7867, allocations: 15.98 kB / 0.8582 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.7867, allocations: 0 / 0.8582 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.7867, allocations: 7.984 kB / 0.8582 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.7899, allocations: 1.744 MB / 0.8599 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.7899, allocations: 4 kB / 0.86 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005541/0.7904, allocations: 147.8 kB / 0.8601 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004137/0.7908, allocations: 68.78 kB / 0.8602 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/0.7909, allocations: 23.98 kB / 0.8602 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.7928, allocations: 1.543 MB / 0.8617 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7928, allocations: 3.938 kB / 0.8617 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.7946, allocations: 0.9241 MB / 0.8626 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.795, allocations: 195 kB / 0.8628 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.7951, allocations: 20.08 kB / 0.8628 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005358/0.7956, allocations: 56.62 kB / 0.8629 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.7957, allocations: 64.88 kB / 0.8629 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/0.7958, allocations: 27.98 kB / 0.8629 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005492/0.7963, allocations: 451 kB / 0.8634 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.7963, allocations: 4 kB / 0.8634 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007731/0.7971, allocations: 291.2 kB / 0.8637 GB, free: 13.5 MB / 0.6387 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.004024/0.8011, allocations: 2.001 MB / 0.8656 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001523/0.8027, allocations: 0.7043 MB / 0.8663 GB, free: 11 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.8027, allocations: 256 / 0.8663 GB, free: 11 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008475/0.8035, allocations: 476.2 kB / 0.8668 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.8046, allocations: 284.8 kB / 0.867 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.8151, allocations: 5.98 MB / 0.8729 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.8156, allocations: 419.2 kB / 0.8733 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007409/0.8163, allocations: 258.3 kB / 0.8735 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/0.8168, allocations: 355.3 kB / 0.8738 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of SimCode: time 5.81e-07/0.8168, allocations: 4 kB / 0.8739 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06196/0.8788, allocations: 21.69 MB / 0.895 GB, free: 13.63 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.85, allocations: 3.938 kB / 0.895 GB, free: 13.63 MB / 0.67 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: 17.67127798497677] Failed to read output from testmodel.py, exit status != 0: 14.07126386789605 14.087772963 13.32851333 Calling exit ...