Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.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.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") [: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.001778/0.001778, allocations: 184.7 kB / 7.799 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4596/0.4596, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.198/1.198, allocations: 221.4 MB / 342.8 MB, free: 5.109 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.0008597/0.0008597, allocations: 92.16 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.244e-06/7.274e-06, allocations: 4 kB / 493.9 MB, free: 8.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3362, allocations: 72.3 MB / 0.5529 GB, free: 73.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5516/0.8878, allocations: 352.6 MB / 0.8973 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.8881, allocations: 82.42 kB / 0.8973 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of FrontEnd: time 0.7195/1.608, allocations: 258.9 MB / 1.15 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.943e-05/1.608, allocations: 16 kB / 1.15 GB, free: 37.6 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00186/1.61, allocations: 0.9089 MB / 1.151 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.61, allocations: 20.02 kB / 1.151 GB, free: 36.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008704/1.611, allocations: 187 kB / 1.151 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02548/1.636, allocations: 12.07 MB / 1.163 GB, free: 24.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000334/1.636, allocations: 96.55 kB / 1.163 GB, free: 24.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/1.637, allocations: 24 kB / 1.163 GB, free: 24.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006489/1.637, allocations: 301.4 kB / 1.163 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006797/1.638, allocations: 412.5 kB / 1.164 GB, free: 23.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/1.638, allocations: 0 / 1.164 GB, free: 23.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.885e-05/1.638, allocations: 0 / 1.164 GB, free: 23.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/1.638, allocations: 16.66 kB / 1.164 GB, free: 23.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003174/1.641, allocations: 2.225 MB / 1.166 GB, free: 20.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/1.642, allocations: 254.9 kB / 1.166 GB, free: 20.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/1.642, allocations: 177 kB / 1.166 GB, free: 20.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/1.642, allocations: 336.7 kB / 1.167 GB, free: 20.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002936/1.643, allocations: 259.3 kB / 1.167 GB, free: 19.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.334e-06/1.643, allocations: 0 / 1.167 GB, free: 19.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001095/1.644, allocations: 438.1 kB / 1.167 GB, free: 19.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/1.644, allocations: 85.11 kB / 1.167 GB, free: 19.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/1.644, allocations: 373.2 kB / 1.168 GB, free: 18.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/1.644, allocations: 29.7 kB / 1.168 GB, free: 18.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/1.644, allocations: 208.3 kB / 1.168 GB, free: 18.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/1.644, allocations: 106.4 kB / 1.168 GB, free: 18.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/1.644, allocations: 0 / 1.168 GB, free: 18.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.665e-05/1.644, allocations: 358.8 kB / 1.169 GB, free: 18.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/1.645, allocations: 127.9 kB / 1.169 GB, free: 18.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/1.645, allocations: 223.4 kB / 1.169 GB, free: 17.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/1.645, allocations: 167.9 kB / 1.169 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.645, allocations: 4 kB / 1.169 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008852/1.646, allocations: 469.5 kB / 1.169 GB, free: 17.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/1.646, allocations: 0.6163 MB / 1.17 GB, free: 16.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.646, allocations: 0 / 1.17 GB, free: 16.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001824/1.647, allocations: 44.78 kB / 1.17 GB, free: 16.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/1.647, allocations: 87.94 kB / 1.17 GB, free: 16.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003808/1.647, allocations: 0.6069 MB / 1.171 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006422/1.648, allocations: 75.69 kB / 1.171 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/1.648, allocations: 24.05 kB / 1.171 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.705e-06/1.648, allocations: 4 kB / 1.171 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007245/1.649, allocations: 372.4 kB / 1.171 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/1.649, allocations: 3.938 kB / 1.171 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001517/1.649, allocations: 48.83 kB / 1.171 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/1.649, allocations: 92.06 kB / 1.171 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/1.65, allocations: 1.501 MB / 1.173 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/1.651, allocations: 63.84 kB / 1.173 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/1.651, allocations: 31.95 kB / 1.173 GB, free: 13.44 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001631/1.651, allocations: 145.4 kB / 1.173 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/1.651, allocations: 59.33 kB / 1.173 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009647/1.652, allocations: 498.2 kB / 1.174 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.652, allocations: 4 kB / 1.174 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/1.652, allocations: 0 / 1.174 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007296/1.653, allocations: 0.6519 MB / 1.174 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/1.655, allocations: 1.095 MB / 1.175 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.655, allocations: 7.984 kB / 1.175 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/1.655, allocations: 71.98 kB / 1.175 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.611e-05/1.655, allocations: 40.78 kB / 1.175 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/1.655, allocations: 11.98 kB / 1.175 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002604/1.656, allocations: 0.5796 MB / 1.176 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.656, allocations: 0 / 1.176 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001026/1.657, allocations: 0.8112 MB / 1.177 GB, free: 9.258 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/1.657, allocations: 184.4 kB / 1.177 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.956e-05/1.657, allocations: 4 kB / 1.177 GB, free: 9.055 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006143/1.658, allocations: 67.94 kB / 1.177 GB, free: 8.988 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/1.658, allocations: 23.88 kB / 1.177 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/1.658, allocations: 23.92 kB / 1.177 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003051/1.658, allocations: 290.9 kB / 1.177 GB, free: 8.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001406/1.66, allocations: 359.4 kB / 1.178 GB, free: 8.309 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00106/1.661, allocations: 421.6 kB / 1.178 GB, free: 7.887 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00133/1.662, allocations: 0.7032 MB / 1.179 GB, free: 7.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.662, allocations: 0.75 kB / 1.179 GB, free: 7.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/1.662, allocations: 249.4 kB / 1.179 GB, free: 6.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/1.664, allocations: 215.6 kB / 1.179 GB, free: 6.703 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/1.665, allocations: 0.7707 MB / 1.18 GB, free: 5.902 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004948/1.666, allocations: 0.9449 MB / 1.181 GB, free: 4.934 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/1.666, allocations: 0 / 1.181 GB, free: 4.934 MB / 0.6042 GB Notification: Performance of Templates: time 0.2186/1.885, allocations: 12.82 MB / 1.193 GB, free: 188.5 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)