Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.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.001554/0.001554, 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.001654/0.001654, allocations: 189 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.381/1.381, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002543/0.002543, allocations: 290.9 kB / 306.6 MB, free: 8.363 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.195/1.195, allocations: 180.9 MB / 0.53 GB, free: 14.6 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation")
translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 101 kB / 0.7308 GB, free: 38.72 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1445, allocations: 94.2 MB / 0.8228 GB, free: 2.031 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.00445/0.1489, allocations: 3.104 MB / 0.8258 GB, free: 14.91 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.004979/0.1539, allocations: 3.374 MB / 0.8291 GB, free: 11.52 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.1541, allocations: 4 kB / 0.8291 GB, free: 11.52 MB / 0.5762 GB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0).
Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.1544, allocations: 67.3 kB / 0.8292 GB, free: 11.45 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0009744/0.1553, allocations: 445.7 kB / 0.8296 GB, free: 11.01 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000767/0.1561, allocations: 385 kB / 0.83 GB, free: 10.64 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0007348/0.1568, allocations: 0.7103 MB / 0.8307 GB, free: 9.926 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.157, allocations: 84.72 kB / 0.8308 GB, free: 9.84 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003556/0.1574, allocations: 291.1 kB / 0.831 GB, free: 9.555 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000492/0.1579, allocations: 326.8 kB / 0.8313 GB, free: 9.234 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.158, allocations: 60 kB / 0.8314 GB, free: 9.176 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008322/0.1588, allocations: 0.4956 MB / 0.8319 GB, free: 8.68 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.159, allocations: 167.5 kB / 0.832 GB, free: 8.516 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003044/0.1593, allocations: 294.5 kB / 0.8323 GB, free: 8.227 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0012/0.1605, allocations: 0.9693 MB / 0.8333 GB, free: 7.254 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1605, allocations: 4 kB / 0.8333 GB, free: 7.25 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 2.986e-06/0.1605, allocations: 4 kB / 0.8333 GB, free: 7.246 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 8.656e-06/0.1605, allocations: 3.938 kB / 0.8333 GB, free: 7.242 MB / 0.5762 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 111
 * Number of variables: 111
