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.001323/0.001323, 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.001511/0.001511, allocations: 212.5 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9847/0.9847, 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.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.002048/0.002048, allocations: 68.61 kB / 0.6411 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1744, allocations: 89.17 MB / 0.7281 GB, free: 1.062 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00884/0.1832, allocations: 4.636 MB / 0.7327 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5305/0.7138, allocations: 132.7 MB / 0.8623 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008289/0.7146, allocations: 23.81 kB / 0.8623 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006289/0.7152, allocations: 196.9 kB / 0.8625 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.7172, allocations: 0.5902 MB / 0.8631 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.7194, allocations: 0.8667 MB / 0.8639 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001926/0.7214, allocations: 1.468 MB / 0.8654 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008152/0.7222, allocations: 443.6 kB / 0.8658 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008188/0.723, allocations: 0.5489 MB / 0.8663 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007172/0.7237, allocations: 0.4899 MB / 0.8668 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.7239, allocations: 128 kB / 0.8669 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.7251, allocations: 0.4918 MB / 0.8674 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003459/0.7254, allocations: 326.9 kB / 0.8677 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005507/0.7259, allocations: 0.4977 MB / 0.8682 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002574/0.7285, allocations: 1.792 MB / 0.87 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.7285, allocations: 0 / 0.87 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7285, allocations: 4 kB / 0.87 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.338e-05/0.7286, allocations: 4 kB / 0.87 GB, free: 4.043 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.002947/0.7315, allocations: 1.489 MB / 0.8714 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.7316, allocations: 8.031 kB / 0.8714 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/0.7317, allocations: 148.1 kB / 0.8716 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.7336, allocations: 281.4 kB / 0.8718 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.7351, allocations: 0.7424 MB / 0.8726 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-05/0.7352, allocations: 70 kB / 0.8726 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.7353, allocations: 92 kB / 0.8727 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.7373, allocations: 1.262 MB / 0.8739 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.7374, allocations: 0 / 0.8739 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.7375, allocations: 44 kB / 0.874 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.7375, allocations: 20 kB / 0.874 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.7396, allocations: 1.136 MB / 0.8751 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004583/0.7442, allocations: 2.307 MB / 0.8774 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.7467, allocations: 0.8442 MB / 0.8782 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.7473, allocations: 290.7 kB / 0.8785 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-05/0.7474, allocations: 20.64 kB / 0.8785 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/0.7485, allocations: 0.6094 MB / 0.8791 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.895e-06/0.7485, allocations: 0 / 0.8791 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.003475/0.752, allocations: 1.156 MB / 0.8802 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.7521, allocations: 200.4 kB / 0.8804 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009692/0.7531, allocations: 0.6646 MB / 0.8811 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.272e-05/0.7532, allocations: 45.69 kB / 0.8811 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004323/0.7536, allocations: 437 kB / 0.8815 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.7539, allocations: 281.6 kB / 0.8818 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.7541, allocations: 150.6 kB / 0.8819 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002484/0.7544, allocations: 386.8 kB / 0.8823 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005805/0.755, allocations: 253.9 kB / 0.8825 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007652/0.7557, allocations: 0.4913 MB / 0.883 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.757, allocations: 0.6033 MB / 0.8836 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.757, allocations: 0 / 0.8836 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002042/0.759, allocations: 0.8265 MB / 0.8844 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.759, allocations: 7.938 kB / 0.8844 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.759, allocations: 4 kB / 0.8844 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006111/0.7597, allocations: 80.88 kB / 0.8845 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006825/0.7603, allocations: 155.8 kB / 0.8846 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.7626, allocations: 1.518 MB / 0.8861 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007726/0.7634, allocations: 98.33 kB / 0.8862 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/0.7635, allocations: 35.92 kB / 0.8863 GB, free: 2.789 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.0004863/0.764, allocations: 274 kB / 0.8865 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.7641, allocations: 87.44 kB / 0.8866 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/0.7668, allocations: 1.11 MB / 0.8877 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.507e-06/0.7668, allocations: 11.66 kB / 0.8877 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.7668, allocations: 0 / 0.8877 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.7668, allocations: 7.984 kB / 0.8877 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/0.7704, allocations: 1.865 MB / 0.8895 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.7705, allocations: 0 / 0.8895 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/0.7711, allocations: 155.8 kB / 0.8897 GB, free: 15.22 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00044/0.7715, allocations: 68.73 kB / 0.8897 GB, free: 15.15 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.373e-05/0.7716, allocations: 27.97 kB / 0.8898 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/0.7737, allocations: 1.556 MB / 0.8913 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7737, allocations: 0 / 0.8913 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.776, allocations: 1.037 MB / 0.8923 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005107/0.7765, allocations: 203 kB / 0.8925 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.7767, allocations: 24 kB / 0.8925 GB, free: 12.17 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006804/0.7774, allocations: 63.92 kB / 0.8926 GB, free: 12.11 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.7775, allocations: 76.8 kB / 0.8926 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.881e-05/0.7776, allocations: 39.97 kB / 0.8927 GB, free: 12 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007014/0.7783, allocations: 487 kB / 0.8932 GB, free: 11.52 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.7783, allocations: 0 / 0.8932 GB, free: 11.52 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009313/0.7792, allocations: 343 kB / 0.8935 GB, free: 11.19 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.004603/0.7838, allocations: 2.118 MB / 0.8955 GB, free: 9.293 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002/0.7858, allocations: 0.804 MB / 0.8963 GB, free: 8.477 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.7858, allocations: 3.938 kB / 0.8963 GB, free: 8.473 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.7869, allocations: 0.4924 MB / 0.8968 GB, free: 7.969 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.7883, allocations: 306 kB / 0.8971 GB, free: 7.699 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.8, allocations: 6.531 MB / 0.9035 GB, free: 1.012 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.8005, allocations: 461.7 kB / 0.9039 GB, free: 0.5312 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009589/0.8015, allocations: 271 kB / 0.9042 GB, free: 268 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006541/0.8022, allocations: 411.3 kB / 0.9046 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of SimCode: time 1.453e-06/0.8022, allocations: 0 / 0.9046 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07166/0.8738, allocations: 24.26 MB / 0.9283 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.76, allocations: 11.92 kB / 0.9283 GB, free: 7.895 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 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.788248253054917] Failed to read output from testmodel.py, exit status != 0: 14.990707685239613 15.008717204 14.276700528 Calling exit ...