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.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.0008385/0.0008385, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.0008519/0.0008519, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 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.8535/0.8535, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.01275/0.01275, allocations: 3.569 MB / 263.5 MB, free: 9.805 MB / 250.7 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.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(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 1.603e-06/1.603e-06, allocations: 0 / 388.1 MB, free: 9.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.622e-05, allocations: 3.828 kB / 388.1 MB, free: 9.375 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.002905/0.002932, allocations: 3.002 MB / 391.1 MB, free: 6.352 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.003988, allocations: 0.8301 MB / 391.9 MB, free: 5.516 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.004116, allocations: 8 kB / 391.9 MB, free: 5.508 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.00426, allocations: 59.38 kB / 392 MB, free: 5.449 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.004421, allocations: 130.8 kB / 392.1 MB, free: 5.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.004763, allocations: 159.6 kB / 392.3 MB, free: 5.164 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.005145, allocations: 0.5257 MB / 392.8 MB, free: 4.637 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.005406, allocations: 179.3 kB / 393 MB, free: 4.465 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.005704, allocations: 299.5 kB / 393.3 MB, free: 4.172 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.005862, allocations: 151.6 kB / 393.4 MB, free: 4.023 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.00591, allocations: 56 kB / 393.5 MB, free: 3.969 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.342e-05/0.005984, allocations: 67.92 kB / 393.5 MB, free: 3.902 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.006042, allocations: 99.67 kB / 393.6 MB, free: 3.805 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.006154, allocations: 155.7 kB / 393.8 MB, free: 3.652 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.006561, allocations: 0.5726 MB / 394.4 MB, free: 3.078 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.006563, allocations: 4 kB / 394.4 MB, free: 3.074 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006564, allocations: 0 / 394.4 MB, free: 3.074 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.00657, allocations: 0 / 394.4 MB, free: 3.074 MB / 314.7 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.000901/0.007471, allocations: 0.6672 MB / 395 MB, free: 2.367 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.007504, allocations: 12.03 kB / 395 MB, free: 2.355 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.007672, allocations: 64.64 kB / 395.1 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.00795, allocations: 268.6 kB / 395.4 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.691e-05/0.008037, allocations: 106.3 kB / 395.5 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.008079, allocations: 32.38 kB / 395.5 MB, free: 1.855 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.008553, allocations: 393.5 kB / 395.9 MB, free: 1.461 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.008563, allocations: 8.172 kB / 395.9 MB, free: 1.453 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.008587, allocations: 16.12 kB / 395.9 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.008595, allocations: 8 kB / 395.9 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004507/0.009045, allocations: 322.3 kB / 396.2 MB, free: 1.109 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.01024, allocations: 1.155 MB / 397.4 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/0.01082, allocations: 370 kB / 397.8 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.01106, allocations: 173.6 kB / 397.9 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.01108, allocations: 15.94 kB / 397.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/0.01139, allocations: 244.6 kB / 398.2 MB, free: 15.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.823e-06/0.01139, allocations: 0 / 398.2 MB, free: 15.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007166/0.01211, allocations: 0.4893 MB / 398.7 MB, free: 14.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.01215, allocations: 81.11 kB / 398.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.01232, allocations: 269.9 kB / 399 MB, free: 14.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.01235, allocations: 29.7 kB / 399 MB, free: 14.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.898e-05/0.01244, allocations: 204.5 kB / 399.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.0125, allocations: 91.22 kB / 399.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.046e-05/0.01257, allocations: 53.7 kB / 399.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.987e-05/0.01266, allocations: 350.9 kB / 399.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.01289, allocations: 173.5 kB / 399.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.01313, allocations: 239.3 kB / 400.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.01357, allocations: 371.1 kB / 400.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01357, allocations: 0 / 400.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005478/0.01412, allocations: 480.6 kB / 401 MB, free: 12.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.01415, allocations: 37.69 kB / 401 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01415, allocations: 0 / 401 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.01417, allocations: 4 kB / 401 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/0.01466, allocations: 215.8 kB / 401.2 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000998/0.01566, allocations: 1.565 MB / 402.8 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.01579, allocations: 47.86 kB / 402.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.01581, allocations: 8 kB / 402.8 MB, free: 10.19 MB / 330.7 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.0001297/0.01594, allocations: 171.6 kB / 403 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.01597, allocations: 31.75 kB / 403 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.01646, allocations: 376.6 kB / 403.4 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.01647, allocations: 0 / 403.4 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01647, allocations: 7.984 kB / 403.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01647, allocations: 0 / 403.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.01672, allocations: 317 kB / 403.7 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01672, allocations: 3.938 kB / 403.7 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/0.01721, allocations: 203.7 kB / 403.9 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01721, allocations: 0 / 403.9 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.01723, allocations: 15.94 kB / 403.9 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008482/0.01807, allocations: 1.549 MB / 405.5 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01808, allocations: 0 / 405.5 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007017/0.01878, allocations: 0.5884 MB / 406.1 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.01881, allocations: 27.8 kB / 406.1 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.01883, allocations: 8 kB / 406.1 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.887e-05/0.01893, allocations: 24.11 kB / 406.1 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.019, allocations: 31.94 kB / 406.2 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.01902, allocations: 11.92 kB / 406.2 MB, free: 6.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001229/0.01914, allocations: 197.2 kB / 406.4 MB, free: 6.488 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01914, allocations: 4 kB / 406.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000266/0.01941, allocations: 91.78 kB / 406.5 MB, free: 6.395 MB / 330.7 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 9.565e-05/0.0195, allocations: 103.2 kB / 406.6 MB, free: 6.281 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008292/0.02033, allocations: 0.5321 MB / 407.1 MB, free: 5.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02033, allocations: 192 / 407.1 MB, free: 5.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004925/0.02083, allocations: 291.7 kB / 407.4 MB, free: 5.445 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.02108, allocations: 52.41 kB / 407.4 MB, free: 5.395 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.02221, allocations: 0.8333 MB / 408.3 MB, free: 4.527 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.02233, allocations: 188.8 kB / 408.4 MB, free: 4.324 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.0224, allocations: 24.5 kB / 408.5 MB, free: 4.301 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0224, allocations: 0 / 408.5 MB, free: 4.301 MB / 330.7 MB Notification: Performance of Templates: time 0.1307/0.1531, allocations: 6.125 MB / 414.6 MB, free: 36.74 MB / 330.7 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.488913190551102] Failed to read output from testmodel.py, exit status != 0: 0.16013910342007875 0.172423341 0.163546503 Calling exit ...