Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 289.8 MB / 297.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 185.2 kB / 366.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.1 MB / 0.6256 GB, free: 5.84 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009184/0.0009182, allocations: 93.64 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.04e-05/1.043e-05, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.73/0.73, allocations: 116.3 MB / 0.9726 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9241/1.654, allocations: 389.3 MB / 1.353 GB, free: 98.66 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/1.654, allocations: 87.73 kB / 1.353 GB, free: 98.61 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.9672/2.622, allocations: 253.4 MB / 1.6 GB, free: 230.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.708e-05/2.622, allocations: 19.66 kB / 1.6 GB, free: 230.5 MB / 0.948 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.001468/2.623, allocations: 0.9091 MB / 1.601 GB, free: 230.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/2.623, allocations: 9.344 kB / 1.601 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000815/2.624, allocations: 199 kB / 1.601 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02439/2.648, allocations: 11.81 MB / 1.613 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003325/2.649, allocations: 89.39 kB / 1.613 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/2.649, allocations: 22.62 kB / 1.613 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006086/2.65, allocations: 298.9 kB / 1.613 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/2.65, allocations: 409.3 kB / 1.614 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/2.65, allocations: 0 / 1.614 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/2.65, allocations: 3.906 kB / 1.614 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/2.65, allocations: 11.19 kB / 1.614 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/2.653, allocations: 2.22 MB / 1.616 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/2.654, allocations: 266.8 kB / 1.616 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/2.654, allocations: 175.5 kB / 1.616 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002752/2.654, allocations: 336.9 kB / 1.617 GB, free: 227.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002968/2.654, allocations: 245.8 kB / 1.617 GB, free: 227.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/2.654, allocations: 3.5 kB / 1.617 GB, free: 227.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001004/2.655, allocations: 443.4 kB / 1.617 GB, free: 227.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/2.655, allocations: 91.27 kB / 1.617 GB, free: 227.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/2.656, allocations: 363.8 kB / 1.618 GB, free: 227.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/2.656, allocations: 29.39 kB / 1.618 GB, free: 227.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/2.656, allocations: 213.8 kB / 1.618 GB, free: 227.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.052e-05/2.656, allocations: 102.5 kB / 1.618 GB, free: 227 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/2.656, allocations: 7.031 kB / 1.618 GB, free: 227 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.203e-05/2.656, allocations: 357.5 kB / 1.618 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/2.656, allocations: 122.4 kB / 1.619 GB, free: 226.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/2.656, allocations: 217.8 kB / 1.619 GB, free: 226.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/2.657, allocations: 171.4 kB / 1.619 GB, free: 226.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/2.657, allocations: 0 / 1.619 GB, free: 226.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000828/2.658, allocations: 469.9 kB / 1.619 GB, free: 226.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/2.658, allocations: 0.6175 MB / 1.62 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/2.658, allocations: 9.938 kB / 1.62 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/2.658, allocations: 37.94 kB / 1.62 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/2.658, allocations: 96.41 kB / 1.62 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003814/2.659, allocations: 0.6087 MB / 1.621 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/2.659, allocations: 74.02 kB / 1.621 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/2.659, allocations: 19.05 kB / 1.621 GB, free: 225.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.27e-06/2.659, allocations: 3.75 kB / 1.621 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000693/2.66, allocations: 367.6 kB / 1.621 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/2.66, allocations: 3.938 kB / 1.621 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/2.66, allocations: 53.92 kB / 1.621 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/2.661, allocations: 89.47 kB / 1.621 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/2.662, allocations: 1.492 MB / 1.623 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/2.662, allocations: 74.2 kB / 1.623 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/2.662, allocations: 27.44 kB / 1.623 GB, free: 224 MB / 0.948 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.00016/2.663, allocations: 139.7 kB / 1.623 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-05/2.663, allocations: 56.94 kB / 1.623 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009422/2.664, allocations: 0.4906 MB / 1.623 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/2.664, allocations: 3.875 kB / 1.623 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/2.664, allocations: 0 / 1.623 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000686/2.664, allocations: 0.6619 MB / 1.624 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/2.666, allocations: 1.082 MB / 1.625 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/2.666, allocations: 3.938 kB / 1.625 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/2.666, allocations: 76.47 kB / 1.625 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.731e-05/2.666, allocations: 39.06 kB / 1.625 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/2.666, allocations: 13.23 kB / 1.625 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002561/2.667, allocations: 0.5837 MB / 1.626 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/2.667, allocations: 2.344 kB / 1.626 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001001/2.668, allocations: 0.7995 MB / 1.627 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/2.668, allocations: 184.2 kB / 1.627 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.393e-05/2.668, allocations: 3.406 kB / 1.627 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/2.669, allocations: 71.95 kB / 1.627 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/2.669, allocations: 25.69 kB / 1.627 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/2.669, allocations: 21.27 kB / 1.627 GB, free: 222.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00027/2.669, allocations: 289.3 kB / 1.627 GB, free: 222.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001322/2.67, allocations: 360.1 kB / 1.628 GB, free: 222.1 MB / 0.948 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.0007662/2.671, allocations: 431.7 kB / 1.628 GB, free: 222 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001061/2.672, allocations: 0.7056 MB / 1.629 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/2.672, allocations: 0 / 1.629 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003076/2.673, allocations: 242.4 kB / 1.629 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/2.674, allocations: 219 kB / 1.629 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/2.676, allocations: 0.7695 MB / 1.63 GB, free: 221.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004745/2.676, allocations: 0.9476 MB / 1.631 GB, free: 220.8 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/2.676, allocations: 2.625 kB / 1.631 GB, free: 220.8 MB / 0.948 GB Notification: Performance of Templates: time 0.02091/2.697, allocations: 12.83 MB / 1.643 GB, free: 220.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)