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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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) Running command: translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02101/0.02101, allocations: 4.55 MB / 12.62 MB, free: 288 kB / 7.832 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 221.5 MB / 235.6 MB, free: 2.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007868/0.0007869, allocations: 89.11 kB / 287.6 MB, free: 5.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.586e-05/1.576e-05, allocations: 4 kB / 345.3 MB, free: 7.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08613/0.08616, allocations: 51.49 MB / 396.8 MB, free: 3.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2617/0.3478, allocations: 78.23 MB / 475 MB, free: 13.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001006/0.348, allocations: 49 kB / 475.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01427/0.3623, allocations: 7.121 MB / 482.2 MB, free: 8.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3623, allocations: 0 / 482.2 MB, free: 8.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.3623, allocations: 12 kB / 482.2 MB, free: 8.805 MB / 346.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.0007793/0.3631, allocations: 0.639 MB / 482.8 MB, free: 8.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.3631, allocations: 8.031 kB / 482.8 MB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.325e-05/0.3632, allocations: 46.62 kB / 482.9 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.3635, allocations: 301.8 kB / 483.2 MB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.25e-05/0.3636, allocations: 50.47 kB / 483.2 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.3636, allocations: 23.91 kB / 483.3 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000332/0.3639, allocations: 230.9 kB / 483.5 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.3643, allocations: 307.6 kB / 483.8 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3644, allocations: 0 / 483.8 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.3644, allocations: 3.938 kB / 483.8 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3644, allocations: 8.75 kB / 483.8 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.3659, allocations: 1.464 MB / 485.3 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004655/0.3664, allocations: 300.2 kB / 485.5 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.3665, allocations: 150.6 kB / 485.7 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.3666, allocations: 0 / 485.7 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.3668, allocations: 194.4 kB / 485.9 MB, free: 5.695 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.292e-06/0.3668, allocations: 2.062 kB / 485.9 MB, free: 5.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003795/0.3672, allocations: 269.8 kB / 486.2 MB, free: 5.496 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.3672, allocations: 81.11 kB / 486.2 MB, free: 5.398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.3674, allocations: 220.4 kB / 486.4 MB, free: 5.219 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.3674, allocations: 29.14 kB / 486.5 MB, free: 5.188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.3675, allocations: 201.9 kB / 486.7 MB, free: 5.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.3675, allocations: 81.44 kB / 486.8 MB, free: 4.949 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.3676, allocations: 0 / 486.8 MB, free: 4.949 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.847e-05/0.3676, allocations: 340.9 kB / 487.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.3677, allocations: 104.8 kB / 487.2 MB, free: 4.562 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.3679, allocations: 156.5 kB / 487.3 MB, free: 4.445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.368, allocations: 117.1 kB / 487.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.368, allocations: 0 / 487.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003766/0.3684, allocations: 319.4 kB / 487.8 MB, free: 4.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.3685, allocations: 37.69 kB / 487.8 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3685, allocations: 3.938 kB / 487.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3685, allocations: 4 kB / 487.8 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009243/0.3694, allocations: 283.5 kB / 488.1 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006009/0.37, allocations: 1.374 MB / 489.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.3703, allocations: 67.64 kB / 489.5 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3703, allocations: 8 kB / 489.5 MB, free: 2.316 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: bui.hva.QHeaCoo:VARIABLE(unit = "W" ) "Total heating power" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.count) * Number of discrete 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.3705, allocations: 115.5 kB / 489.6 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.3705, allocations: 30.66 kB / 489.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.3709, allocations: 277.2 kB / 489.9 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.3709, allocations: 3.953 kB / 490 MB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.3709, allocations: 4 kB / 490 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3709, allocations: 0 / 490 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.3712, allocations: 397.7 kB / 490.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3712, allocations: 0 / 490.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000942/0.3721, allocations: 271.5 kB / 490.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3722, allocations: 0 / 490.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.3722, allocations: 7.875 kB / 490.6 MB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005773/0.3728, allocations: 1.379 MB / 492 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3728, allocations: 1.875 kB / 492 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.3733, allocations: 464.6 kB / 492.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.3734, allocations: 104.6 kB / 492.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.3734, allocations: 3.953 kB / 492.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.3737, allocations: 40.09 kB / 492.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.3738, allocations: 27.72 kB / 492.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.3738, allocations: 11.98 kB / 492.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001379/0.3739, allocations: 172.3 kB / 492.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.374, allocations: 8 kB / 492.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003874/0.3743, allocations: 91.69 kB / 492.9 MB, free: 15.17 MB / 362.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) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001134/0.3745, allocations: 107.2 kB / 493 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009986/0.3755, allocations: 470.9 kB / 493.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3755, allocations: 1.594 kB / 493.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007593/0.3762, allocations: 301.7 kB / 493.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.3765, allocations: 36.17 kB / 493.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.3779, allocations: 0.7168 MB / 494.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.3782, allocations: 0.8064 MB / 495.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000141/0.3784, allocations: 34.06 kB / 495.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.3785, allocations: 21.03 kB / 495.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3785, allocations: 3.938 kB / 495.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of Templates: time 0.00525/0.3837, allocations: 2.842 MB / 498.2 MB, free: 10.09 MB / 362.7 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.makefile (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)