Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible") translateModel(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7498/0.7498, allocations: 143.4 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 186 kB / 191.5 MB, free: 5.773 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.2 MB / 447.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008847/0.0008847, allocations: 88.33 kB / 0.5188 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001644/0.001644, allocations: 266.3 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.000416, allocations: 14.53 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1291, allocations: 82.79 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.361/3.49, allocations: 1.882 GB / 2.656 GB, free: 145.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/3.49, allocations: 99.7 kB / 2.656 GB, free: 145.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.8773/4.368, allocations: 329.1 MB / 2.977 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/4.368, allocations: 0 / 2.977 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.372e-05/4.368, allocations: 12 kB / 2.977 GB, free: 119.3 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001415/4.369, allocations: 0.9087 MB / 2.978 GB, free: 118.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/4.369, allocations: 8.562 kB / 2.978 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/4.37, allocations: 171.1 kB / 2.978 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007644/4.371, allocations: 0.5221 MB / 2.979 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/4.371, allocations: 29 kB / 2.979 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/4.371, allocations: 40 kB / 2.979 GB, free: 117.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005362/4.372, allocations: 374.4 kB / 2.979 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/4.372, allocations: 0 / 2.979 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/4.372, allocations: 16 kB / 2.979 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/4.372, allocations: 20.92 kB / 2.979 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004734/4.372, allocations: 311.8 kB / 2.979 GB, free: 116.8 MB / 0.7136 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.001616/4.374, allocations: 1.616 MB / 2.981 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/4.374, allocations: 260.2 kB / 2.981 GB, free: 114.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/4.374, allocations: 101.1 kB / 2.981 GB, free: 114.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/4.374, allocations: 34.52 kB / 2.981 GB, free: 114.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.362e-06/4.375, allocations: 0 / 2.981 GB, free: 114.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0007164/4.375, allocations: 394.9 kB / 2.982 GB, free: 114.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/4.375, allocations: 55.41 kB / 2.982 GB, free: 114.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/4.376, allocations: 369 kB / 2.982 GB, free: 113.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/4.376, allocations: 33.7 kB / 2.982 GB, free: 113.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/4.376, allocations: 256.1 kB / 2.982 GB, free: 113.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/4.376, allocations: 94.64 kB / 2.982 GB, free: 113.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/4.376, allocations: 4 kB / 2.982 GB, free: 113.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.024e-05/4.376, allocations: 362.8 kB / 2.983 GB, free: 113.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/4.376, allocations: 92.52 kB / 2.983 GB, free: 113 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/4.376, allocations: 196 kB / 2.983 GB, free: 112.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/4.376, allocations: 128.1 kB / 2.983 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/4.376, allocations: 0 / 2.983 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004441/4.377, allocations: 347.4 kB / 2.984 GB, free: 112.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/4.377, allocations: 0.7074 MB / 2.984 GB, free: 111.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/4.377, allocations: 4 kB / 2.984 GB, free: 111.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/4.377, allocations: 4 kB / 2.984 GB, free: 111.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/4.377, allocations: 59.91 kB / 2.984 GB, free: 111.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/4.377, allocations: 4 kB / 2.984 GB, free: 111.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/4.378, allocations: 47.66 kB / 2.984 GB, free: 111.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/4.378, allocations: 16 kB / 2.984 GB, free: 111.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.186e-06/4.378, allocations: 4 kB / 2.984 GB, free: 111.4 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004015/4.378, allocations: 283.7 kB / 2.985 GB, free: 111.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/4.378, allocations: 4 kB / 2.985 GB, free: 111.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/4.378, allocations: 7.953 kB / 2.985 GB, free: 111.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/4.379, allocations: 55.91 kB / 2.985 GB, free: 111 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/4.379, allocations: 4 kB / 2.985 GB, free: 111 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/4.379, allocations: 47.92 kB / 2.985 GB, free: 111 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/4.379, allocations: 11.98 kB / 2.985 GB, free: 111 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001999/4.379, allocations: 265 kB / 2.985 GB, free: 110.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/4.379, allocations: 51.44 kB / 2.985 GB, free: 110.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/4.38, allocations: 309.3 kB / 2.985 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/4.38, allocations: 15.95 kB / 2.985 GB, free: 110.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/4.38, allocations: 0 / 2.985 GB, free: 110.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003802/4.38, allocations: 490.6 kB / 2.986 GB, free: 109.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/4.381, allocations: 0.9225 MB / 2.987 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/4.381, allocations: 0 / 2.987 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/4.382, allocations: 71.91 kB / 2.987 GB, free: 108.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/4.382, allocations: 0 / 2.987 GB, free: 108.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/4.382, allocations: 8 kB / 2.987 GB, free: 108.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/4.382, allocations: 4 kB / 2.987 GB, free: 108.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/4.382, allocations: 11.86 kB / 2.987 GB, free: 108.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000578/4.382, allocations: 0.5894 MB / 2.987 GB, free: 108.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/4.382, allocations: 152.6 kB / 2.988 GB, free: 107.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/4.382, allocations: 8.094 kB / 2.988 GB, free: 107.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/4.383, allocations: 31.88 kB / 2.988 GB, free: 107.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/4.383, allocations: 23.92 kB / 2.988 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/4.383, allocations: 15.92 kB / 2.988 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002482/4.383, allocations: 295.1 kB / 2.988 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/4.383, allocations: 0 / 2.988 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000982/4.384, allocations: 355.3 kB / 2.988 GB, free: 107.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/4.385, allocations: 1.027 MB / 2.989 GB, free: 106.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005839/4.386, allocations: 393.7 kB / 2.99 GB, free: 105.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/4.386, allocations: 0 / 2.99 GB, free: 105.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/4.386, allocations: 127.8 kB / 2.99 GB, free: 105.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/4.387, allocations: 294.8 kB / 2.99 GB, free: 105.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/4.389, allocations: 1.271 MB / 2.991 GB, free: 104.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/4.389, allocations: 0.882 MB / 2.992 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004413/4.389, allocations: 132.3 kB / 2.992 GB, free: 103 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/4.389, allocations: 39.42 kB / 2.992 GB, free: 103 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/4.389, allocations: 0 / 2.992 GB, free: 103 MB / 0.7136 GB Notification: Performance of Templates: time 0.02465/4.414, allocations: 20.64 MB / 3.012 GB, free: 82.46 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.sim & ./BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe 2>&1)