Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.001362/0.001362, 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.00144/0.00144, allocations: 211.7 kB / 22.99 MB, free: 4.609 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9741/0.9741, allocations: 149.9 MB / 463.1 MB, free: 10.31 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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.002052/0.002052, allocations: 73.59 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.189, allocations: 89.18 MB / 0.7282 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007407/0.1964, allocations: 4.64 MB / 0.7327 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.589/0.7854, allocations: 132.7 MB / 0.8623 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.7865, allocations: 27.81 kB / 0.8623 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008819/0.7874, allocations: 204.1 kB / 0.8625 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.7898, allocations: 0.5795 MB / 0.8631 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.7923, allocations: 0.8693 MB / 0.8639 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002078/0.7944, allocations: 1.472 MB / 0.8654 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009487/0.7953, allocations: 440.6 kB / 0.8658 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009184/0.7963, allocations: 0.5334 MB / 0.8663 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008588/0.7971, allocations: 0.5015 MB / 0.8668 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002813/0.7974, allocations: 128 kB / 0.8669 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.7986, allocations: 498.5 kB / 0.8674 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004005/0.799, allocations: 330.9 kB / 0.8677 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006851/0.7996, allocations: 0.4977 MB / 0.8682 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.8023, allocations: 1.796 MB / 0.8699 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.8023, allocations: 4 kB / 0.87 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8023, allocations: 0 / 0.87 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.315e-05/0.8023, allocations: 3.938 kB / 0.87 GB, free: 4.121 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003329/0.8056, allocations: 1.489 MB / 0.8714 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.8057, allocations: 8.031 kB / 0.8714 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002519/0.806, allocations: 144.1 kB / 0.8716 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.8079, allocations: 275.9 kB / 0.8718 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.8094, allocations: 0.7502 MB / 0.8726 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.38e-05/0.8095, allocations: 70 kB / 0.8726 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.8096, allocations: 92 kB / 0.8727 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.8117, allocations: 1.262 MB / 0.8739 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.8117, allocations: 0.9375 kB / 0.8739 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.199e-05/0.8118, allocations: 40 kB / 0.874 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.8118, allocations: 20 kB / 0.874 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.8139, allocations: 1.132 MB / 0.8751 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004873/0.8188, allocations: 2.311 MB / 0.8774 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.8212, allocations: 0.8586 MB / 0.8782 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006235/0.8219, allocations: 290.2 kB / 0.8785 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.212e-05/0.8219, allocations: 24.64 kB / 0.8785 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.823, allocations: 0.6004 MB / 0.8791 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.916e-06/0.823, allocations: 0 / 0.8791 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.003508/0.8265, allocations: 1.16 MB / 0.8802 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.8266, allocations: 196.5 kB / 0.8804 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.8277, allocations: 0.6646 MB / 0.8811 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.8278, allocations: 41.7 kB / 0.8811 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004849/0.8283, allocations: 445 kB / 0.8815 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002949/0.8286, allocations: 276.5 kB / 0.8818 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.8289, allocations: 146.6 kB / 0.8819 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002322/0.8291, allocations: 394.8 kB / 0.8823 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005927/0.8297, allocations: 253.9 kB / 0.8825 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007979/0.8305, allocations: 0.4912 MB / 0.883 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.8317, allocations: 0.5994 MB / 0.8836 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.8318, allocations: 3.984 kB / 0.8836 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002166/0.8339, allocations: 0.818 MB / 0.8844 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.8339, allocations: 19.86 kB / 0.8844 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.834, allocations: 0 / 0.8844 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/0.8346, allocations: 88.8 kB / 0.8845 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.8352, allocations: 159.8 kB / 0.8847 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.8377, allocations: 1.513 MB / 0.8861 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007726/0.8385, allocations: 97.38 kB / 0.8862 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.001e-05/0.8385, allocations: 35.91 kB / 0.8863 GB, free: 2.863 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0005395/0.8391, allocations: 269.9 kB / 0.8865 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.8393, allocations: 91.42 kB / 0.8866 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.842, allocations: 1.106 MB / 0.8877 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.842, allocations: 8 kB / 0.8877 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.842, allocations: 0 / 0.8877 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.842, allocations: 7.984 kB / 0.8877 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003816/0.8458, allocations: 1.864 MB / 0.8895 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.8458, allocations: 0 / 0.8895 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/0.8464, allocations: 156.4 kB / 0.8897 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004445/0.8469, allocations: 80.77 kB / 0.8898 GB, free: 15.22 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7e-05/0.8469, allocations: 27.97 kB / 0.8898 GB, free: 15.19 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/0.849, allocations: 1.543 MB / 0.8913 GB, free: 13.53 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.849, allocations: 0 / 0.8913 GB, free: 13.53 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.8513, allocations: 1.03 MB / 0.8923 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005383/0.8518, allocations: 210.6 kB / 0.8925 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.852, allocations: 24 kB / 0.8925 GB, free: 12.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007098/0.8527, allocations: 63.92 kB / 0.8926 GB, free: 12.19 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.8528, allocations: 76.86 kB / 0.8927 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-05/0.8529, allocations: 31.98 kB / 0.8927 GB, free: 12.09 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006887/0.8536, allocations: 487 kB / 0.8931 GB, free: 11.61 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.8536, allocations: 0 / 0.8931 GB, free: 11.61 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009438/0.8545, allocations: 354.9 kB / 0.8935 GB, free: 11.27 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004552/0.8591, allocations: 2.111 MB / 0.8955 GB, free: 9.371 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001854/0.8609, allocations: 0.8001 MB / 0.8963 GB, free: 8.559 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8609, allocations: 0 / 0.8963 GB, free: 8.559 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.862, allocations: 0.4963 MB / 0.8968 GB, free: 8.051 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.8633, allocations: 308.1 kB / 0.8971 GB, free: 7.773 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.8753, allocations: 6.534 MB / 0.9035 GB, free: 1.086 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.8758, allocations: 465.7 kB / 0.9039 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009153/0.8768, allocations: 271.1 kB / 0.9042 GB, free: 340 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006621/0.8774, allocations: 407.3 kB / 0.9046 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of SimCode: time 1.413e-06/0.8774, allocations: 0 / 0.9046 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06936/0.9468, allocations: 24.25 MB / 0.9283 GB, free: 7.988 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.72, allocations: 14.41 kB / 0.9283 GB, free: 7.977 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.816605635918677] Failed to read output from testmodel.py, exit status != 0: 14.96011077798903 14.976977965 14.171314073 Calling exit ...