Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001316/0.001316, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001487/0.001487, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9498/0.9498, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00243/0.00243, allocations: 246.5 kB / 261.3 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6866/0.6866, allocations: 138.4 MB / 456.3 MB, free: 1.402 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.5563 GB, free: 272 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.529e-05, allocations: 6.25 kB / 0.5563 GB, free: 264 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006515/0.006531, allocations: 4.903 MB / 0.5611 GB, free: 11.33 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3094/0.316, allocations: 143.9 MB / 0.7016 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007794/0.3167, allocations: 23.81 kB / 0.7016 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.3172, allocations: 210.1 kB / 0.7018 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.3184, allocations: 0.6037 MB / 0.7024 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.3197, allocations: 0.8718 MB / 0.7033 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0008674/0.3206, allocations: 1.498 MB / 0.7048 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000527/0.3211, allocations: 444.6 kB / 0.7052 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006602/0.3217, allocations: 0.8224 MB / 0.706 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.3221, allocations: 398.8 kB / 0.7064 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.993e-05/0.3221, allocations: 120 kB / 0.7065 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000522/0.3227, allocations: 0.4895 MB / 0.707 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.3228, allocations: 307 kB / 0.7072 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.3231, allocations: 406.9 kB / 0.7076 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009481/0.324, allocations: 1.288 MB / 0.7089 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.324, allocations: 0 / 0.7089 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.11e-07/0.324, allocations: 0 / 0.7089 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.324, allocations: 3.938 kB / 0.7089 GB, free: 15.86 MB / 0.5261 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.001503/0.3255, allocations: 1.564 MB / 0.7104 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.3256, allocations: 8.75 kB / 0.7104 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009675/0.3265, allocations: 391.3 kB / 0.7108 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000693/0.3272, allocations: 0.7189 MB / 0.7115 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.3273, allocations: 66.56 kB / 0.7116 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.9e-05/0.3274, allocations: 103.9 kB / 0.7117 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007698/0.3281, allocations: 0.9283 MB / 0.7126 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.3281, allocations: 0 / 0.7126 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.645e-05/0.3282, allocations: 40 kB / 0.7126 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.3282, allocations: 24 kB / 0.7126 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006458/0.3289, allocations: 0.704 MB / 0.7133 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.331, allocations: 2.096 MB / 0.7154 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008217/0.3318, allocations: 494.9 kB / 0.7158 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.332, allocations: 152 kB / 0.716 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.332, allocations: 32.62 kB / 0.716 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003653/0.3324, allocations: 466.8 kB / 0.7165 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=82): time 1.964e-06/0.3324, allocations: 0 / 0.7165 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.001246/0.3336, allocations: 0.735 MB / 0.7172 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.3337, allocations: 188.6 kB / 0.7174 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.334, allocations: 0.55 MB / 0.7179 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.3341, allocations: 45.7 kB / 0.7179 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.3343, allocations: 487.6 kB / 0.7184 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.3345, allocations: 285.6 kB / 0.7187 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.3346, allocations: 180.1 kB / 0.7189 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3348, allocations: 0.5585 MB / 0.7194 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.3349, allocations: 101.9 kB / 0.7195 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.3351, allocations: 341.7 kB / 0.7198 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.3355, allocations: 329.1 kB / 0.7201 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3355, allocations: 4 kB / 0.7201 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00102/0.3365, allocations: 0.5708 MB / 0.7207 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3365, allocations: 4 kB / 0.7207 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.3365, allocations: 8.094 kB / 0.7207 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004214/0.337, allocations: 123.5 kB / 0.7208 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.3373, allocations: 171.7 kB / 0.721 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.3384, allocations: 1.878 MB / 0.7228 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.3387, allocations: 71.59 kB / 0.7229 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.3388, allocations: 27.92 kB / 0.7229 GB, free: 0.9453 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,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 (96): * Single equations (assignments): 95 * 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.0001941/0.3389, allocations: 214.4 kB / 0.7231 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.3391, allocations: 103.5 kB / 0.7232 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009964/0.3401, allocations: 0.7824 MB / 0.724 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3401, allocations: 12 kB / 0.724 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.3401, allocations: 0 / 0.724 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.3401, allocations: 7.922 kB / 0.724 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.3414, allocations: 1.293 MB / 0.7253 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3414, allocations: 0 / 0.7253 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.3417, allocations: 143.8 kB / 0.7254 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003237/0.342, allocations: 127.5 kB / 0.7255 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.3421, allocations: 23.98 kB / 0.7255 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.3433, allocations: 1.886 MB / 0.7274 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3433, allocations: 7.516 kB / 0.7274 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000813/0.3441, allocations: 0.7984 MB / 0.7282 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.3443, allocations: 187.9 kB / 0.7284 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/0.3444, allocations: 23.94 kB / 0.7284 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.3446, allocations: 39.97 kB / 0.7284 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.3447, allocations: 68.86 kB / 0.7285 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.3447, allocations: 31.98 kB / 0.7285 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002048/0.3449, allocations: 366.9 kB / 0.7289 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.3449, allocations: 3.938 kB / 0.7289 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005216/0.3455, allocations: 351 kB / 0.7292 GB, free: 10.31 MB / 0.5417 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.00106/0.3465, allocations: 0.6197 MB / 0.7298 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006385/0.3472, allocations: 0.5972 MB / 0.7304 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3472, allocations: 0 / 0.7304 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003712/0.3475, allocations: 449 kB / 0.7308 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000658/0.3482, allocations: 326.8 kB / 0.7311 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.35, allocations: 1.568 MB / 0.7327 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.3501, allocations: 207.4 kB / 0.7329 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003736/0.3505, allocations: 190.7 kB / 0.733 GB, free: 6.555 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005169/0.351, allocations: 357.9 kB / 0.7334 GB, free: 6.203 MB / 0.5417 GB Notification: Performance of SimCode: time 7.91e-07/0.351, allocations: 0 / 0.7334 GB, free: 6.203 MB / 0.5417 GB Notification: Performance of Templates: time 0.01838/0.3694, allocations: 16.91 MB / 0.7499 GB, free: 5.617 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.324032307136804]