Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") translateModel(FastBuildings.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009864/0.009863, allocations: 171.4 kB / 15.12 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02765/0.02765, allocations: 4.634 MB / 20.48 MB, free: 1.477 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.2 MB / 245.5 MB, free: 12.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009303/0.0009302, allocations: 96.86 kB / 297.8 MB, free: 8.863 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 8 kB / 359.7 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2417, allocations: 51.47 MB / 411.2 MB, free: 50.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09219/0.3339, allocations: 77.35 MB / 488.6 MB, free: 1.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001208/0.3341, allocations: 49.06 kB / 488.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006053/0.3402, allocations: 2.171 MB / 490.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3402, allocations: 1.875 kB / 490.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.3402, allocations: 4 kB / 490.8 MB, free: 15.54 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006221/0.3408, allocations: 462.4 kB / 491.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3409, allocations: 9.031 kB / 491.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.3409, allocations: 15.81 kB / 491.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.3411, allocations: 207.2 kB / 491.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.3412, allocations: 6.625 kB / 491.5 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.3412, allocations: 15.66 kB / 491.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.3416, allocations: 176.2 kB / 491.7 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3416, allocations: 0.625 kB / 491.7 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.3416, allocations: 4 kB / 491.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3416, allocations: 8.797 kB / 491.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.342, allocations: 148 kB / 491.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007979/0.3428, allocations: 0.7365 MB / 492.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.3433, allocations: 274.2 kB / 492.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.3433, allocations: 12.08 kB / 492.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003131/0.3436, allocations: 163.5 kB / 493 MB, free: 13.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.3437, allocations: 4 kB / 493 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007134/0.3444, allocations: 281.6 kB / 493.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.3445, allocations: 158.2 kB / 493.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.3446, allocations: 154.8 kB / 493.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.3446, allocations: 29.7 kB / 493.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.3447, allocations: 108.5 kB / 493.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.3447, allocations: 35.45 kB / 493.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-06/0.3448, allocations: 4 kB / 493.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.3449, allocations: 326.9 kB / 494.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.3451, allocations: 71.94 kB / 494.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.3453, allocations: 113.2 kB / 494.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.3455, allocations: 109.6 kB / 494.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3455, allocations: 3.953 kB / 494.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005137/0.346, allocations: 251.5 kB / 494.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.3461, allocations: 29.7 kB / 494.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3461, allocations: 0 / 494.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.3461, allocations: 12.03 kB / 494.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.3463, allocations: 35.97 kB / 494.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3463, allocations: 0 / 494.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.3465, allocations: 31.88 kB / 494.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.3465, allocations: 11.94 kB / 494.7 MB, free: 11.24 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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 0.000121/0.3467, allocations: 141.7 kB / 494.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.3467, allocations: 15.86 kB / 494.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.3469, allocations: 89.8 kB / 495 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3469, allocations: 4 kB / 495 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3469, allocations: 0 / 495 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.347, allocations: 4 kB / 495 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.3474, allocations: 437.8 kB / 495.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3474, allocations: 7.938 kB / 495.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.3475, allocations: 37.78 kB / 495.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3476, allocations: 4.031 kB / 495.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.3476, allocations: 4 kB / 495.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3476, allocations: 0 / 495.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3476, allocations: 4 kB / 495.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005784/0.3482, allocations: 434.1 kB / 495.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.3483, allocations: 100.9 kB / 496 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.3483, allocations: 3.953 kB / 496 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.3485, allocations: 27.97 kB / 496 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.3486, allocations: 19.97 kB / 496 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.3486, allocations: 4 kB / 496 MB, free: 9.793 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.167e-05/0.3487, allocations: 128.1 kB / 496.2 MB, free: 9.668 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3487, allocations: 0 / 496.2 MB, free: 9.668 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000284/0.349, allocations: 27.92 kB / 496.2 MB, free: 9.641 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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 0.0001114/0.3491, allocations: 103.2 kB / 496.3 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005024/0.3496, allocations: 231.2 kB / 496.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3497, allocations: 0 / 496.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.3499, allocations: 100.2 kB / 496.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.3502, allocations: 20.92 kB / 496.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.3508, allocations: 309.3 kB / 496.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.3511, allocations: 0.7199 MB / 497.6 MB, free: 8.086 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.863e-05/0.3512, allocations: 16.88 kB / 497.7 MB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.3513, allocations: 11.44 kB / 497.7 MB, free: 8.062 MB / 362.7 MB Notification: Performance of SimCode: time 1.412e-06/0.3513, allocations: 0 / 497.7 MB, free: 8.062 MB / 362.7 MB Notification: Performance of Templates: time 0.003243/0.3545, allocations: 1.167 MB / 498.8 MB, free: 6.91 MB / 362.7 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.makefile (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & ./FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1)