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.001117/0.001117, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0009537/0.0009537, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8893/0.8893, allocations: 177.2 MB / 203.5 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.5821/0.5821, allocations: 114 MB / 373.9 MB, free: 8.684 MB / 346.7 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: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 3.984 kB / 0.5542 GB, free: 1.719 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.307e-06/1.163e-05, allocations: 6.219 kB / 0.5542 GB, free: 1.711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004198/0.004209, allocations: 4.639 MB / 0.5587 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3506/0.3548, allocations: 132.8 MB / 0.6884 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009053/0.3557, allocations: 24.25 kB / 0.6884 GB, free: 6.977 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000495/0.3562, allocations: 210.5 kB / 0.6886 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.3575, allocations: 0.596 MB / 0.6892 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.3588, allocations: 0.8892 MB / 0.69 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001073/0.3598, allocations: 1.527 MB / 0.6915 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005685/0.3604, allocations: 454.9 kB / 0.692 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007198/0.3611, allocations: 0.8008 MB / 0.6928 GB, free: 6.359 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004225/0.3616, allocations: 441.8 kB / 0.6932 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.3617, allocations: 133.6 kB / 0.6933 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007108/0.3624, allocations: 0.5 MB / 0.6938 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.3626, allocations: 342.2 kB / 0.6941 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.3629, allocations: 433.4 kB / 0.6945 GB, free: 6.195 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.3644, allocations: 1.916 MB / 0.6964 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3644, allocations: 0 / 0.6964 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3644, allocations: 1.469 kB / 0.6964 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.3644, allocations: 4 kB / 0.6964 GB, free: 5.969 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001903/0.3663, allocations: 1.495 MB / 0.6979 GB, free: 5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3664, allocations: 9.969 kB / 0.6979 GB, free: 5 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.3665, allocations: 155.6 kB / 0.698 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.3675, allocations: 281.6 kB / 0.6983 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008985/0.3684, allocations: 0.7474 MB / 0.699 GB, free: 4.363 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/0.3684, allocations: 79.88 kB / 0.6991 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-05/0.3685, allocations: 100.4 kB / 0.6992 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.3696, allocations: 1.278 MB / 0.7004 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.3697, allocations: 1.812 kB / 0.7004 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.764e-05/0.3697, allocations: 42.81 kB / 0.7005 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.3697, allocations: 28.36 kB / 0.7005 GB, free: 3.492 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.3709, allocations: 1.138 MB / 0.7016 GB, free: 3.215 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.3735, allocations: 2.432 MB / 0.704 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.3747, allocations: 0.8985 MB / 0.7049 GB, free: 1.566 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.3751, allocations: 314.5 kB / 0.7052 GB, free: 1.449 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.178e-05/0.3751, allocations: 25.81 kB / 0.7052 GB, free: 1.445 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005403/0.3757, allocations: 0.6361 MB / 0.7058 GB, free: 1.094 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=90): time 1.924e-06/0.3757, allocations: 0 / 0.7058 GB, free: 1.094 MB / 0.5573 GB Notification: Performance of matching and sorting (n=90): time 0.001775/0.3774, allocations: 1.206 MB / 0.707 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.3775, allocations: 202.4 kB / 0.7072 GB, free: 452 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006557/0.3782, allocations: 0.6703 MB / 0.7079 GB, free: 128 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/0.3782, allocations: 52.64 kB / 0.7079 GB, free: 76 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.3785, allocations: 438.3 kB / 0.7083 GB, free: 15.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.3787, allocations: 298.9 kB / 0.7086 GB, free: 15.44 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.379, allocations: 164.1 kB / 0.7088 GB, free: 15.34 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3791, allocations: 397.1 kB / 0.7091 GB, free: 14.96 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/0.3796, allocations: 279.5 kB / 0.7094 GB, free: 14.83 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.38, allocations: 0.5181 MB / 0.7099 GB, free: 14.43 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007513/0.3808, allocations: 0.6432 MB / 0.7105 GB, free: 14.09 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3808, allocations: 0 / 0.7105 GB, free: 14.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001213/0.382, allocations: 0.9056 MB / 0.7114 GB, free: 13.62 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.382, allocations: 5.844 kB / 0.7114 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.382, allocations: 0.875 kB / 0.7114 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003146/0.3824, allocations: 85.61 kB / 0.7115 GB, free: 13.57 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.3827, allocations: 166.4 kB / 0.7117 GB, free: 13.53 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.384, allocations: 1.525 MB / 0.7132 GB, free: 12.06 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005885/0.3846, allocations: 99.69 kB / 0.7133 GB, free: 12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.3846, allocations: 36.05 kB / 0.7133 GB, free: 11.98 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (101): * Single equations (assignments): 100 * 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.000266/0.3849, allocations: 278.5 kB / 0.7136 GB, free: 11.77 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.385, allocations: 98.3 kB / 0.7136 GB, free: 11.71 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.3864, allocations: 1.116 MB / 0.7147 GB, free: 11.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.3864, allocations: 11.95 kB / 0.7148 GB, free: 11.09 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3864, allocations: 6.984 kB / 0.7148 GB, free: 11.09 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.3864, allocations: 3.984 kB / 0.7148 GB, free: 11.09 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.3886, allocations: 2.099 MB / 0.7168 GB, free: 9.762 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3886, allocations: 0 / 0.7168 GB, free: 9.762 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.389, allocations: 156.9 kB / 0.717 GB, free: 9.723 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001988/0.3892, allocations: 74.38 kB / 0.717 GB, free: 9.684 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/0.3892, allocations: 26.05 kB / 0.7171 GB, free: 9.668 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.3902, allocations: 1.538 MB / 0.7186 GB, free: 8.203 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3902, allocations: 0 / 0.7186 GB, free: 8.203 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.3914, allocations: 1.065 MB / 0.7196 GB, free: 7.609 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.3916, allocations: 209.9 kB / 0.7198 GB, free: 7.453 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.528e-05/0.3917, allocations: 23.17 kB / 0.7198 GB, free: 7.438 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.3921, allocations: 74.58 kB / 0.7199 GB, free: 7.398 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.751e-05/0.3922, allocations: 77.92 kB / 0.72 GB, free: 7.352 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.3922, allocations: 40.31 kB / 0.72 GB, free: 7.336 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003651/0.3926, allocations: 482.8 kB / 0.7205 GB, free: 7.062 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3926, allocations: 0 / 0.7205 GB, free: 7.062 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005756/0.3931, allocations: 349.4 kB / 0.7208 GB, free: 6.957 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002249/0.3954, allocations: 2.176 MB / 0.7229 GB, free: 5.68 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.3964, allocations: 0.8403 MB / 0.7237 GB, free: 5.238 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3964, allocations: 2.688 kB / 0.7237 GB, free: 5.238 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005243/0.3969, allocations: 0.5143 MB / 0.7242 GB, free: 4.941 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007168/0.3976, allocations: 305.1 kB / 0.7245 GB, free: 4.793 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/0.4046, allocations: 6.785 MB / 0.7312 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.4048, allocations: 471.7 kB / 0.7316 GB, free: 388 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004831/0.4053, allocations: 280.3 kB / 0.7319 GB, free: 244 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/0.4058, allocations: 438.9 kB / 0.7323 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.4058, allocations: 0 / 0.7323 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03489/0.4407, allocations: 24.97 MB / 0.7567 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.749/9.189, allocations: 12 kB / 0.7567 GB, free: 11.6 MB / 0.6042 GB " [Timeout remaining time 651] (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: 11.71873646788299] Failed to read output from testmodel.py, exit status != 0: 9.346707032993436 9.358127876 8.991979608 Calling exit ...