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.001167/0.001167, allocations: 174.3 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02637/0.02637, allocations: 4.538 MB / 17.8 MB, free: 2.512 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.33/1.33, allocations: 221.3 MB / 240.8 MB, free: 8.727 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.0008625/0.0008623, allocations: 101.7 kB / 292.8 MB, free: 7.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.407e-05/2.41e-05, allocations: 4 kB / 352.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2349, allocations: 51.48 MB / 403.7 MB, free: 28.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09472/0.3296, allocations: 78.82 MB / 482.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000119/0.3298, allocations: 54.33 kB / 482.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01385/0.3437, allocations: 5.754 MB / 488.3 MB, free: 7.812 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3437, allocations: 0 / 488.3 MB, free: 7.812 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.3437, allocations: 12 kB / 488.3 MB, free: 7.801 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007628/0.3445, allocations: 0.5675 MB / 488.9 MB, free: 7.184 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.3445, allocations: 8.031 kB / 488.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.3446, allocations: 31.62 kB / 488.9 MB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.3449, allocations: 275.6 kB / 489.2 MB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.3449, allocations: 20.56 kB / 489.2 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.345, allocations: 27.98 kB / 489.2 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/0.3454, allocations: 271.7 kB / 489.5 MB, free: 6.504 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.3454, allocations: 0 / 489.5 MB, free: 6.504 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.3455, allocations: 16 kB / 489.5 MB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3455, allocations: 4 kB / 489.5 MB, free: 6.484 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.3458, allocations: 182.1 kB / 489.7 MB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.3471, allocations: 1.01 MB / 490.7 MB, free: 5.227 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.3476, allocations: 231.3 kB / 490.9 MB, free: 4.992 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.3478, allocations: 117.2 kB / 491 MB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.3478, allocations: 8.188 kB / 491 MB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.3481, allocations: 149 kB / 491.2 MB, free: 4.711 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.3481, allocations: 0 / 491.2 MB, free: 4.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003937/0.3485, allocations: 219.5 kB / 491.4 MB, free: 4.492 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.3485, allocations: 55.41 kB / 491.4 MB, free: 4.426 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.3487, allocations: 188.9 kB / 491.6 MB, free: 4.234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.3487, allocations: 33.69 kB / 491.7 MB, free: 4.195 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.794e-05/0.3488, allocations: 176.1 kB / 491.8 MB, free: 4.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.3489, allocations: 74.98 kB / 491.9 MB, free: 3.945 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.3489, allocations: 0 / 491.9 MB, free: 3.945 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3491, allocations: 338.8 kB / 492.2 MB, free: 3.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3492, allocations: 79.92 kB / 492.3 MB, free: 3.527 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.3494, allocations: 119.4 kB / 492.4 MB, free: 3.398 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.3496, allocations: 127.7 kB / 492.6 MB, free: 3.266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3496, allocations: 0 / 492.6 MB, free: 3.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004568/0.35, allocations: 302 kB / 492.9 MB, free: 2.961 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.3501, allocations: 33.7 kB / 492.9 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3501, allocations: 3.984 kB / 492.9 MB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3501, allocations: 0 / 492.9 MB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.3504, allocations: 83.97 kB / 493 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3504, allocations: 0 / 493 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.3507, allocations: 47.72 kB / 493 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.3507, allocations: 8 kB / 493 MB, free: 2.781 MB / 362.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 9e-05/0.3508, allocations: 128.8 kB / 493.2 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.3508, allocations: 19.81 kB / 493.2 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.3513, allocations: 254.4 kB / 493.4 MB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3513, allocations: 4 kB / 493.4 MB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3513, allocations: 3.938 kB / 493.4 MB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3513, allocations: 0 / 493.4 MB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.3516, allocations: 369.3 kB / 493.8 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3517, allocations: 3.953 kB / 493.8 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.352, allocations: 67.95 kB / 493.9 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.352, allocations: 0 / 493.9 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.352, allocations: 0 / 493.9 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.352, allocations: 4 kB / 493.9 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.352, allocations: 0 / 493.9 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005306/0.3526, allocations: 368.6 kB / 494.2 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.3526, allocations: 104.8 kB / 494.3 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.3527, allocations: 8.062 kB / 494.3 MB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.3529, allocations: 31.97 kB / 494.4 MB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.3529, allocations: 23.95 kB / 494.4 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.353, allocations: 4 kB / 494.4 MB, free: 1.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.3531, allocations: 157.4 kB / 494.5 MB, free: 1.168 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3531, allocations: 0 / 494.5 MB, free: 1.168 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002525/0.3534, allocations: 75.84 kB / 494.6 MB, free: 1.094 MB / 362.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 0.000117/0.3535, allocations: 107.1 kB / 494.7 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003618/0.3538, allocations: 263.1 kB / 495 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3539, allocations: 0 / 495 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.354, allocations: 103.9 kB / 495.1 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.3543, allocations: 32.59 kB / 495.1 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008108/0.3551, allocations: 466.8 kB / 495.6 MB, free: 100 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.3554, allocations: 0.7714 MB / 496.3 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.3556, allocations: 29.53 kB / 496.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.3556, allocations: 19.44 kB / 496.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3556, allocations: 0 / 496.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of Templates: time 0.00449/0.3601, allocations: 2.278 MB / 498.7 MB, free: 12.99 MB / 378.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)