Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 186 kB / 22.23 MB, free: 5.137 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.856/0.856, allocations: 134 MB / 440.3 MB, free: 236 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass")
translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 72.72 kB / 0.6107 GB, free: 13.69 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1967, allocations: 84.72 MB / 0.6935 GB, free: 9.043 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006907/0.2036, allocations: 4.209 MB / 0.6976 GB, free: 4.812 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.6412/0.8448, allocations: 151.1 MB / 0.8451 GB, free: 6.566 MB / 0.6075 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007327/0.8455, allocations: 22.62 kB / 0.8451 GB, free: 6.555 MB / 0.6075 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.846, allocations: 165.8 kB / 0.8453 GB, free: 6.41 MB / 0.6075 GB
Notification: Performance of NFTyping.typeBindings: time 0.00146/0.8475, allocations: 492.7 kB / 0.8458 GB, free: 6.066 MB / 0.6075 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.8493, allocations: 0.8202 MB / 0.8466 GB, free: 5.484 MB / 0.6075 GB
Notification: Performance of NFFlatten.flatten: time 0.001315/0.8506, allocations: 1.197 MB / 0.8477 GB, free: 4.395 MB / 0.6075 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007913/0.8514, allocations: 0.497 MB / 0.8482 GB, free: 3.883 MB / 0.6075 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006098/0.852, allocations: 466.4 kB / 0.8487 GB, free: 3.426 MB / 0.6075 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005587/0.8526, allocations: 485.8 kB / 0.8491 GB, free: 2.949 MB / 0.6075 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.8527, allocations: 115.9 kB / 0.8492 GB, free: 2.836 MB / 0.6075 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009173/0.8537, allocations: 489 kB / 0.8497 GB, free: 2.359 MB / 0.6075 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.8539, allocations: 291 kB / 0.85 GB, free: 2.074 MB / 0.6075 GB
Notification: Performance of NFVerifyModel.verify: time 0.0004868/0.8544, allocations: 0.5284 MB / 0.8505 GB, free: 1.543 MB / 0.6075 GB
Notification: Performance of NFConvertDAE.convert: time 0.00192/0.8564, allocations: 1.571 MB / 0.852 GB, free: 15.97 MB / 0.6231 GB
Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.8564, allocations: 0 / 0.852 GB, free: 15.97 MB / 0.6231 GB
Notification: Performance of FrontEnd: time 1.082e-06/0.8564, allocations: 7.938 kB / 0.852 GB, free: 15.96 MB / 0.6231 GB
Notification: Performance of Transformations before backend: time 1.304e-05/0.8564, allocations: 3.938 kB / 0.852 GB, free: 15.96 MB / 0.6231 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 227
 * Number of variables: 227
