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/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_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009893/0.0009897, allocations: 171.8 kB / 7.647 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.02055/0.02055, allocations: 4.548 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.239/1.239, allocations: 221.5 MB / 235.6 MB, free: 2.207 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.0007787/0.0007787, allocations: 88.5 kB / 287.6 MB, free: 5.859 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.848e-06/9.889e-06, allocations: 0 / 345.3 MB, free: 7.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08396/0.08398, allocations: 51.49 MB / 396.8 MB, free: 3.629 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2636/0.3476, allocations: 78.16 MB / 474.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 8.798e-05/0.3477, allocations: 49 kB / 475 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01234/0.3601, allocations: 5.709 MB / 480.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3601, allocations: 0 / 480.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.3601, allocations: 8 kB / 480.7 MB, free: 10.01 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006976/0.3608, allocations: 0.5615 MB / 481.3 MB, free: 9.418 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3609, allocations: 8.031 kB / 481.3 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.361, allocations: 35.23 kB / 481.3 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.3612, allocations: 260.5 kB / 481.6 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.3612, allocations: 8 kB / 481.6 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.3613, allocations: 19.06 kB / 481.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002907/0.3616, allocations: 169.3 kB / 481.7 MB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.3619, allocations: 241 kB / 482 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3619, allocations: 1.375 kB / 482 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.362, allocations: 0 / 482 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-06/0.362, allocations: 10.75 kB / 482 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.3631, allocations: 0.9647 MB / 483 MB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.3634, allocations: 223.1 kB / 483.2 MB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.3636, allocations: 110.2 kB / 483.3 MB, free: 7.758 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.3636, allocations: 5.406 kB / 483.3 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.3638, allocations: 134.2 kB / 483.4 MB, free: 7.645 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.3638, allocations: 0 / 483.4 MB, free: 7.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003153/0.3641, allocations: 212.7 kB / 483.6 MB, free: 7.488 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.744e-05/0.3642, allocations: 51.41 kB / 483.7 MB, free: 7.426 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3643, allocations: 175.4 kB / 483.9 MB, free: 7.273 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.3643, allocations: 29.7 kB / 483.9 MB, free: 7.238 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.3644, allocations: 174.2 kB / 484.1 MB, free: 7.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.3644, allocations: 65.52 kB / 484.1 MB, free: 7.035 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.3645, allocations: 0 / 484.1 MB, free: 7.035 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.3645, allocations: 332.5 kB / 484.4 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.3646, allocations: 78.36 kB / 484.5 MB, free: 6.668 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.3647, allocations: 105.2 kB / 484.6 MB, free: 6.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.3649, allocations: 93.08 kB / 484.7 MB, free: 6.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3649, allocations: 0 / 484.7 MB, free: 6.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003156/0.3652, allocations: 252.9 kB / 485 MB, free: 6.348 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.3652, allocations: 34.39 kB / 485 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3652, allocations: 4 kB / 485 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3653, allocations: 3.984 kB / 485 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.3656, allocations: 71.98 kB / 485.1 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3656, allocations: 4 kB / 485.1 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.3658, allocations: 39.81 kB / 485.1 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.3658, allocations: 7.25 kB / 485.1 MB, free: 6.188 MB / 346.7 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 ($whenCondition1,$PRE.powElePul.T_start,powElePul.T_start,$PRE.powElePul.count,powElePul.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.635e-05/0.3659, allocations: 116.9 kB / 485.2 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.3659, allocations: 27.67 kB / 485.3 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.3662, allocations: 221.4 kB / 485.5 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3662, allocations: 7.984 kB / 485.5 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3663, allocations: 0 / 485.5 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3663, allocations: 5.719 kB / 485.5 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.3665, allocations: 317.8 kB / 485.8 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3665, allocations: 7.922 kB / 485.8 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.3668, allocations: 63.95 kB / 485.9 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3668, allocations: 0 / 485.9 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.3668, allocations: 6.703 kB / 485.9 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3668, allocations: 6.875 kB / 485.9 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3668, allocations: 0 / 485.9 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.3672, allocations: 352.6 kB / 486.2 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.3673, allocations: 101 kB / 486.3 MB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.3673, allocations: 0 / 486.3 MB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.3675, allocations: 27.92 kB / 486.4 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.3676, allocations: 30.58 kB / 486.4 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.3676, allocations: 4 kB / 486.4 MB, free: 5.098 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.07e-05/0.3677, allocations: 148.5 kB / 486.5 MB, free: 4.977 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3677, allocations: 0 / 486.5 MB, free: 4.977 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002426/0.3679, allocations: 71.69 kB / 486.6 MB, free: 4.906 MB / 346.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.361e-05/0.368, allocations: 99.25 kB / 486.7 MB, free: 4.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.3683, allocations: 250 kB / 486.9 MB, free: 4.609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3683, allocations: 1.406 kB / 486.9 MB, free: 4.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.3684, allocations: 96.11 kB / 487 MB, free: 4.547 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.3686, allocations: 36.69 kB / 487.1 MB, free: 4.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006944/0.3693, allocations: 449.1 kB / 487.5 MB, free: 4.121 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.3695, allocations: 0.7686 MB / 488.3 MB, free: 3.332 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.3696, allocations: 32 kB / 488.3 MB, free: 3.301 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.3697, allocations: 22.56 kB / 488.3 MB, free: 3.289 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3697, allocations: 0 / 488.3 MB, free: 3.289 MB / 346.7 MB Notification: Performance of Templates: time 0.00399/0.3737, allocations: 2.091 MB / 490.4 MB, free: 1.27 MB / 346.7 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile (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)