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.001426/0.001426, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001462/0.001462, allocations: 214.3 kB / 22.99 MB, free: 4.977 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.463/1.463, 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.9589/0.9589, allocations: 149.9 MB / 463.1 MB, free: 10.37 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.002652/0.002652, allocations: 70.5 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1774, allocations: 89.18 MB / 0.7282 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006668/0.184, allocations: 4.482 MB / 0.7325 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5339/0.7179, allocations: 132.7 MB / 0.8621 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.7191, allocations: 21.66 kB / 0.8622 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007879/0.7199, allocations: 205.1 kB / 0.8623 GB, free: 12 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.722, allocations: 0.5769 MB / 0.8629 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.7245, allocations: 0.8803 MB / 0.8638 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001871/0.7264, allocations: 1.456 MB / 0.8652 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007966/0.7272, allocations: 391.8 kB / 0.8656 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000816/0.728, allocations: 0.5333 MB / 0.8661 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006497/0.7287, allocations: 489.7 kB / 0.8666 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.7288, allocations: 120 kB / 0.8667 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009979/0.7298, allocations: 495.6 kB / 0.8671 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.7302, allocations: 315 kB / 0.8674 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004883/0.7306, allocations: 485.7 kB / 0.8679 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.7328, allocations: 1.727 MB / 0.8696 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.7328, allocations: 0 / 0.8696 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7328, allocations: 7.875 kB / 0.8696 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.7328, allocations: 0 / 0.8696 GB, free: 4.578 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.002789/0.7356, allocations: 1.449 MB / 0.871 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.7357, allocations: 15.78 kB / 0.871 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001804/0.7358, allocations: 139.5 kB / 0.8712 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.7375, allocations: 255.9 kB / 0.8714 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.7389, allocations: 0.7308 MB / 0.8721 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/0.739, allocations: 66 kB / 0.8722 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.7391, allocations: 88 kB / 0.8723 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.741, allocations: 1.197 MB / 0.8734 GB, free: 492 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.741, allocations: 7.984 kB / 0.8734 GB, free: 484 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.955e-05/0.7411, allocations: 36 kB / 0.8735 GB, free: 448 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.7411, allocations: 20 kB / 0.8735 GB, free: 428 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.7431, allocations: 1.081 MB / 0.8746 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004334/0.7474, allocations: 2.264 MB / 0.8768 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.7491, allocations: 0.7845 MB / 0.8775 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005932/0.7497, allocations: 294.7 kB / 0.8778 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.758e-05/0.7498, allocations: 24.64 kB / 0.8778 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.7508, allocations: 0.6134 MB / 0.8784 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 2.635e-06/0.7508, allocations: 0 / 0.8784 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.003653/0.7545, allocations: 1.192 MB / 0.8796 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.7546, allocations: 188.9 kB / 0.8798 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.7558, allocations: 0.6684 MB / 0.8804 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.7559, allocations: 41.7 kB / 0.8805 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000464/0.7564, allocations: 421 kB / 0.8809 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.7567, allocations: 285.7 kB / 0.8811 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.7569, allocations: 158.6 kB / 0.8813 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002288/0.7572, allocations: 394.7 kB / 0.8817 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005524/0.7577, allocations: 253.9 kB / 0.8819 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007418/0.7585, allocations: 0.496 MB / 0.8824 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.7597, allocations: 0.6133 MB / 0.883 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.7597, allocations: 3.875 kB / 0.883 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002164/0.7619, allocations: 0.8491 MB / 0.8838 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.7619, allocations: 4 kB / 0.8838 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.7619, allocations: 3.938 kB / 0.8838 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006244/0.7625, allocations: 88.89 kB / 0.8839 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/0.7632, allocations: 155.8 kB / 0.8841 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/0.7656, allocations: 1.52 MB / 0.8856 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008565/0.7665, allocations: 91.58 kB / 0.8856 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.573e-05/0.7666, allocations: 39.97 kB / 0.8857 GB, free: 3.531 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.0005495/0.7671, allocations: 265.6 kB / 0.8859 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.7673, allocations: 95.58 kB / 0.886 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.77, allocations: 1.136 MB / 0.8871 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.77, allocations: 19.92 kB / 0.8872 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.7701, allocations: 0 / 0.8872 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.7701, allocations: 9.094 kB / 0.8872 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003772/0.7738, allocations: 1.876 MB / 0.889 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.7738, allocations: 0 / 0.889 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006718/0.7745, allocations: 167.7 kB / 0.8892 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/0.775, allocations: 72.78 kB / 0.8892 GB, free: 15.83 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-05/0.7751, allocations: 23.98 kB / 0.8892 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.7772, allocations: 1.552 MB / 0.8908 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7772, allocations: 4.062 kB / 0.8908 GB, free: 14.13 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.7795, allocations: 1.057 MB / 0.8918 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005436/0.78, allocations: 211 kB / 0.892 GB, free: 12.85 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.7802, allocations: 27.94 kB / 0.892 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007044/0.7809, allocations: 67.92 kB / 0.8921 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.781, allocations: 76.84 kB / 0.8922 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.347e-05/0.7811, allocations: 39.97 kB / 0.8922 GB, free: 12.64 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007451/0.7819, allocations: 483 kB / 0.8927 GB, free: 12.17 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.7819, allocations: 0 / 0.8927 GB, free: 12.17 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001039/0.7829, allocations: 339.1 kB / 0.893 GB, free: 11.84 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.004969/0.7879, allocations: 2.154 MB / 0.8951 GB, free: 9.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.7899, allocations: 0.8116 MB / 0.8959 GB, free: 9.086 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7899, allocations: 256 / 0.8959 GB, free: 9.086 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009926/0.7909, allocations: 0.508 MB / 0.8964 GB, free: 8.566 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.7922, allocations: 315.7 kB / 0.8967 GB, free: 8.285 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.8041, allocations: 6.505 MB / 0.903 GB, free: 1.617 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.8047, allocations: 460.7 kB / 0.9035 GB, free: 1.141 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009249/0.8056, allocations: 271.1 kB / 0.9037 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006449/0.8062, allocations: 407.3 kB / 0.9041 GB, free: 484 kB / 0.67 GB Notification: Performance of SimCode: time 7.82e-07/0.8062, allocations: 0 / 0.9041 GB, free: 484 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06683/0.8731, allocations: 24.22 MB / 0.9278 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.82, allocations: 7.875 kB / 0.9278 GB, free: 8.547 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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: 18.772240156773478] Failed to read output from testmodel.py, exit status != 0: 15.060013705864549 15.074714845 14.338857997 Calling exit ...