Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.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.001421/0.001421, allocations: 110 kB / 18.94 MB, free: 2.785 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.001668/0.001668, allocations: 189.5 kB / 22.23 MB, free: 5.238 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.52/1.52, allocations: 225.6 MB / 251 MB, free: 13 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.02494/0.02494, allocations: 4.708 MB / 311 MB, free: 4.156 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_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled")
translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 71.89 kB / 433.2 MB, free: 18.2 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1058, allocations: 53.31 MB / 486.5 MB, free: 12.81 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.005474/0.1112, allocations: 3.226 MB / 489.8 MB, free: 9.559 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001671/0.1129, allocations: 0.7834 MB / 490.6 MB, free: 8.77 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.1132, allocations: 7.938 kB / 490.6 MB, free: 8.762 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.1134, allocations: 59.44 kB / 490.6 MB, free: 8.703 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.1138, allocations: 122.9 kB / 490.7 MB, free: 8.582 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.1142, allocations: 135.8 kB / 490.9 MB, free: 8.449 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005933/0.1148, allocations: 0.5063 MB / 491.4 MB, free: 7.941 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.1152, allocations: 187 kB / 491.6 MB, free: 7.758 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.1154, allocations: 207.3 kB / 491.8 MB, free: 7.555 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.1157, allocations: 195.2 kB / 492 MB, free: 7.363 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.075e-05/0.1158, allocations: 56 kB / 492 MB, free: 7.309 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.018e-05/0.1159, allocations: 59.94 kB / 492.1 MB, free: 7.25 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.116, allocations: 107.7 kB / 492.2 MB, free: 7.145 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000241/0.1162, allocations: 227 kB / 492.4 MB, free: 6.922 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006374/0.1169, allocations: 0.5489 MB / 492.9 MB, free: 6.371 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1169, allocations: 0 / 492.9 MB, free: 6.371 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.634e-06/0.1169, allocations: 0 / 492.9 MB, free: 6.371 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 8.185e-06/0.1169, allocations: 0 / 492.9 MB, free: 6.371 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: 73
 * Number of variables: 73
