Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001757/0.001757, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001977/0.001977, allocations: 221.6 kB / 23 MB, free: 5.07 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.9886/0.9886, allocations: 150 MB / 463.2 MB, free: 10.53 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.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.001986/0.001986, allocations: 66.36 kB / 0.6413 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1812, allocations: 89.16 MB / 0.7283 GB, free: 1.359 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007148/0.1883, allocations: 5.004 MB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6002/0.7886, allocations: 154.2 MB / 0.8838 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009664/0.7896, allocations: 23.81 kB / 0.8838 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008516/0.7904, allocations: 196.8 kB / 0.884 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002414/0.7928, allocations: 0.5754 MB / 0.8845 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.7952, allocations: 0.8937 MB / 0.8854 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002045/0.7973, allocations: 1.452 MB / 0.8868 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009172/0.7982, allocations: 423.5 kB / 0.8872 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009319/0.7991, allocations: 0.5139 MB / 0.8877 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007687/0.7999, allocations: 0.5394 MB / 0.8883 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.8001, allocations: 120 kB / 0.8884 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.8013, allocations: 0.5191 MB / 0.8889 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003315/0.8016, allocations: 307 kB / 0.8892 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006289/0.8022, allocations: 0.5868 MB / 0.8898 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.8049, allocations: 1.718 MB / 0.8914 GB, free: 324 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8049, allocations: 0 / 0.8914 GB, free: 324 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8049, allocations: 0 / 0.8914 GB, free: 324 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.005e-05/0.8049, allocations: 0 / 0.8914 GB, free: 324 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003003/0.8079, allocations: 1.456 MB / 0.8928 GB, free: 14.81 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.808, allocations: 8.031 kB / 0.8929 GB, free: 14.8 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.8081, allocations: 135.5 kB / 0.893 GB, free: 14.66 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.8099, allocations: 252.5 kB / 0.8932 GB, free: 14.42 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.8112, allocations: 0.7346 MB / 0.8939 GB, free: 13.66 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.405e-05/0.8113, allocations: 62 kB / 0.894 GB, free: 13.6 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.8114, allocations: 87.94 kB / 0.8941 GB, free: 13.52 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.8131, allocations: 0.9495 MB / 0.895 GB, free: 12.52 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.8131, allocations: 0 / 0.895 GB, free: 12.52 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.247e-05/0.8132, allocations: 32 kB / 0.895 GB, free: 12.49 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.8132, allocations: 20 kB / 0.8951 GB, free: 12.47 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.8151, allocations: 1.132 MB / 0.8962 GB, free: 11.34 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004396/0.8195, allocations: 2.732 MB / 0.8988 GB, free: 8.484 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.8211, allocations: 0.7806 MB / 0.8996 GB, free: 7.699 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/0.8216, allocations: 290.8 kB / 0.8999 GB, free: 7.41 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.728e-05/0.8217, allocations: 32.61 kB / 0.8999 GB, free: 7.379 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009211/0.8226, allocations: 0.5214 MB / 0.9004 GB, free: 6.844 MB / 0.67 GB Notification: Performance of pre-optimization done (n=84): time 2.294e-06/0.8226, allocations: 0 / 0.9004 GB, free: 6.844 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.00336/0.826, allocations: 1.18 MB / 0.9016 GB, free: 5.652 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.8261, allocations: 192.9 kB / 0.9018 GB, free: 5.422 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009683/0.8271, allocations: 0.6723 MB / 0.9024 GB, free: 4.746 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.807e-05/0.8272, allocations: 41.7 kB / 0.9025 GB, free: 4.699 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003802/0.8276, allocations: 413.1 kB / 0.9028 GB, free: 4.289 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.8278, allocations: 281.6 kB / 0.9031 GB, free: 4.012 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.8281, allocations: 154.6 kB / 0.9033 GB, free: 3.855 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.8283, allocations: 394.7 kB / 0.9036 GB, free: 3.461 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/0.8288, allocations: 253.9 kB / 0.9039 GB, free: 3.211 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006883/0.8295, allocations: 370.5 kB / 0.9042 GB, free: 2.824 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.8307, allocations: 0.6047 MB / 0.9048 GB, free: 2.211 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8307, allocations: 0 / 0.9048 GB, free: 2.211 MB / 0.67 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00206/0.8327, allocations: 0.8374 MB / 0.9056 GB, free: 1.363 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.8327, allocations: 8.094 kB / 0.9056 GB, free: 1.355 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.8328, allocations: 0 / 0.9056 GB, free: 1.355 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006674/0.8334, allocations: 80.72 kB / 0.9057 GB, free: 1.273 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/0.8341, allocations: 163.8 kB / 0.9059 GB, free: 1.113 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.8363, allocations: 1.528 MB / 0.9074 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007561/0.8371, allocations: 95.45 kB / 0.9075 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.8372, allocations: 31.97 kB / 0.9075 GB, free: 15.35 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (91): * Single equations (assignments): 90 * 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.0004877/0.8377, allocations: 279.5 kB / 0.9078 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.8378, allocations: 91.44 kB / 0.9079 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/0.8404, allocations: 1.142 MB / 0.909 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.8404, allocations: 11.94 kB / 0.909 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.8404, allocations: 0 / 0.909 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.8404, allocations: 7.984 kB / 0.909 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/0.844, allocations: 1.997 MB / 0.9109 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.844, allocations: 0 / 0.9109 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006254/0.8446, allocations: 151.8 kB / 0.9111 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004506/0.845, allocations: 76.78 kB / 0.9112 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/0.8451, allocations: 27.92 kB / 0.9112 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.8471, allocations: 1.567 MB / 0.9127 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8471, allocations: 0 / 0.9127 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.8493, allocations: 1.053 MB / 0.9137 GB, free: 8.734 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004609/0.8498, allocations: 215 kB / 0.9139 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.8499, allocations: 20.06 kB / 0.914 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006895/0.8506, allocations: 72.62 kB / 0.914 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.8508, allocations: 80.84 kB / 0.9141 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.212e-05/0.8509, allocations: 35.98 kB / 0.9141 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006504/0.8515, allocations: 487 kB / 0.9146 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.8515, allocations: 0 / 0.9146 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009129/0.8524, allocations: 331.2 kB / 0.9149 GB, free: 7.523 MB / 0.6856 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 (99): * Single equations (assignments): 92 * 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.004316/0.8568, allocations: 2.116 MB / 0.917 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0018/0.8586, allocations: 0.804 MB / 0.9178 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8586, allocations: 0 / 0.9178 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009909/0.8595, allocations: 0.5079 MB / 0.9183 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.8609, allocations: 305.3 kB / 0.9186 GB, free: 3.996 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.8722, allocations: 6.474 MB / 0.9249 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/0.8729, allocations: 1.036 MB / 0.9259 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008842/0.8738, allocations: 275 kB / 0.9262 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000627/0.8744, allocations: 415.3 kB / 0.9266 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of SimCode: time 1.493e-06/0.8744, allocations: 0 / 0.9266 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09224/0.9667, allocations: 23.21 MB / 0.9492 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.42, allocations: 16.16 kB / 0.9492 GB, free: 4.625 MB / 0.7169 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.618637872001273] Failed to read output from testmodel.py, exit status != 0: 15.655342989000928 15.671852922 14.863530814 Calling exit ...