Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.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/IBPSA 4.0.0-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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw") translateModel(IBPSA.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 190 kB / 7.8 MB, free: 2.453 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4713/0.4713, allocations: 90.85 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.4 MB / 342.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009636/0.0009637, allocations: 98.47 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.01e-05/1.022e-05, allocations: 4 kB / 493.9 MB, free: 8.109 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3904, allocations: 72.3 MB / 0.5529 GB, free: 73.3 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.958/4.348, allocations: 1.864 GB / 2.417 GB, free: 214.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/4.349, allocations: 84.7 kB / 2.417 GB, free: 214.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.175/6.523, allocations: 0.6811 GB / 3.098 GB, free: 94.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.287e-05/6.524, allocations: 19.25 kB / 3.098 GB, free: 94.76 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002648/6.526, allocations: 1.216 MB / 3.099 GB, free: 94.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/6.526, allocations: 7.906 kB / 3.099 GB, free: 94.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/6.528, allocations: 254.2 kB / 3.1 GB, free: 94.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/6.529, allocations: 0.628 MB / 3.1 GB, free: 94.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/6.529, allocations: 19.5 kB / 3.1 GB, free: 94.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/6.529, allocations: 33.14 kB / 3.1 GB, free: 94.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001232/6.53, allocations: 0.9012 MB / 3.101 GB, free: 94.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/6.532, allocations: 0.9377 MB / 3.102 GB, free: 93.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/6.532, allocations: 3.812 kB / 3.102 GB, free: 93.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.79e-05/6.532, allocations: 2.781 kB / 3.102 GB, free: 93.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/6.532, allocations: 14.19 kB / 3.102 GB, free: 93.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004737/6.536, allocations: 4.542 MB / 3.107 GB, free: 91.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/6.537, allocations: 0.5976 MB / 3.107 GB, free: 91.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005831/6.538, allocations: 0.5153 MB / 3.108 GB, free: 91.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000922/6.539, allocations: 1.042 MB / 3.109 GB, free: 90.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/6.539, allocations: 41.98 kB / 3.109 GB, free: 90.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=52): time 3.256e-06/6.539, allocations: 0 / 3.109 GB, free: 90.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.01193/6.551, allocations: 2.518 MB / 3.111 GB, free: 90 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/6.551, allocations: 58.66 kB / 3.111 GB, free: 89.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000734/6.551, allocations: 455 kB / 3.112 GB, free: 89.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001672/6.552, allocations: 25.7 kB / 3.112 GB, free: 89.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/6.552, allocations: 230.7 kB / 3.112 GB, free: 89.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/6.552, allocations: 177.5 kB / 3.112 GB, free: 89.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/6.552, allocations: 0 / 3.112 GB, free: 89.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001167/6.552, allocations: 376.6 kB / 3.112 GB, free: 89.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/6.553, allocations: 371.3 kB / 3.113 GB, free: 89.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/6.553, allocations: 460.5 kB / 3.113 GB, free: 89.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007739/6.554, allocations: 445.1 kB / 3.114 GB, free: 89.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/6.554, allocations: 6.688 kB / 3.114 GB, free: 89.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0115/6.566, allocations: 2.504 MB / 3.116 GB, free: 89.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/6.566, allocations: 7.656 kB / 3.116 GB, free: 89.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/6.566, allocations: 3.719 kB / 3.116 GB, free: 89.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009573/6.575, allocations: 1.65 MB / 3.118 GB, free: 89.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005851/6.576, allocations: 98.23 kB / 3.118 GB, free: 89.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/6.587, allocations: 6.185 MB / 3.124 GB, free: 86.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/6.588, allocations: 44.56 kB / 3.124 GB, free: 86.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/6.588, allocations: 48.41 kB / 3.124 GB, free: 86.55 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(5,92.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001874/6.588, allocations: 116.8 kB / 3.124 GB, free: 86.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/6.588, allocations: 68.22 kB / 3.124 GB, free: 86.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005212/6.593, allocations: 1.702 MB / 3.126 GB, free: 86.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/6.593, allocations: 6.688 kB / 3.126 GB, free: 86.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/6.594, allocations: 13.75 kB / 3.126 GB, free: 86.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/6.594, allocations: 0 / 3.126 GB, free: 86.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005684/6.599, allocations: 2.412 MB / 3.128 GB, free: 85.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/6.599, allocations: 3.969 kB / 3.128 GB, free: 85.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/6.6, allocations: 97.89 kB / 3.128 GB, free: 85.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003426/6.603, allocations: 0.7279 MB / 3.129 GB, free: 85.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.647e-05/6.603, allocations: 12.75 kB / 3.129 GB, free: 85.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005541/6.609, allocations: 4.25 MB / 3.133 GB, free: 83.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/6.609, allocations: 10.53 kB / 3.133 GB, free: 83.49 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005115/6.614, allocations: 2.16 MB / 3.135 GB, free: 83.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005071/6.614, allocations: 224.2 kB / 3.135 GB, free: 82.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/6.615, allocations: 3.969 kB / 3.135 GB, free: 82.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/6.615, allocations: 31.55 kB / 3.135 GB, free: 82.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/6.615, allocations: 38.55 kB / 3.135 GB, free: 82.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.408e-05/6.615, allocations: 25.47 kB / 3.136 GB, free: 82.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004249/6.616, allocations: 346.3 kB / 3.136 GB, free: 82.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001519/6.617, allocations: 411.5 kB / 3.136 GB, free: 82.85 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002194/6.62, allocations: 1.922 MB / 3.138 GB, free: 82.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002867/6.622, allocations: 1.254 MB / 3.139 GB, free: 82.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/6.622, allocations: 0 / 3.139 GB, free: 82.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/6.624, allocations: 0.8122 MB / 3.14 GB, free: 81.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/6.626, allocations: 309.3 kB / 3.14 GB, free: 81.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/6.628, allocations: 1.344 MB / 3.142 GB, free: 81.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005527/6.629, allocations: 1.048 MB / 3.143 GB, free: 80.85 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/6.629, allocations: 0 / 3.143 GB, free: 80.85 MB / 0.6042 GB Notification: Performance of Templates: time 0.03808/6.667, allocations: 26.91 MB / 3.169 GB, free: 80.14 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)