Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.624/2.624, allocations: 287.5 MB / 303.2 MB, free: 8.262 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.001292/0.001292, allocations: 179.2 kB / 371.8 MB, free: 10.81 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.987/1.987, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009525/0.0009518, allocations: 107.1 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004833, allocations: 15.41 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2059, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.406/6.612, allocations: 2.126 GB / 3.105 GB, free: 193 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/6.613, allocations: 95.95 kB / 3.105 GB, free: 192.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.41/10.02, allocations: 0.6188 GB / 3.724 GB, free: 195.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.284e-06/10.02, allocations: 0 / 3.724 GB, free: 195.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001419/10.02, allocations: 40.06 kB / 3.724 GB, free: 195.4 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.005177/10.03, allocations: 1.751 MB / 3.726 GB, free: 194.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/10.03, allocations: 10.94 kB / 3.726 GB, free: 194.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003297/10.03, allocations: 370.3 kB / 3.726 GB, free: 194.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/10.03, allocations: 1.046 MB / 3.727 GB, free: 194.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/10.03, allocations: 79.75 kB / 3.727 GB, free: 194.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/10.03, allocations: 103.7 kB / 3.727 GB, free: 194.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/10.04, allocations: 1.134 MB / 3.728 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.297e-05/10.04, allocations: 6.344 kB / 3.728 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/10.04, allocations: 51.28 kB / 3.728 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-05/10.04, allocations: 35.25 kB / 3.728 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/10.04, allocations: 0.8288 MB / 3.729 GB, free: 194 MB / 0.948 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.008444/10.05, allocations: 5.129 MB / 3.734 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/10.05, allocations: 0.7512 MB / 3.735 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008704/10.05, allocations: 365.9 kB / 3.735 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007399/10.05, allocations: 306.5 kB / 3.736 GB, free: 190.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/10.05, allocations: 42.03 kB / 3.736 GB, free: 190.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 4.689e-06/10.05, allocations: 3.891 kB / 3.736 GB, free: 190.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.003168/10.06, allocations: 1.012 MB / 3.737 GB, free: 190.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/10.06, allocations: 167.8 kB / 3.737 GB, free: 190.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/10.06, allocations: 0.875 MB / 3.738 GB, free: 190.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/10.06, allocations: 42.52 kB / 3.738 GB, free: 190.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004693/10.06, allocations: 0.5555 MB / 3.738 GB, free: 190.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/10.06, allocations: 244.6 kB / 3.738 GB, free: 190.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/10.06, allocations: 14.12 kB / 3.738 GB, free: 190.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.289e-05/10.06, allocations: 338.9 kB / 3.739 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007808/10.06, allocations: 265.7 kB / 3.739 GB, free: 189.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009813/10.06, allocations: 0.5043 MB / 3.739 GB, free: 189.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/10.06, allocations: 0.7317 MB / 3.74 GB, free: 189.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/10.06, allocations: 0 / 3.74 GB, free: 189.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002306/10.06, allocations: 0.8651 MB / 3.741 GB, free: 189.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/10.06, allocations: 224.5 kB / 3.741 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/10.06, allocations: 3.25 kB / 3.741 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/10.06, allocations: 8.031 kB / 3.741 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/10.07, allocations: 257.4 kB / 3.742 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/10.07, allocations: 1.411 MB / 3.743 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/10.07, allocations: 123.1 kB / 3.743 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/10.07, allocations: 40.2 kB / 3.743 GB, free: 187.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.208e-06/10.07, allocations: 7.875 kB / 3.743 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002015/10.07, allocations: 0.7321 MB / 3.744 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/10.07, allocations: 6.906 kB / 3.744 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/10.07, allocations: 5.656 kB / 3.744 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/10.08, allocations: 267.2 kB / 3.744 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/10.08, allocations: 1.409 MB / 3.745 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/10.08, allocations: 118.9 kB / 3.746 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/10.08, allocations: 37.8 kB / 3.746 GB, free: 186.3 MB / 0.948 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.001198/10.08, allocations: 376.9 kB / 3.746 GB, free: 186.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005048/10.08, allocations: 119 kB / 3.746 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004887/10.09, allocations: 0.8404 MB / 3.747 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/10.09, allocations: 7.469 kB / 3.747 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/10.09, allocations: 0 / 3.747 GB, free: 185.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003426/10.09, allocations: 0.7565 MB / 3.748 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005853/10.1, allocations: 2.016 MB / 3.75 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/10.1, allocations: 0 / 3.75 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/10.1, allocations: 156.3 kB / 3.75 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006745/10.1, allocations: 43.72 kB / 3.75 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/10.1, allocations: 20.84 kB / 3.75 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/10.1, allocations: 1.368 MB / 3.751 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/10.1, allocations: 6.062 kB / 3.751 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/10.11, allocations: 1.333 MB / 3.752 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008312/10.11, allocations: 273 kB / 3.753 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/10.11, allocations: 17.88 kB / 3.753 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/10.11, allocations: 73.95 kB / 3.753 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/10.11, allocations: 46.06 kB / 3.753 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.832e-05/10.11, allocations: 24.53 kB / 3.753 GB, free: 183.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001174/10.11, allocations: 0.5944 MB / 3.753 GB, free: 183.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.11e-07/10.11, allocations: 0 / 3.753 GB, free: 183.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002809/10.11, allocations: 0.7113 MB / 3.754 GB, free: 183.5 MB / 0.948 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 () * 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.003201/10.12, allocations: 1.778 MB / 3.756 GB, free: 182.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006341/10.12, allocations: 1.254 MB / 3.757 GB, free: 182.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/10.12, allocations: 0 / 3.757 GB, free: 182.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/10.12, allocations: 474.7 kB / 3.758 GB, free: 182.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004969/10.13, allocations: 0.5073 MB / 3.758 GB, free: 182.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00591/10.13, allocations: 2.692 MB / 3.761 GB, free: 181.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007338/10.13, allocations: 1.143 MB / 3.762 GB, free: 180.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001875/10.14, allocations: 275 kB / 3.762 GB, free: 180.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003685/10.14, allocations: 76.39 kB / 3.762 GB, free: 180.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.483e-06/10.14, allocations: 0 / 3.762 GB, free: 180.8 MB / 0.948 GB Notification: Performance of Templates: time 0.08462/10.22, allocations: 37.95 MB / 3.799 GB, free: 179.1 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)