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.001349/0.001349, allocations: 100.4 kB / 20.48 MB, free: 1.363 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.001467/0.001467, allocations: 213.1 kB / 23.78 MB, free: 4.523 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.431/1.431, allocations: 230.6 MB / 257.5 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.9787/0.9787, allocations: 150 MB / 464 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="cs",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.002032/0.002032, allocations: 66.5 kB / 0.6419 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1924, allocations: 89.18 MB / 0.729 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00696/0.1993, allocations: 4.634 MB / 0.7336 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5213/0.7206, allocations: 132.6 MB / 0.8631 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009452/0.7216, allocations: 25.59 kB / 0.8631 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006715/0.7222, allocations: 208.2 kB / 0.8633 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.7242, allocations: 0.5854 MB / 0.8639 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.7263, allocations: 0.8773 MB / 0.8647 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002169/0.7285, allocations: 1.456 MB / 0.8661 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008935/0.7294, allocations: 472.5 kB / 0.8666 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009399/0.7303, allocations: 0.5412 MB / 0.8671 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007772/0.7311, allocations: 0.5542 MB / 0.8677 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.7313, allocations: 132 kB / 0.8678 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.7324, allocations: 0.5016 MB / 0.8683 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003265/0.7327, allocations: 323 kB / 0.8686 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000532/0.7332, allocations: 0.5016 MB / 0.8691 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002439/0.7357, allocations: 1.8 MB / 0.8708 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7357, allocations: 0 / 0.8708 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7357, allocations: 0 / 0.8708 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.518e-05/0.7357, allocations: 0 / 0.8708 GB, free: 3.852 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.002982/0.7387, allocations: 1.489 MB / 0.8723 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.7387, allocations: 19.78 kB / 0.8723 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.304e-05/0.7388, allocations: 22.19 kB / 0.8723 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/0.739, allocations: 152.1 kB / 0.8725 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/0.7409, allocations: 275.9 kB / 0.8727 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.7422, allocations: 0.7422 MB / 0.8735 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/0.7423, allocations: 70.56 kB / 0.8735 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.7425, allocations: 92 kB / 0.8736 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.7445, allocations: 1.262 MB / 0.8749 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.7446, allocations: 4 kB / 0.8749 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-05/0.7447, allocations: 40 kB / 0.8749 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.7447, allocations: 24 kB / 0.8749 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.7468, allocations: 1.171 MB / 0.8761 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0044/0.7512, allocations: 2.31 MB / 0.8783 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.7536, allocations: 0.862 MB / 0.8792 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006031/0.7542, allocations: 283.5 kB / 0.8794 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.191e-05/0.7543, allocations: 24.64 kB / 0.8795 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.7554, allocations: 0.5957 MB / 0.88 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/0.7554, allocations: 4 kB / 0.88 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.003506/0.7589, allocations: 1.16 MB / 0.8812 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.759, allocations: 200.5 kB / 0.8814 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009511/0.76, allocations: 0.6607 MB / 0.882 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.619e-05/0.76, allocations: 45.7 kB / 0.882 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004009/0.7604, allocations: 440.9 kB / 0.8825 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/0.7607, allocations: 273.7 kB / 0.8827 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.761, allocations: 154.6 kB / 0.8829 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002123/0.7612, allocations: 386.8 kB / 0.8832 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/0.7617, allocations: 261.8 kB / 0.8835 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008276/0.7626, allocations: 499 kB / 0.884 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.7638, allocations: 0.5994 MB / 0.8846 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.7638, allocations: 4 kB / 0.8846 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002173/0.766, allocations: 0.8296 MB / 0.8854 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.766, allocations: 4 kB / 0.8854 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.766, allocations: 0 / 0.8854 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/0.7666, allocations: 84.56 kB / 0.8855 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/0.7674, allocations: 159.8 kB / 0.8856 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.7697, allocations: 1.515 MB / 0.8871 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/0.7705, allocations: 100.3 kB / 0.8872 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.011e-05/0.7706, allocations: 27.98 kB / 0.8872 GB, free: 2.52 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.0005815/0.7712, allocations: 271.6 kB / 0.8875 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.7714, allocations: 87.44 kB / 0.8876 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002656/0.774, allocations: 1.11 MB / 0.8886 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.774, allocations: 8.062 kB / 0.8886 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.774, allocations: 4 kB / 0.8886 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.7741, allocations: 3.984 kB / 0.8887 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.7777, allocations: 1.88 MB / 0.8905 GB, free: 15.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7777, allocations: 0 / 0.8905 GB, free: 15.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006919/0.7784, allocations: 155.7 kB / 0.8906 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004589/0.7788, allocations: 68.8 kB / 0.8907 GB, free: 14.87 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.607e-05/0.7789, allocations: 27.97 kB / 0.8907 GB, free: 14.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.781, allocations: 1.547 MB / 0.8922 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.781, allocations: 0 / 0.8922 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.7833, allocations: 1.034 MB / 0.8932 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004998/0.7838, allocations: 203 kB / 0.8934 GB, free: 11.93 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.7839, allocations: 24 kB / 0.8935 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007348/0.7847, allocations: 63.92 kB / 0.8935 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.7848, allocations: 72.86 kB / 0.8936 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.813e-05/0.7849, allocations: 40.03 kB / 0.8936 GB, free: 11.73 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007082/0.7856, allocations: 491 kB / 0.8941 GB, free: 11.26 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7856, allocations: 0 / 0.8941 GB, free: 11.26 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001058/0.7867, allocations: 343 kB / 0.8944 GB, free: 10.92 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.00459/0.7913, allocations: 2.113 MB / 0.8965 GB, free: 9.031 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001897/0.7932, allocations: 0.804 MB / 0.8973 GB, free: 8.215 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7932, allocations: 0 / 0.8973 GB, free: 8.215 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.7942, allocations: 0.4924 MB / 0.8978 GB, free: 7.711 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.7956, allocations: 308.8 kB / 0.8981 GB, free: 7.434 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.8077, allocations: 6.535 MB / 0.9044 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/0.8083, allocations: 466.5 kB / 0.9049 GB, free: 264 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001106/0.8094, allocations: 268.6 kB / 0.9051 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006803/0.8101, allocations: 411.2 kB / 0.9055 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of SimCode: time 1.122e-06/0.8101, allocations: 0 / 0.9055 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06269/0.8728, allocations: 24.04 MB / 0.929 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/15.83, allocations: 13.81 kB / 0.929 GB, free: 7.883 MB / 0.7012 GB " [Timeout remaining time 644] (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: 19.894646428059787] Failed to read output from testmodel.py, exit status != 0: 16.114632333046757 16.129765541 15.390966875 Calling exit ...