Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") [: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 9.1.1-maint.9.1.x/package.mo): time 2.099/2.099, allocations: 387.2 MB / 394.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 189.2 kB / 487 MB, free: 5.363 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.3 MB / 0.7819 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009276/0.0009275, allocations: 94.06 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.582e-06/6.602e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3254, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.166/5.492, allocations: 1.97 GB / 3.175 GB, free: 355.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/5.492, allocations: 91.89 kB / 3.175 GB, free: 355.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.179/7.671, allocations: 0.6301 GB / 3.805 GB, free: 150.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002677/7.671, allocations: 35.36 kB / 3.805 GB, free: 150.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.00554/7.677, allocations: 1.587 MB / 3.807 GB, free: 149 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/7.677, allocations: 12.03 kB / 3.807 GB, free: 149 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/7.68, allocations: 393.8 kB / 3.807 GB, free: 148.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003644/7.683, allocations: 1.229 MB / 3.809 GB, free: 147.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/7.683, allocations: 32 kB / 3.809 GB, free: 147.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/7.684, allocations: 64 kB / 3.809 GB, free: 147.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001791/7.686, allocations: 0.7108 MB / 3.809 GB, free: 146.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/7.688, allocations: 0.9524 MB / 3.81 GB, free: 145.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/7.688, allocations: 11.94 kB / 3.81 GB, free: 145.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/7.688, allocations: 0 / 3.81 GB, free: 145.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.422e-05/7.688, allocations: 37.94 kB / 3.81 GB, free: 145.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007728/7.696, allocations: 5.114 MB / 3.815 GB, free: 140.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/7.697, allocations: 0.6452 MB / 3.816 GB, free: 139.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000453/7.697, allocations: 321.1 kB / 3.816 GB, free: 139.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006045/7.698, allocations: 315.9 kB / 3.817 GB, free: 138.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/7.698, allocations: 43.22 kB / 3.817 GB, free: 138.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 2.885e-06/7.698, allocations: 0 / 3.817 GB, free: 138.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001986/7.7, allocations: 0.7408 MB / 3.817 GB, free: 138 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/7.7, allocations: 166.9 kB / 3.817 GB, free: 137.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000863/7.701, allocations: 0.6001 MB / 3.818 GB, free: 137.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.451e-05/7.701, allocations: 25.7 kB / 3.818 GB, free: 137.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/7.701, allocations: 411.4 kB / 3.818 GB, free: 136.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000207/7.701, allocations: 240.4 kB / 3.819 GB, free: 136.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/7.701, allocations: 3.938 kB / 3.819 GB, free: 136.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.168e-05/7.701, allocations: 334 kB / 3.819 GB, free: 136.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/7.702, allocations: 229.5 kB / 3.819 GB, free: 136 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/7.702, allocations: 464.6 kB / 3.82 GB, free: 135.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/7.703, allocations: 366.8 kB / 3.82 GB, free: 135.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/7.703, allocations: 4 kB / 3.82 GB, free: 135.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001378/7.704, allocations: 0.8151 MB / 3.821 GB, free: 134.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004274/7.705, allocations: 1.66 MB / 3.822 GB, free: 132.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/7.705, allocations: 4 kB / 3.822 GB, free: 132.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/7.705, allocations: 12 kB / 3.822 GB, free: 132.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/7.706, allocations: 263.6 kB / 3.823 GB, free: 132.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/7.708, allocations: 1.353 MB / 3.824 GB, free: 130.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/7.709, allocations: 111.5 kB / 3.824 GB, free: 130.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.83e-05/7.709, allocations: 35.98 kB / 3.824 GB, free: 130.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/7.709, allocations: 4 kB / 3.824 GB, free: 130.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001136/7.71, allocations: 0.6855 MB / 3.825 GB, free: 129.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/7.71, allocations: 4 kB / 3.825 GB, free: 129.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/7.71, allocations: 8 kB / 3.825 GB, free: 129.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/7.712, allocations: 259.9 kB / 3.825 GB, free: 129.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009771/7.713, allocations: 1.357 MB / 3.826 GB, free: 128.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/7.714, allocations: 103.5 kB / 3.827 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.213e-05/7.714, allocations: 35.98 kB / 3.827 GB, free: 128 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002436/7.714, allocations: 123.7 kB / 3.827 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/7.714, allocations: 106.6 kB / 3.827 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/7.716, allocations: 0.8073 MB / 3.828 GB, free: 126.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/7.716, allocations: 8 kB / 3.828 GB, free: 126.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/7.716, allocations: 3.984 kB / 3.828 GB, free: 126.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001286/7.718, allocations: 0.7377 MB / 3.828 GB, free: 126.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003915/7.721, allocations: 1.881 MB / 3.83 GB, free: 124.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/7.721, allocations: 4.219 kB / 3.83 GB, free: 124.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007847/7.722, allocations: 155.8 kB / 3.83 GB, free: 124.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004393/7.723, allocations: 48.83 kB / 3.83 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.583e-05/7.723, allocations: 7.984 kB / 3.83 GB, free: 124 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/7.724, allocations: 1.316 MB / 3.832 GB, free: 122.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/7.724, allocations: 4.094 kB / 3.832 GB, free: 122.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002151/7.726, allocations: 1.345 MB / 3.833 GB, free: 121.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006403/7.727, allocations: 247.6 kB / 3.833 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/7.727, allocations: 11.89 kB / 3.833 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009443/7.728, allocations: 59.94 kB / 3.833 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.315e-05/7.728, allocations: 44.52 kB / 3.833 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.522e-05/7.728, allocations: 27.98 kB / 3.833 GB, free: 120.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007082/7.729, allocations: 460.1 kB / 3.834 GB, free: 120.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00254/7.732, allocations: 0.6589 MB / 3.834 GB, free: 119.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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: 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003255/7.735, allocations: 2.005 MB / 3.836 GB, free: 117.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003401/7.738, allocations: 1.18 MB / 3.837 GB, free: 116.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/7.738, allocations: 0 / 3.837 GB, free: 116.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007298/7.739, allocations: 425.4 kB / 3.838 GB, free: 116.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/7.741, allocations: 413.1 kB / 3.838 GB, free: 115.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/7.746, allocations: 1.686 MB / 3.84 GB, free: 114 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/7.747, allocations: 1.258 MB / 3.841 GB, free: 112.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.783e-06/7.747, allocations: 0 / 3.841 GB, free: 112.7 MB / 1.151 GB Notification: Performance of Templates: time 0.05061/7.798, allocations: 29.95 MB / 3.87 GB, free: 82.98 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)