Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.001366/0.001366, allocations: 110 kB / 18.93 MB, free: 2.945 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.001436/0.001436, allocations: 185.2 kB / 22.23 MB, free: 5.16 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.446/1.446, 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/FastBuildings master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02488/0.02488, allocations: 4.706 MB / 311 MB, free: 4.035 MB / 238.1 MB
"
[Timeout remaining time 180]
Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings 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(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined")
translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 71.86 kB / 433.2 MB, free: 18.17 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1202, allocations: 53.31 MB / 486.5 MB, free: 12.77 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.005144/0.1253, allocations: 2.905 MB / 489.4 MB, free: 9.852 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001396/0.1267, allocations: 0.6817 MB / 490.1 MB, free: 9.164 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.1269, allocations: 7.938 kB / 490.1 MB, free: 9.156 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.127, allocations: 43.58 kB / 490.2 MB, free: 9.113 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.1272, allocations: 91.14 kB / 490.3 MB, free: 9.023 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.1276, allocations: 99.88 kB / 490.4 MB, free: 8.926 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004627/0.128, allocations: 386.5 kB / 490.7 MB, free: 8.547 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/0.1284, allocations: 136.8 kB / 490.9 MB, free: 8.414 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.1286, allocations: 155.5 kB / 491 MB, free: 8.262 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.1288, allocations: 155.4 kB / 491.2 MB, free: 8.109 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.38e-05/0.1289, allocations: 40 kB / 491.2 MB, free: 8.07 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.533e-05/0.1289, allocations: 40 kB / 491.3 MB, free: 8.031 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.594e-05/0.129, allocations: 79.69 kB / 491.3 MB, free: 7.953 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.1292, allocations: 167.3 kB / 491.5 MB, free: 7.789 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005008/0.1297, allocations: 390.6 kB / 491.9 MB, free: 7.406 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1297, allocations: 0 / 491.9 MB, free: 7.406 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.062e-06/0.1297, allocations: 0 / 491.9 MB, free: 7.406 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 5.941e-06/0.1297, allocations: 0 / 491.9 MB, free: 7.406 MB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 60
 * Number of variables: 60
Notification: Performance of Generate backend data structure: time 0.001348/0.1311, allocations: 0.5731 MB / 492.5 MB, free: 6.797 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1311, allocations: 8.031 kB / 492.5 MB, free: 6.789 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.559e-05/0.1312, allocations: 36.73 kB / 492.5 MB, free: 6.754 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.1315, allocations: 211 kB / 492.7 MB, free: 6.52 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.1316, allocations: 20.88 kB / 492.7 MB, free: 6.5 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.1316, allocations: 32.31 kB / 492.8 MB, free: 6.469 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/0.1323, allocations: 311 kB / 493.1 MB, free: 6.152 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1323, allocations: 0 / 493.1 MB, free: 6.152 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.1324, allocations: 8 kB / 493.1 MB, free: 6.145 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.1324, allocations: 8 kB / 493.1 MB, free: 6.137 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.1331, allocations: 241.8 kB / 493.3 MB, free: 5.898 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.1347, allocations: 0.9668 MB / 494.3 MB, free: 4.871 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007998/0.1355, allocations: 273.4 kB / 494.5 MB, free: 4.598 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/0.1359, allocations: 128.8 kB / 494.7 MB, free: 4.469 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.1359, allocations: 0 / 494.7 MB, free: 4.469 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004379/0.1364, allocations: 176 kB / 494.8 MB, free: 4.285 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.1364, allocations: 4 kB / 494.8 MB, free: 4.281 MB / 350.1 MB
Notification: Performance of matching and sorting (n=22): time 0.001045/0.1374, allocations: 383.4 kB / 495.2 MB, free: 3.902 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.1375, allocations: 55.41 kB / 495.3 MB, free: 3.836 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.1377, allocations: 217 kB / 495.5 MB, free: 3.613 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.1377, allocations: 37.7 kB / 495.5 MB, free: 3.57 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.1379, allocations: 176.3 kB / 495.7 MB, free: 3.395 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.192e-05/0.1379, allocations: 71.38 kB / 495.8 MB, free: 3.324 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.421e-05/0.138, allocations: 49.7 kB / 495.8 MB, free: 3.27 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001622/0.1382, allocations: 334.8 kB / 496.1 MB, free: 2.934 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.1385, allocations: 107.9 kB / 496.2 MB, free: 2.828 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.1388, allocations: 147.3 kB / 496.4 MB, free: 2.672 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006278/0.1395, allocations: 285.9 kB / 496.7 MB, free: 2.371 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1395, allocations: 0 / 496.7 MB, free: 2.371 MB / 350.1 MB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008166/0.1403, allocations: 354 kB / 497 MB, free: 2.016 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.1403, allocations: 37.64 kB / 497.1 MB, free: 1.973 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1403, allocations: 4.094 kB / 497.1 MB, free: 1.969 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.1403, allocations: 7.938 kB / 497.1 MB, free: 1.961 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.1407, allocations: 63.95 kB / 497.1 MB, free: 1.898 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1407, allocations: 3.984 kB / 497.1 MB, free: 1.895 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.1409, allocations: 39.77 kB / 497.2 MB, free: 1.855 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.1409, allocations: 11.94 kB / 497.2 MB, free: 1.844 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (29):
 * Single equations (assignments): 28
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0001945/0.1411, allocations: 153.8 kB / 497.3 MB, free: 1.684 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.1412, allocations: 27.8 kB / 497.4 MB, free: 1.656 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007601/0.1419, allocations: 302.5 kB / 497.7 MB, free: 1.355 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.1419, allocations: 7.984 kB / 497.7 MB, free: 1.348 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1419, allocations: 0 / 497.7 MB, free: 1.348 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.142, allocations: 0 / 497.7 MB, free: 1.348 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.1424, allocations: 340.4 kB / 498 MB, free: 0.9727 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1424, allocations: 0 / 498 MB, free: 0.9727 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.1427, allocations: 59.95 kB / 498.1 MB, free: 0.9141 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.1427, allocations: 7.938 kB / 498.1 MB, free: 0.9062 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.1427, allocations: 3.938 kB / 498.1 MB, free: 0.9023 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1427, allocations: 0 / 498.1 MB, free: 0.9023 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1427, allocations: 0 / 498.1 MB, free: 0.9023 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.1438, allocations: 456.7 kB / 498.5 MB, free: 448 kB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.1438, allocations: 27.83 kB / 498.5 MB, free: 420 kB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.1438, allocations: 7.938 kB / 498.5 MB, free: 412 kB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.144, allocations: 19.97 kB / 498.6 MB, free: 392 kB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/0.1441, allocations: 19.97 kB / 498.6 MB, free: 372 kB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.1441, allocations: 11.98 kB / 498.6 MB, free: 360 kB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001464/0.1443, allocations: 164.5 kB / 498.8 MB, free: 192 kB / 350.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1443, allocations: 0 / 498.8 MB, free: 192 kB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002926/0.1446, allocations: 63.89 kB / 498.8 MB, free: 128 kB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T)
 * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count)
 * Number of discrete states: 1 (powElePul.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (22):
 * Single equations (assignments): 20
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.0001214/0.1447, allocations: 115.1 kB / 498.9 MB, free: 4 kB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007746/0.1455, allocations: 303.3 kB / 499.2 MB, free: 15.69 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1455, allocations: 0 / 499.2 MB, free: 15.69 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000326/0.1458, allocations: 130.8 kB / 499.4 MB, free: 15.57 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.1461, allocations: 34.45 kB / 499.4 MB, free: 15.54 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.1475, allocations: 0.6174 MB / 0.4883 GB, free: 14.9 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.1479, allocations: 0.767 MB / 0.489 GB, free: 14.11 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0001283/0.148, allocations: 37.55 kB / 0.4891 GB, free: 14.07 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.456e-05/0.1481, allocations: 23.44 kB / 0.4891 GB, free: 14.05 MB / 366.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.1481, allocations: 0 / 0.4891 GB, free: 14.05 MB / 366.1 MB
Notification: Performance of Templates: time 0.006934/0.155, allocations: 2.781 MB / 0.4918 GB, free: 11.28 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile [Timeout 660]
(rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined  -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.8536927327513695]
Failed to read output from testmodel.py, exit status != 0:
0.16208216082304716 0.39017762599999994 0.25699658999999997
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe91e9e57b0>