Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001356/0.001356, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001778/0.001778, allocations: 212.4 kB / 22.99 MB, free: 4.605 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9718/0.9718, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002235/0.002235, allocations: 64.69 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2068, allocations: 89.17 MB / 0.7281 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007067/0.2138, allocations: 4.485 MB / 0.7325 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5415/0.7553, allocations: 132.7 MB / 0.8621 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.7567, allocations: 19.88 kB / 0.8621 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.7579, allocations: 205.1 kB / 0.8623 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.7608, allocations: 0.5834 MB / 0.8629 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.7641, allocations: 0.8766 MB / 0.8638 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002773/0.7668, allocations: 1.453 MB / 0.8652 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007991/0.7676, allocations: 399.7 kB / 0.8656 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008653/0.7685, allocations: 0.5289 MB / 0.8661 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008388/0.7693, allocations: 485.7 kB / 0.8665 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000243/0.7696, allocations: 124 kB / 0.8667 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.7713, allocations: 0.4901 MB / 0.8671 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000549/0.7718, allocations: 318.9 kB / 0.8674 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006955/0.7725, allocations: 481.7 kB / 0.8679 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003178/0.7757, allocations: 1.727 MB / 0.8696 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.7757, allocations: 7.938 kB / 0.8696 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.935e-06/0.7757, allocations: 0 / 0.8696 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.7757, allocations: 0 / 0.8696 GB, free: 4.52 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003818/0.7795, allocations: 1.453 MB / 0.871 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.7796, allocations: 15.97 kB / 0.871 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002391/0.7798, allocations: 143.6 kB / 0.8712 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00261/0.7824, allocations: 251.9 kB / 0.8714 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/0.7846, allocations: 0.7231 MB / 0.8721 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.924e-05/0.7847, allocations: 69.98 kB / 0.8722 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.7848, allocations: 84 kB / 0.8723 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00276/0.7876, allocations: 1.197 MB / 0.8734 GB, free: 432 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.7876, allocations: 0 / 0.8734 GB, free: 432 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.7878, allocations: 36 kB / 0.8735 GB, free: 396 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/0.7878, allocations: 24 kB / 0.8735 GB, free: 372 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002796/0.7906, allocations: 1.085 MB / 0.8745 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006361/0.7969, allocations: 2.256 MB / 0.8768 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/0.7993, allocations: 0.7923 MB / 0.8775 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009247/0.8003, allocations: 288.2 kB / 0.8778 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.8004, allocations: 24.64 kB / 0.8778 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001501/0.8019, allocations: 0.6204 MB / 0.8784 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 4.629e-06/0.8019, allocations: 3.938 kB / 0.8784 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.004818/0.8067, allocations: 1.188 MB / 0.8796 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.8068, allocations: 196.9 kB / 0.8798 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.8086, allocations: 0.6723 MB / 0.8804 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.8087, allocations: 41.7 kB / 0.8805 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005841/0.8093, allocations: 416.8 kB / 0.8809 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000438/0.8097, allocations: 289.6 kB / 0.8812 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004222/0.8101, allocations: 154.6 kB / 0.8813 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002902/0.8104, allocations: 390.7 kB / 0.8817 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008456/0.8113, allocations: 257.9 kB / 0.8819 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.8125, allocations: 0.4999 MB / 0.8824 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.8142, allocations: 0.6094 MB / 0.883 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.8142, allocations: 0 / 0.883 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003338/0.8175, allocations: 0.8413 MB / 0.8838 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.8176, allocations: 8 kB / 0.8838 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.8176, allocations: 7.922 kB / 0.8838 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008882/0.8185, allocations: 80.91 kB / 0.8839 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009179/0.8194, allocations: 159.8 kB / 0.8841 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00311/0.8225, allocations: 1.526 MB / 0.8856 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.8236, allocations: 92.2 kB / 0.8856 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.8237, allocations: 27.98 kB / 0.8857 GB, free: 3.477 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0007207/0.8245, allocations: 277.5 kB / 0.8859 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/0.8248, allocations: 95.45 kB / 0.886 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003941/0.8288, allocations: 1.139 MB / 0.8871 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.8288, allocations: 11.94 kB / 0.8872 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.8288, allocations: 4 kB / 0.8872 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.8288, allocations: 7.969 kB / 0.8872 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005259/0.8341, allocations: 1.872 MB / 0.889 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.8341, allocations: 0 / 0.889 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009261/0.835, allocations: 159.8 kB / 0.8891 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005766/0.8356, allocations: 72.78 kB / 0.8892 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.471e-05/0.8357, allocations: 27.98 kB / 0.8892 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002657/0.8383, allocations: 1.551 MB / 0.8908 GB, free: 14.08 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/0.8383, allocations: 8.047 kB / 0.8908 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003354/0.8417, allocations: 1.061 MB / 0.8918 GB, free: 12.99 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000728/0.8424, allocations: 215 kB / 0.892 GB, free: 12.78 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.8426, allocations: 20 kB / 0.892 GB, free: 12.76 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.8436, allocations: 63.92 kB / 0.8921 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/0.8439, allocations: 92.59 kB / 0.8922 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.844, allocations: 39.97 kB / 0.8922 GB, free: 12.57 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001103/0.8451, allocations: 483 kB / 0.8927 GB, free: 12.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8451, allocations: 0 / 0.8927 GB, free: 12.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001323/0.8465, allocations: 331.2 kB / 0.893 GB, free: 11.78 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.006075/0.8525, allocations: 2.157 MB / 0.8951 GB, free: 9.848 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002527/0.8551, allocations: 0.8158 MB / 0.8959 GB, free: 9.02 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.8551, allocations: 4 kB / 0.8959 GB, free: 9.016 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.8565, allocations: 0.5041 MB / 0.8964 GB, free: 8.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.8584, allocations: 300.5 kB / 0.8967 GB, free: 8.23 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.8722, allocations: 6.52 MB / 0.903 GB, free: 1.547 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.8728, allocations: 450.3 kB / 0.9035 GB, free: 1.078 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000905/0.8737, allocations: 267.1 kB / 0.9037 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006415/0.8743, allocations: 411.3 kB / 0.9041 GB, free: 420 kB / 0.67 GB Notification: Performance of SimCode: time 1.383e-06/0.8743, allocations: 0 / 0.9041 GB, free: 420 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07009/0.9444, allocations: 24.22 MB / 0.9278 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.95, allocations: 7.797 kB / 0.9278 GB, free: 8.48 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.050708021968603] Failed to read output from testmodel.py, exit status != 0: 15.185183392837644 15.201787557 14.422752069 Calling exit ...