Notification: Performance of Generate backend data structure: time 0.001564/0.1185, allocations: 0.6788 MB / 493.6 MB, free: 5.652 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1185, allocations: 12.03 kB / 493.6 MB, free: 5.641 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.813e-05/0.1186, allocations: 44.7 kB / 493.7 MB, free: 5.598 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.119, allocations: 252.9 kB / 493.9 MB, free: 5.32 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.1191, allocations: 62.91 kB / 494 MB, free: 5.254 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/0.1192, allocations: 28.38 kB / 494 MB, free: 5.227 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008886/0.1201, allocations: 405 kB / 494.4 MB, free: 4.824 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1201, allocations: 0 / 494.4 MB, free: 4.824 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.1201, allocations: 12 kB / 494.4 MB, free: 4.812 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.1201, allocations: 8 kB / 494.4 MB, free: 4.805 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009075/0.121, allocations: 318.4 kB / 494.7 MB, free: 4.492 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.1234, allocations: 1.472 MB / 496.2 MB, free: 2.922 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.1245, allocations: 355.5 kB / 496.6 MB, free: 2.559 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004826/0.125, allocations: 177.6 kB / 496.7 MB, free: 2.379 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.1251, allocations: 12 kB / 496.7 MB, free: 2.367 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006042/0.1257, allocations: 239.1 kB / 497 MB, free: 2.117 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.1257, allocations: 0 / 497 MB, free: 2.117 MB / 350.1 MB
Notification: Performance of matching and sorting (n=26): time 0.001508/0.1272, allocations: 497 kB / 497.5 MB, free: 1.625 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.1272, allocations: 85.05 kB / 497.6 MB, free: 1.523 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.1276, allocations: 288.3 kB / 497.8 MB, free: 1.234 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.1276, allocations: 37.7 kB / 497.9 MB, free: 1.191 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1278, allocations: 196.5 kB / 498.1 MB, free: 0.9922 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.1279, allocations: 95.27 kB / 498.2 MB, free: 0.8984 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.128, allocations: 57.69 kB / 498.2 MB, free: 0.8359 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.00017/0.1282, allocations: 338.8 kB / 498.5 MB, free: 0.4961 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/0.1286, allocations: 147.9 kB / 498.7 MB, free: 360 kB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/0.1291, allocations: 201.8 kB / 498.9 MB, free: 140 kB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009321/0.13, allocations: 379 kB / 499.3 MB, free: 15.74 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.13, allocations: 0 / 499.3 MB, free: 15.74 MB / 366.1 MB
Notification: Performance of matching and sorting (n=36) (initialization): time 0.001105/0.1311, allocations: 450.9 kB / 499.7 MB, free: 15.29 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.1312, allocations: 37.69 kB / 499.7 MB, free: 15.25 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1312, allocations: 0 / 499.7 MB, free: 15.25 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.1312, allocations: 12.09 kB / 499.7 MB, free: 15.23 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.1324, allocations: 215.7 kB / 500 MB, free: 15.02 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.1344, allocations: 1.576 MB / 0.4898 GB, free: 13.34 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.1347, allocations: 47.78 kB / 0.4898 GB, free: 13.29 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.1348, allocations: 15.98 kB / 0.4898 GB, free: 13.28 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * Number of states: 0 ()
 * Number of discrete variables: 5 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (35):
 * Single equations (assignments): 33
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {1}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0002587/0.135, allocations: 173.7 kB / 0.49 GB, free: 13.1 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.1351, allocations: 27.81 kB / 0.49 GB, free: 13.07 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.1361, allocations: 367.8 kB / 0.4904 GB, free: 12.7 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1361, allocations: 7.984 kB / 0.4904 GB, free: 12.7 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.1361, allocations: 0 / 0.4904 GB, free: 12.7 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1361, allocations: 0 / 0.4904 GB, free: 12.7 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.1366, allocations: 424.3 kB / 0.4908 GB, free: 12.24 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1366, allocations: 3.984 kB / 0.4908 GB, free: 12.23 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.1378, allocations: 203.7 kB / 0.491 GB, free: 12.04 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.1378, allocations: 4 kB / 0.491 GB, free: 12.03 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.1379, allocations: 11.98 kB / 0.491 GB, free: 12.02 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.1397, allocations: 1.564 MB / 0.4925 GB, free: 10.34 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1397, allocations: 4.031 kB / 0.4925 GB, free: 10.34 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.1412, allocations: 0.5728 MB / 0.4931 GB, free: 9.746 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.816e-05/0.1413, allocations: 31.75 kB / 0.4931 GB, free: 9.715 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.1413, allocations: 12 kB / 0.4931 GB, free: 9.703 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.1416, allocations: 23.91 kB / 0.4932 GB, free: 9.68 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.1417, allocations: 31.95 kB / 0.4932 GB, free: 9.648 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.1417, allocations: 7.984 kB / 0.4932 GB, free: 9.641 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0002399/0.142, allocations: 211.1 kB / 0.4934 GB, free: 9.434 MB / 366.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.142, allocations: 0 / 0.4934 GB, free: 9.434 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0004759/0.1424, allocations: 87.84 kB / 0.4935 GB, free: 9.348 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.heaPor.T)
 * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count)
 * Number of discrete states: 1 (simFasBui.powElePul.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (26):
 * Single equations (assignments): 23
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {1}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001361/0.1426, allocations: 99.25 kB / 0.4936 GB, free: 9.242 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.00182/0.1444, allocations: 0.5223 MB / 0.4941 GB, free: 8.707 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1444, allocations: 0 / 0.4941 GB, free: 8.707 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001229/0.1456, allocations: 308 kB / 0.4944 GB, free: 8.406 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.146, allocations: 56.78 kB / 0.4944 GB, free: 8.348 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.1481, allocations: 0.8624 MB / 0.4953 GB, free: 7.453 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.1485, allocations: 0.7948 MB / 0.4961 GB, free: 6.633 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.000148/0.1486, allocations: 34.28 kB / 0.4961 GB, free: 6.602 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.017e-05/0.1487, allocations: 23.44 kB / 0.4961 GB, free: 6.578 MB / 366.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.1487, allocations: 0 / 0.4961 GB, free: 6.578 MB / 366.1 MB
Notification: Performance of Templates: time 0.008651/0.1574, allocations: 3.828 MB / 0.4998 GB, free: 2.789 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.makefile [Timeout 660]
(rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Controlled  -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.673887433484197]
Failed to read output from testmodel.py, exit status != 0:
0.16516820900142193 0.181406019 0.061214612
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f146179d7b0>