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.0009468/0.0009468, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009792/0.0009792, allocations: 173 kB / 23.5 MB, free: 1.055 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 1.025/1.025, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.02476/0.02476, allocations: 3.563 MB / 263.9 MB, free: 9.664 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.183e-06/1.183e-06, allocations: 0 / 334.2 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.953e-05, allocations: 2.312 kB / 334.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.003111/0.003131, allocations: 3.232 MB / 337.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009974/0.004128, allocations: 0.8573 MB / 338.3 MB, free: 12.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.004261, allocations: 4 kB / 338.3 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.004413, allocations: 59.38 kB / 338.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.004574, allocations: 130.8 kB / 338.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.004909, allocations: 155.7 kB / 338.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.005305, allocations: 0.5334 MB / 339.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.005562, allocations: 179.3 kB / 339.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00029/0.005852, allocations: 299.4 kB / 339.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.00603, allocations: 155.6 kB / 339.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/0.00608, allocations: 56 kB / 339.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.358e-05/0.006153, allocations: 60 kB / 339.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.41e-05/0.006217, allocations: 103.7 kB / 340 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.006338, allocations: 167.7 kB / 340.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.006657, allocations: 342.8 kB / 340.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.006659, allocations: 0 / 340.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00666, allocations: 0 / 340.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.006665, allocations: 0 / 340.5 MB, free: 10.3 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.0011/0.007764, allocations: 0.7593 MB / 341.3 MB, free: 9.492 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.007798, allocations: 8.031 kB / 341.3 MB, free: 9.484 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.008005, allocations: 88.62 kB / 341.4 MB, free: 9.398 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.008278, allocations: 263.4 kB / 341.6 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.307e-05/0.008361, allocations: 102.3 kB / 341.7 MB, free: 9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.008405, allocations: 36.33 kB / 341.8 MB, free: 8.965 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.008818, allocations: 291.9 kB / 342 MB, free: 8.664 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.008831, allocations: 4.172 kB / 342.1 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.008857, allocations: 12.12 kB / 342.1 MB, free: 8.648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.008869, allocations: 8 kB / 342.1 MB, free: 8.641 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.009074, allocations: 99.86 kB / 342.2 MB, free: 8.539 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.01025, allocations: 1.145 MB / 343.3 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.01062, allocations: 196.8 kB / 343.5 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.01075, allocations: 83.28 kB / 343.6 MB, free: 7.031 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.01077, allocations: 4 kB / 343.6 MB, free: 7.027 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.01098, allocations: 164.9 kB / 343.8 MB, free: 6.844 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.01098, allocations: 0 / 343.8 MB, free: 6.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004104/0.01139, allocations: 221.3 kB / 344 MB, free: 6.621 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.01143, allocations: 89.03 kB / 344.1 MB, free: 6.516 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.01162, allocations: 304.2 kB / 344.4 MB, free: 6.199 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.01165, allocations: 29.7 kB / 344.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.01176, allocations: 247.2 kB / 344.6 MB, free: 5.918 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.01182, allocations: 99.2 kB / 344.7 MB, free: 5.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-05/0.01189, allocations: 59.95 kB / 344.8 MB, free: 5.754 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.01202, allocations: 0.5158 MB / 345.3 MB, free: 5.227 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.01213, allocations: 73.52 kB / 345.4 MB, free: 5.148 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.01226, allocations: 132.4 kB / 345.5 MB, free: 4.988 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.01247, allocations: 195.6 kB / 345.7 MB, free: 4.766 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.01247, allocations: 4 kB / 345.7 MB, free: 4.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003319/0.01281, allocations: 292.7 kB / 346 MB, free: 4.457 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.01283, allocations: 33.7 kB / 346 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.01284, allocations: 0 / 346 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.01285, allocations: 4 kB / 346 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.01322, allocations: 147.8 kB / 346.2 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.01436, allocations: 2.067 MB / 348.2 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.01447, allocations: 35.86 kB / 348.3 MB, free: 2.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.01449, allocations: 8 kB / 348.3 MB, free: 2.043 MB / 314.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.0001134/0.0146, allocations: 180.6 kB / 348.4 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.01464, allocations: 43.75 kB / 348.5 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.01492, allocations: 195.7 kB / 348.7 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.01492, allocations: 4 kB / 348.7 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.01492, allocations: 0 / 348.7 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01493, allocations: 0 / 348.7 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.01516, allocations: 296.4 kB / 349 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.01516, allocations: 4 kB / 349 MB, free: 1.285 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.01551, allocations: 131.9 kB / 349.1 MB, free: 1.156 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.01551, allocations: 4 kB / 349.1 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.01553, allocations: 15.86 kB / 349.1 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007359/0.01627, allocations: 2.07 MB / 351.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01627, allocations: 0 / 351.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.01662, allocations: 292.8 kB / 351.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.01664, allocations: 27.84 kB / 351.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.01667, allocations: 8 kB / 351.5 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.023e-05/0.01676, allocations: 15.98 kB / 351.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.01683, allocations: 23.95 kB / 351.6 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.01684, allocations: 11.94 kB / 351.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.01696, allocations: 213.1 kB / 351.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01696, allocations: 0 / 351.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.01722, allocations: 95.81 kB / 351.9 MB, free: 14.25 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 8.688e-05/0.01731, allocations: 107.2 kB / 352 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004837/0.01779, allocations: 309.8 kB / 352.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01779, allocations: 4.312 kB / 352.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.01807, allocations: 147.5 kB / 352.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.01831, allocations: 48.41 kB / 352.5 MB, free: 13.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.01954, allocations: 0.7256 MB / 353.2 MB, free: 12.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.964e-05/0.01959, allocations: 100.3 kB / 353.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.754e-05/0.01968, allocations: 33.92 kB / 353.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.322e-05/0.01975, allocations: 24.5 kB / 353.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01975, allocations: 0 / 353.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of Templates: time 0.005904/0.02565, allocations: 3.581 MB / 356.9 MB, free: 9.152 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=240 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.985057766083628]