Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.198/1.198, allocations: 249.4 MB / 256.7 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 181 kB / 316 MB, free: 3.512 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.121/1.121, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008469/0.0008469, allocations: 93.58 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.164e-06/7.204e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1612, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.789/3.951, allocations: 2.245 GB / 3.13 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/3.951, allocations: 95.53 kB / 3.13 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.621/5.572, allocations: 0.6026 GB / 3.733 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.178e-05/5.572, allocations: 40.16 kB / 3.733 GB, free: 179.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002365/5.575, allocations: 1.589 MB / 3.734 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/5.575, allocations: 10.09 kB / 3.734 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/5.577, allocations: 392 kB / 3.735 GB, free: 179 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/5.579, allocations: 1.233 MB / 3.736 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/5.579, allocations: 32.56 kB / 3.736 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/5.579, allocations: 61.31 kB / 3.736 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001349/5.58, allocations: 0.7089 MB / 3.737 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/5.582, allocations: 0.9507 MB / 3.738 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/5.582, allocations: 5.062 kB / 3.738 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.359e-05/5.582, allocations: 6.062 kB / 3.738 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.803e-05/5.582, allocations: 35.38 kB / 3.738 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004912/5.587, allocations: 5.052 MB / 3.743 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/5.588, allocations: 0.6403 MB / 3.743 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/5.588, allocations: 316.9 kB / 3.743 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005427/5.589, allocations: 313.4 kB / 3.744 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/5.589, allocations: 46.34 kB / 3.744 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 2.535e-06/5.589, allocations: 1 kB / 3.744 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.001697/5.591, allocations: 0.7368 MB / 3.745 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/5.591, allocations: 169.5 kB / 3.745 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007425/5.592, allocations: 0.5967 MB / 3.745 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/5.592, allocations: 26.77 kB / 3.745 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/5.592, allocations: 423.7 kB / 3.746 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/5.592, allocations: 229.6 kB / 3.746 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/5.592, allocations: 0 / 3.746 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.855e-05/5.592, allocations: 340.3 kB / 3.746 GB, free: 173 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/5.592, allocations: 229.6 kB / 3.746 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/5.593, allocations: 455.7 kB / 3.747 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/5.594, allocations: 369.1 kB / 3.747 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/5.594, allocations: 1.406 kB / 3.747 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001283/5.595, allocations: 0.8115 MB / 3.748 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000258/5.595, allocations: 1.655 MB / 3.75 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/5.595, allocations: 4.656 kB / 3.75 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/5.595, allocations: 8.469 kB / 3.75 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/5.597, allocations: 269.4 kB / 3.75 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/5.598, allocations: 1.344 MB / 3.751 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009349/5.599, allocations: 101.5 kB / 3.751 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.369e-05/5.599, allocations: 33.09 kB / 3.751 GB, free: 169 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.951e-06/5.599, allocations: 3.594 kB / 3.751 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001136/5.6, allocations: 0.6812 MB / 3.752 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/5.6, allocations: 11.78 kB / 3.752 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/5.6, allocations: 12.91 kB / 3.752 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/5.602, allocations: 262.3 kB / 3.752 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008591/5.603, allocations: 1.353 MB / 3.754 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008387/5.603, allocations: 100.2 kB / 3.754 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/5.604, allocations: 27.91 kB / 3.754 GB, free: 167.4 MB / 0.8698 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.0001719/5.604, allocations: 121.6 kB / 3.754 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/5.604, allocations: 116.5 kB / 3.754 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/5.606, allocations: 0.8094 MB / 3.755 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/5.606, allocations: 9.375 kB / 3.755 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/5.606, allocations: 0 / 3.755 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001246/5.607, allocations: 0.7279 MB / 3.756 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/5.61, allocations: 1.878 MB / 3.757 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/5.61, allocations: 1.094 kB / 3.757 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007771/5.611, allocations: 160.9 kB / 3.758 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003944/5.611, allocations: 44.66 kB / 3.758 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-05/5.611, allocations: 12.44 kB / 3.758 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009955/5.612, allocations: 1.317 MB / 3.759 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/5.612, allocations: 2.344 kB / 3.759 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001932/5.614, allocations: 1.37 MB / 3.76 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/5.614, allocations: 257 kB / 3.76 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/5.615, allocations: 8.906 kB / 3.76 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007033/5.615, allocations: 68.33 kB / 3.761 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/5.615, allocations: 39.98 kB / 3.761 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/5.615, allocations: 27.94 kB / 3.761 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004736/5.616, allocations: 464.8 kB / 3.761 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001558/5.617, allocations: 0.655 MB / 3.762 GB, free: 163 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],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.002065/5.619, allocations: 2.011 MB / 3.764 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003015/5.623, allocations: 1.171 MB / 3.765 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/5.623, allocations: 1.625 kB / 3.765 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005973/5.623, allocations: 424 kB / 3.765 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/5.625, allocations: 414 kB / 3.766 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/5.628, allocations: 1.693 MB / 3.767 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009305/5.629, allocations: 1.26 MB / 3.768 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.9e-07/5.629, allocations: 0 / 3.768 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.04309/5.672, allocations: 29.96 MB / 3.798 GB, free: 141.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)