Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.402/2.402, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001239/0.001239, allocations: 180 kB / 0.4902 GB, free: 2.234 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.725/1.725, allocations: 223.1 MB / 0.7992 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 98.33 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004046, allocations: 9.875 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.352, allocations: 143 MB / 1.229 GB, free: 85.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.421/5.773, allocations: 1.972 GB / 3.201 GB, free: 432.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/5.773, allocations: 94.02 kB / 3.201 GB, free: 432.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.874/7.647, allocations: 0.6307 GB / 3.832 GB, free: 264 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.515e-06/7.647, allocations: 0 / 3.832 GB, free: 264 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001198/7.647, allocations: 42.75 kB / 3.832 GB, free: 263.9 MB / 1.167 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.004779/7.652, allocations: 1.767 MB / 3.833 GB, free: 262.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/7.652, allocations: 12.83 kB / 3.833 GB, free: 262.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/7.655, allocations: 366.3 kB / 3.834 GB, free: 261.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003053/7.658, allocations: 1.225 MB / 3.835 GB, free: 260.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/7.658, allocations: 85.75 kB / 3.835 GB, free: 260.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/7.658, allocations: 100 kB / 3.835 GB, free: 260.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/7.66, allocations: 1.123 MB / 3.836 GB, free: 259.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/7.66, allocations: 0 / 3.836 GB, free: 259.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.944e-05/7.66, allocations: 46.94 kB / 3.836 GB, free: 259.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/7.66, allocations: 37.98 kB / 3.836 GB, free: 259.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/7.661, allocations: 0.838 MB / 3.837 GB, free: 258.3 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005382/7.666, allocations: 5.141 MB / 3.842 GB, free: 252.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/7.668, allocations: 0.7425 MB / 3.843 GB, free: 252.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004983/7.668, allocations: 310.9 kB / 3.843 GB, free: 251.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/7.668, allocations: 42.59 kB / 3.843 GB, free: 251.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 3.166e-06/7.668, allocations: 0 / 3.843 GB, free: 251.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.001786/7.67, allocations: 1.011 MB / 3.844 GB, free: 250.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/7.67, allocations: 166.8 kB / 3.844 GB, free: 250.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007932/7.671, allocations: 0.7658 MB / 3.845 GB, free: 249.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.824e-05/7.671, allocations: 41.7 kB / 3.845 GB, free: 249.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/7.671, allocations: 0.5501 MB / 3.846 GB, free: 249.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/7.671, allocations: 262.4 kB / 3.846 GB, free: 248.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/7.671, allocations: 8 kB / 3.846 GB, free: 248.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.137e-05/7.671, allocations: 337.1 kB / 3.846 GB, free: 248.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/7.672, allocations: 269.9 kB / 3.846 GB, free: 248.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005099/7.672, allocations: 0.4943 MB / 3.847 GB, free: 247.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/7.673, allocations: 336.7 kB / 3.847 GB, free: 247.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/7.673, allocations: 0 / 3.847 GB, free: 247.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001193/7.674, allocations: 0.8745 MB / 3.848 GB, free: 246.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002921/7.674, allocations: 1.682 MB / 3.85 GB, free: 244.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/7.674, allocations: 4 kB / 3.85 GB, free: 244.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/7.674, allocations: 8 kB / 3.85 GB, free: 244.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/7.676, allocations: 251.7 kB / 3.85 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/7.677, allocations: 1.417 MB / 3.851 GB, free: 242.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/7.678, allocations: 139.3 kB / 3.852 GB, free: 242.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.887e-05/7.678, allocations: 36 kB / 3.852 GB, free: 242.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/7.678, allocations: 4 kB / 3.852 GB, free: 242.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001067/7.679, allocations: 0.7452 MB / 3.852 GB, free: 242 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/7.679, allocations: 4 kB / 3.852 GB, free: 242 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.675e-06/7.679, allocations: 8.469 kB / 3.852 GB, free: 242 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/7.681, allocations: 259.7 kB / 3.853 GB, free: 241.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009081/7.682, allocations: 1.42 MB / 3.854 GB, free: 240.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/7.683, allocations: 131.4 kB / 3.854 GB, free: 240 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/7.683, allocations: 31.98 kB / 3.854 GB, free: 240 MB / 1.167 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 () * Number of clocked 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.0006561/7.684, allocations: 368.9 kB / 3.854 GB, free: 239.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/7.684, allocations: 110.6 kB / 3.855 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/7.685, allocations: 0.8487 MB / 3.855 GB, free: 238.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/7.685, allocations: 8 kB / 3.855 GB, free: 238.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/7.685, allocations: 0 / 3.855 GB, free: 238.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001183/7.686, allocations: 0.7547 MB / 3.856 GB, free: 237.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/7.689, allocations: 2.026 MB / 3.858 GB, free: 235.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/7.69, allocations: 8 kB / 3.858 GB, free: 235.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007443/7.69, allocations: 147.8 kB / 3.858 GB, free: 235.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004246/7.691, allocations: 49.03 kB / 3.858 GB, free: 235.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/7.691, allocations: 16 kB / 3.858 GB, free: 235.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/7.692, allocations: 1.393 MB / 3.86 GB, free: 234 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/7.692, allocations: 12.17 kB / 3.86 GB, free: 234 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/7.694, allocations: 1.399 MB / 3.861 GB, free: 232.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005009/7.694, allocations: 263.4 kB / 3.861 GB, free: 232.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/7.694, allocations: 15.98 kB / 3.861 GB, free: 232.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007337/7.695, allocations: 79.88 kB / 3.861 GB, free: 232.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/7.695, allocations: 44.44 kB / 3.861 GB, free: 232.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/7.695, allocations: 24 kB / 3.861 GB, free: 232.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007676/7.696, allocations: 0.6008 MB / 3.862 GB, free: 231.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.71e-07/7.696, allocations: 0 / 3.862 GB, free: 231.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002171/7.698, allocations: 0.7122 MB / 3.863 GB, free: 230.8 MB / 1.167 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 () * Number of clocked 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.002373/7.701, allocations: 1.773 MB / 3.864 GB, free: 229.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002687/7.703, allocations: 1.193 MB / 3.866 GB, free: 228 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/7.703, allocations: 0 / 3.866 GB, free: 228 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007008/7.704, allocations: 482.2 kB / 3.866 GB, free: 227.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/7.706, allocations: 498.8 kB / 3.867 GB, free: 227.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/7.71, allocations: 2.701 MB / 3.869 GB, free: 224.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/7.71, allocations: 1.167 MB / 3.87 GB, free: 223.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00109/7.711, allocations: 271.9 kB / 3.871 GB, free: 222.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/7.712, allocations: 83.42 kB / 3.871 GB, free: 222.8 MB / 1.167 GB Notification: Performance of SimCode: time 9.71e-07/7.712, allocations: 0 / 3.871 GB, free: 222.8 MB / 1.167 GB Notification: Performance of Templates: time 0.04743/7.759, allocations: 37.93 MB / 3.908 GB, free: 185.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)