Notification: Performance of Generate backend data structure: time 0.002059/0.1626, allocations: 0.8608 MB / 0.8341 GB, free: 6.348 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1626, allocations: 8.031 kB / 0.8341 GB, free: 6.34 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003422/0.1661, allocations: 0.5546 MB / 0.8347 GB, free: 5.785 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.1674, allocations: 0.4938 MB / 0.8352 GB, free: 5.262 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.1676, allocations: 199.8 kB / 0.8353 GB, free: 5.031 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.522e-05/0.1677, allocations: 51.88 kB / 0.8354 GB, free: 4.98 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.1693, allocations: 0.6792 MB / 0.8361 GB, free: 4.281 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1693, allocations: 0 / 0.8361 GB, free: 4.281 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.904e-05/0.1694, allocations: 20 kB / 0.8361 GB, free: 4.262 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.1694, allocations: 11.94 kB / 0.8361 GB, free: 4.25 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.1714, allocations: 0.7689 MB / 0.8368 GB, free: 3.48 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/0.1749, allocations: 1.704 MB / 0.8385 GB, free: 1.73 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003251/0.1782, allocations: 0.9023 MB / 0.8394 GB, free: 0.8242 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008866/0.1791, allocations: 342.6 kB / 0.8397 GB, free: 496 kB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001198/0.1803, allocations: 208.4 kB / 0.8399 GB, free: 288 kB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/0.1814, allocations: 464.1 kB / 0.8404 GB, free: 15.82 MB / 0.5919 GB
Notification: Performance of pre-optimization done (n=66): time 2.334e-06/0.1814, allocations: 0 / 0.8404 GB, free: 15.82 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=66): time 0.002977/0.1844, allocations: 1.071 MB / 0.8414 GB, free: 14.74 MB / 0.5919 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/0.1845, allocations: 111.5 kB / 0.8415 GB, free: 14.61 MB / 0.5919 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.1849, allocations: 361.5 kB / 0.8418 GB, free: 14.25 MB / 0.5919 GB
Notification: Performance of collectPreVariables (initialization): time 7.178e-05/0.185, allocations: 41.7 kB / 0.8419 GB, free: 14.2 MB / 0.5919 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.1851, allocations: 221.5 kB / 0.8421 GB, free: 13.98 MB / 0.5919 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.1854, allocations: 234 kB / 0.8423 GB, free: 13.75 MB / 0.5919 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/0.1856, allocations: 142.6 kB / 0.8425 GB, free: 13.6 MB / 0.5919 GB
Notification: Performance of setup shared object (initialization): time 0.0001713/0.1858, allocations: 358.8 kB / 0.8428 GB, free: 13.24 MB / 0.5919 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008695/0.1867, allocations: 309.8 kB / 0.8431 GB, free: 12.94 MB / 0.5919 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009958/0.1877, allocations: 453.5 kB / 0.8435 GB, free: 12.46 MB / 0.5919 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.1895, allocations: 0.7208 MB / 0.8442 GB, free: 11.7 MB / 0.5919 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1895, allocations: 0 / 0.8442 GB, free: 11.7 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=83) (initialization): time 0.002215/0.1918, allocations: 0.8677 MB / 0.8451 GB, free: 10.82 MB / 0.5919 GB
Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1918, allocations: 4 kB / 0.8451 GB, free: 10.82 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1918, allocations: 4 kB / 0.8451 GB, free: 10.82 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1918, allocations: 4 kB / 0.8451 GB, free: 10.81 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.1928, allocations: 191.9 kB / 0.8453 GB, free: 10.62 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.1929, allocations: 11.94 kB / 0.8453 GB, free: 10.61 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007141/0.1936, allocations: 91.56 kB / 0.8454 GB, free: 10.52 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/0.1937, allocations: 31.97 kB / 0.8454 GB, free: 10.49 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 11
 * Number of states: 0 ()
 * Number of discrete variables: 5 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiationFixed.outsidePolarCircle,radiationOneAxisTracked.outsidePolarCircle)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (83):
 * 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: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0002955/0.1939, allocations: 206.3 kB / 0.8456 GB, free: 10.28 MB / 0.5919 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.1941, allocations: 51.61 kB / 0.8456 GB, free: 10.23 MB / 0.5919 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002939/0.197, allocations: 1.124 MB / 0.8467 GB, free: 9.098 MB / 0.5919 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.197, allocations: 8 kB / 0.8468 GB, free: 9.09 MB / 0.5919 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.197, allocations: 3.938 kB / 0.8468 GB, free: 9.086 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.197, allocations: 3.984 kB / 0.8468 GB, free: 9.082 MB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003409/0.2005, allocations: 1.734 MB / 0.8485 GB, free: 7.297 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2005, allocations: 0 / 0.8485 GB, free: 7.297 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.2015, allocations: 191.7 kB / 0.8486 GB, free: 7.109 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.2015, allocations: 7.938 kB / 0.8486 GB, free: 7.102 MB / 0.5919 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.851e-05/0.2016, allocations: 27.97 kB / 0.8487 GB, free: 7.074 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.2016, allocations: 8 kB / 0.8487 GB, free: 7.066 MB / 0.5919 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.2016, allocations: 0 / 0.8487 GB, free: 7.066 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/0.2038, allocations: 1.002 MB / 0.8497 GB, free: 6.051 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/0.2042, allocations: 143.3 kB / 0.8498 GB, free: 5.91 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.2043, allocations: 23.88 kB / 0.8498 GB, free: 5.887 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/0.205, allocations: 63.92 kB / 0.8499 GB, free: 5.824 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.2051, allocations: 56.89 kB / 0.8499 GB, free: 5.766 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.329e-05/0.2052, allocations: 35.91 kB / 0.85 GB, free: 5.73 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 0.0002932/0.2055, allocations: 251.2 kB / 0.8502 GB, free: 5.488 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.2055, allocations: 0 / 0.8502 GB, free: 5.488 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.0007442/0.2062, allocations: 231.5 kB / 0.8504 GB, free: 5.262 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext)
 * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (95):
 * Single equations (assignments): 94
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.001713/0.2079, allocations: 0.4982 MB / 0.8509 GB, free: 4.902 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.002067/0.21, allocations: 0.784 MB / 0.8517 GB, free: 4.121 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.21, allocations: 3.938 kB / 0.8517 GB, free: 4.117 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 0.001044/0.211, allocations: 433.6 kB / 0.8521 GB, free: 3.691 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.2115, allocations: 70 kB / 0.8522 GB, free: 3.625 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.2138, allocations: 1.161 MB / 0.8533 GB, free: 2.438 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.2142, allocations: 0.87 MB / 0.8541 GB, free: 1.539 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 0.0006663/0.2149, allocations: 172.5 kB / 0.8543 GB, free: 1.367 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.2152, allocations: 91.36 kB / 0.8544 GB, free: 1.277 MB / 0.5919 GB
Notification: Performance of SimCode: time 4.01e-07/0.2152, allocations: 0 / 0.8544 GB, free: 1.277 MB / 0.5919 GB
Notification: Performance of Templates: time 0.01806/0.2333, allocations: 10.11 MB / 0.8643 GB, free: 7.219 MB / 0.6075 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; mkfifo BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe >> ../files/BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.sim & ./BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.120246478356421]
Failed to read output from testmodel.py, exit status != 0:
0.24065285921096802 0.25535399999999997 0.09187376600000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f285da417b0>