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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.004/2.004, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001041/0.001041, allocations: 184.6 kB / 487.4 MB, free: 5.031 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.321/1.321, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 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.0008191/0.0008192, allocations: 99.72 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.843e-05/1.844e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2542, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.536/4.791, allocations: 1.97 GB / 3.176 GB, free: 380.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/4.791, allocations: 87.95 kB / 3.176 GB, free: 380.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.798/6.589, allocations: 0.6232 GB / 3.799 GB, free: 181.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.535e-06/6.589, allocations: 0 / 3.799 GB, free: 181.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002488/6.59, allocations: 35.75 kB / 3.799 GB, free: 181.3 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.005731/6.595, allocations: 1.575 MB / 3.801 GB, free: 179.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/6.595, allocations: 15.97 kB / 3.801 GB, free: 179.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002858/6.598, allocations: 363.2 kB / 3.801 GB, free: 179.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003951/6.602, allocations: 1.225 MB / 3.802 GB, free: 178.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.415e-05/6.602, allocations: 32 kB / 3.802 GB, free: 178.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/6.603, allocations: 67.91 kB / 3.803 GB, free: 178 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001553/6.604, allocations: 0.6912 MB / 3.803 GB, free: 177.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/6.606, allocations: 0.9446 MB / 3.804 GB, free: 176.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/6.606, allocations: 4 kB / 3.804 GB, free: 176.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.296e-05/6.606, allocations: 0 / 3.804 GB, free: 176.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/6.606, allocations: 38 kB / 3.804 GB, free: 176.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005451/6.611, allocations: 4.925 MB / 3.809 GB, free: 171.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/6.612, allocations: 0.6199 MB / 3.81 GB, free: 170.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/6.613, allocations: 314.1 kB / 3.81 GB, free: 170.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004981/6.613, allocations: 310.6 kB / 3.81 GB, free: 169.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/6.613, allocations: 47.62 kB / 3.81 GB, free: 169.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 2.054e-06/6.613, allocations: 4 kB / 3.81 GB, free: 169.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001439/6.615, allocations: 0.7125 MB / 3.811 GB, free: 169 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/6.615, allocations: 162.8 kB / 3.811 GB, free: 168.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006529/6.615, allocations: 0.5923 MB / 3.812 GB, free: 168.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/6.615, allocations: 29.7 kB / 3.812 GB, free: 168.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/6.616, allocations: 0.5619 MB / 3.812 GB, free: 167.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/6.616, allocations: 236.4 kB / 3.812 GB, free: 167.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/6.616, allocations: 4 kB / 3.812 GB, free: 167.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.17e-05/6.616, allocations: 334 kB / 3.813 GB, free: 167 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/6.616, allocations: 225.5 kB / 3.813 GB, free: 166.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/6.617, allocations: 457.1 kB / 3.813 GB, free: 166.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/6.617, allocations: 352.3 kB / 3.814 GB, free: 165.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/6.617, allocations: 4 kB / 3.814 GB, free: 165.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001113/6.618, allocations: 0.7878 MB / 3.815 GB, free: 165.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000311/6.619, allocations: 1.672 MB / 3.816 GB, free: 163.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/6.619, allocations: 4 kB / 3.816 GB, free: 163.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/6.619, allocations: 8 kB / 3.816 GB, free: 163.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/6.62, allocations: 259.6 kB / 3.816 GB, free: 163.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009361/6.621, allocations: 1.365 MB / 3.818 GB, free: 161.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009234/6.622, allocations: 99.47 kB / 3.818 GB, free: 161.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-05/6.622, allocations: 31.98 kB / 3.818 GB, free: 161.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.647e-06/6.622, allocations: 8 kB / 3.818 GB, free: 161.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009898/6.623, allocations: 0.6661 MB / 3.819 GB, free: 160.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/6.623, allocations: 4.562 kB / 3.819 GB, free: 160.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/6.623, allocations: 8 kB / 3.819 GB, free: 160.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/6.624, allocations: 255.7 kB / 3.819 GB, free: 160.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007929/6.625, allocations: 1.361 MB / 3.82 GB, free: 159 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/6.626, allocations: 103.6 kB / 3.82 GB, free: 158.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/6.626, allocations: 35.98 kB / 3.82 GB, free: 158.9 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.0001756/6.627, allocations: 124.7 kB / 3.82 GB, free: 158.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/6.627, allocations: 102.8 kB / 3.82 GB, free: 158.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/6.628, allocations: 0.7865 MB / 3.821 GB, free: 157.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/6.628, allocations: 11.95 kB / 3.821 GB, free: 157.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/6.628, allocations: 0 / 3.821 GB, free: 157.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/6.629, allocations: 0.7147 MB / 3.822 GB, free: 157.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/6.632, allocations: 1.85 MB / 3.824 GB, free: 155.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/6.632, allocations: 3.938 kB / 3.824 GB, free: 155.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006543/6.633, allocations: 151.8 kB / 3.824 GB, free: 155 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003788/6.633, allocations: 45.05 kB / 3.824 GB, free: 155 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/6.633, allocations: 7.938 kB / 3.824 GB, free: 155 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009054/6.634, allocations: 1.328 MB / 3.825 GB, free: 153.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/6.634, allocations: 4 kB / 3.825 GB, free: 153.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/6.636, allocations: 1.303 MB / 3.827 GB, free: 152.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/6.636, allocations: 255.6 kB / 3.827 GB, free: 151.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/6.636, allocations: 4 kB / 3.827 GB, free: 151.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007013/6.637, allocations: 71.83 kB / 3.827 GB, free: 151.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/6.637, allocations: 40.5 kB / 3.827 GB, free: 151.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/6.637, allocations: 27.98 kB / 3.827 GB, free: 151.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004707/6.638, allocations: 460.1 kB / 3.827 GB, free: 151.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.81e-07/6.638, allocations: 0 / 3.827 GB, free: 151.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001803/6.64, allocations: 0.6543 MB / 3.828 GB, free: 150.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.002462/6.642, allocations: 1.994 MB / 3.83 GB, free: 148.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002283/6.644, allocations: 1.076 MB / 3.831 GB, free: 147.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/6.644, allocations: 0 / 3.831 GB, free: 147.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005563/6.645, allocations: 419.7 kB / 3.831 GB, free: 147.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/6.647, allocations: 424.9 kB / 3.832 GB, free: 146.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/6.65, allocations: 1.654 MB / 3.833 GB, free: 145.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/6.65, allocations: 1.173 MB / 3.835 GB, free: 143.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001262/6.652, allocations: 315.5 kB / 3.835 GB, free: 143.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/6.652, allocations: 63.42 kB / 3.835 GB, free: 143.6 MB / 1.151 GB Notification: Performance of SimCode: time 4.11e-07/6.652, allocations: 0 / 3.835 GB, free: 143.6 MB / 1.151 GB Notification: Performance of Templates: time 0.03629/6.688, allocations: 26.57 MB / 3.861 GB, free: 117.2 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)