Notification: Performance of Generate backend data structure: time 0.002421/0.8588, allocations: 1.345 MB / 0.8533 GB, free: 14.59 MB / 0.6231 GB
Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.8588, allocations: 12.03 kB / 0.8534 GB, free: 14.57 MB / 0.6231 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.86, allocations: 208 kB / 0.8536 GB, free: 14.37 MB / 0.6231 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.8612, allocations: 0.6788 MB / 0.8542 GB, free: 13.66 MB / 0.6231 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/0.8612, allocations: 66 kB / 0.8543 GB, free: 13.6 MB / 0.6231 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.8613, allocations: 84 kB / 0.8544 GB, free: 13.52 MB / 0.6231 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.8631, allocations: 0.9488 MB / 0.8553 GB, free: 12.53 MB / 0.6231 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.8631, allocations: 0 / 0.8553 GB, free: 12.53 MB / 0.6231 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.489e-05/0.8632, allocations: 40 kB / 0.8553 GB, free: 12.49 MB / 0.6231 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.8632, allocations: 20 kB / 0.8553 GB, free: 12.47 MB / 0.6231 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.8651, allocations: 1.128 MB / 0.8564 GB, free: 11.34 MB / 0.6231 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004148/0.8693, allocations: 2.394 MB / 0.8588 GB, free: 8.887 MB / 0.6231 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.8716, allocations: 0.7656 MB / 0.8595 GB, free: 8.117 MB / 0.6231 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000543/0.8721, allocations: 258.7 kB / 0.8598 GB, free: 7.863 MB / 0.6231 GB
Notification: Performance of preOpt evalFunc (simulation): time 6.942e-05/0.8722, allocations: 24.7 kB / 0.8598 GB, free: 7.84 MB / 0.6231 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009149/0.8731, allocations: 447.1 kB / 0.8602 GB, free: 7.383 MB / 0.6231 GB
Notification: Performance of pre-optimization done (n=73): time 2.124e-06/0.8731, allocations: 0 / 0.8602 GB, free: 7.383 MB / 0.6231 GB
Notification: Performance of matching and sorting (n=73): time 0.003256/0.8764, allocations: 1.021 MB / 0.8612 GB, free: 6.355 MB / 0.6231 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.8765, allocations: 192.6 kB / 0.8614 GB, free: 6.121 MB / 0.6231 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008571/0.8774, allocations: 0.6017 MB / 0.862 GB, free: 5.516 MB / 0.6231 GB
Notification: Performance of collectPreVariables (initialization): time 8.301e-05/0.8774, allocations: 45.7 kB / 0.862 GB, free: 5.465 MB / 0.6231 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003803/0.8778, allocations: 400.9 kB / 0.8624 GB, free: 5.066 MB / 0.6231 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.8781, allocations: 249.8 kB / 0.8627 GB, free: 4.82 MB / 0.6231 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.8784, allocations: 150.6 kB / 0.8628 GB, free: 4.668 MB / 0.6231 GB
Notification: Performance of setup shared object (initialization): time 0.0001963/0.8786, allocations: 386.7 kB / 0.8632 GB, free: 4.281 MB / 0.6231 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005581/0.8791, allocations: 244.6 kB / 0.8634 GB, free: 4.043 MB / 0.6231 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006425/0.8798, allocations: 335.1 kB / 0.8637 GB, free: 3.703 MB / 0.6231 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.881, allocations: 0.5643 MB / 0.8643 GB, free: 3.129 MB / 0.6231 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.881, allocations: 0 / 0.8643 GB, free: 3.129 MB / 0.6231 GB
Notification: Performance of matching and sorting (n=86) (initialization): time 0.002066/0.8831, allocations: 0.7945 MB / 0.8651 GB, free: 2.324 MB / 0.6231 GB
Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.8831, allocations: 4 kB / 0.8651 GB, free: 2.32 MB / 0.6231 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.8831, allocations: 7.938 kB / 0.8651 GB, free: 2.312 MB / 0.6231 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006947/0.8838, allocations: 84.86 kB / 0.8651 GB, free: 2.227 MB / 0.6231 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.8845, allocations: 147.8 kB / 0.8653 GB, free: 2.082 MB / 0.6231 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.8868, allocations: 1.527 MB / 0.8668 GB, free: 440 kB / 0.6231 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007426/0.8875, allocations: 99.44 kB / 0.8669 GB, free: 344 kB / 0.6231 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/0.8876, allocations: 39.97 kB / 0.8669 GB, free: 304 kB / 0.6231 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (84):
 * Single equations (assignments): 83
 * 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.0004743/0.8881, allocations: 251.4 kB / 0.8672 GB, free: 44 kB / 0.6231 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.8883, allocations: 83.52 kB / 0.8672 GB, free: 15.96 MB / 0.6387 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.891, allocations: 0.9984 MB / 0.8682 GB, free: 14.95 MB / 0.6387 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.891, allocations: 8 kB / 0.8682 GB, free: 14.94 MB / 0.6387 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.891, allocations: 0 / 0.8682 GB, free: 14.94 MB / 0.6387 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.891, allocations: 3.984 kB / 0.8682 GB, free: 14.94 MB / 0.6387 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003703/0.8947, allocations: 1.873 MB / 0.87 GB, free: 13.01 MB / 0.6387 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.8947, allocations: 0 / 0.87 GB, free: 13.01 MB / 0.6387 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006992/0.8954, allocations: 151.8 kB / 0.8702 GB, free: 12.86 MB / 0.6387 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005108/0.8959, allocations: 68.78 kB / 0.8703 GB, free: 12.79 MB / 0.6387 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/0.896, allocations: 19.98 kB / 0.8703 GB, free: 12.77 MB / 0.6387 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.8981, allocations: 1.551 MB / 0.8718 GB, free: 11.1 MB / 0.6387 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8981, allocations: 3.938 kB / 0.8718 GB, free: 11.1 MB / 0.6387 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/0.9004, allocations: 0.9321 MB / 0.8727 GB, free: 10.14 MB / 0.6387 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/0.9008, allocations: 179.1 kB / 0.8729 GB, free: 9.969 MB / 0.6387 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.901, allocations: 19.95 kB / 0.8729 GB, free: 9.949 MB / 0.6387 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/0.9016, allocations: 55.94 kB / 0.8729 GB, free: 9.895 MB / 0.6387 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.9017, allocations: 60.88 kB / 0.873 GB, free: 9.836 MB / 0.6387 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.942e-05/0.9018, allocations: 31.98 kB / 0.873 GB, free: 9.805 MB / 0.6387 GB
Notification: Performance of sorting global known variables: time 0.0006649/0.9025, allocations: 439 kB / 0.8735 GB, free: 9.383 MB / 0.6387 GB
Notification: Performance of sort global known variables: time 7e-08/0.9025, allocations: 0 / 0.8735 GB, free: 9.383 MB / 0.6387 GB
Notification: Performance of remove unused functions: time 0.001067/0.9035, allocations: 307.1 kB / 0.8737 GB, free: 9.082 MB / 0.6387 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext)
 * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (85):
 * Single equations (assignments): 82
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.002125/0.9056, allocations: 0.606 MB / 0.8743 GB, free: 8.688 MB / 0.6387 GB
Notification: Performance of simCode: created initialization part: time 0.001851/0.9075, allocations: 0.7454 MB / 0.8751 GB, free: 7.93 MB / 0.6387 GB
Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.9075, allocations: 0 / 0.8751 GB, free: 7.93 MB / 0.6387 GB
Notification: Performance of simCode: created simulation system equations: time 0.001004/0.9085, allocations: 480.2 kB / 0.8755 GB, free: 7.453 MB / 0.6387 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.9098, allocations: 284.6 kB / 0.8758 GB, free: 7.203 MB / 0.6387 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.9141, allocations: 1.735 MB / 0.8775 GB, free: 5.438 MB / 0.6387 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007633/0.9149, allocations: 1.015 MB / 0.8785 GB, free: 4.398 MB / 0.6387 GB
Notification: Performance of simCode: alias equations: time 0.0008252/0.9157, allocations: 266.2 kB / 0.8787 GB, free: 4.133 MB / 0.6387 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.916, allocations: 91.39 kB / 0.8788 GB, free: 4.043 MB / 0.6387 GB
Notification: Performance of SimCode: time 9.61e-07/0.916, allocations: 4 kB / 0.8788 GB, free: 4.039 MB / 0.6387 GB
Notification: Performance of Templates: time 0.02694/0.9429, allocations: 14.69 MB / 0.8932 GB, free: 5.484 MB / 0.6544 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.966579687781632]
Failed to read output from testmodel.py, exit status != 0:
0.9501229505985975 0.965666967 0.106022478
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f61badf57b0>