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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.8154/0.8154, allocations: 140.1 MB / 156 MB, free: 5.152 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009782/0.0009783, allocations: 178.7 kB / 188.5 MB, free: 15.8 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.4 MB / 426.3 MB, free: 8.438 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009931/0.000993, allocations: 90.31 kB / 0.4945 GB, free: 8.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001705/0.001705, allocations: 277.5 kB / 0.5728 GB, free: 66.19 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004765, allocations: 20 kB / 0.662 GB, free: 6.781 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3633, allocations: 79.3 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.236/4.599, allocations: 2.046 GB / 2.785 GB, free: 162.8 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/4.599, allocations: 91.94 kB / 2.785 GB, free: 162.7 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.017/5.616, allocations: 324.3 MB / 3.102 GB, free: 95.36 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.963e-06/5.616, allocations: 0 / 3.102 GB, free: 95.36 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.867e-05/5.616, allocations: 16 kB / 3.102 GB, free: 95.34 MB / 0.6667 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.00181/5.618, allocations: 0.8985 MB / 3.103 GB, free: 94.39 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/5.618, allocations: 8.031 kB / 3.103 GB, free: 94.38 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/5.619, allocations: 172 kB / 3.103 GB, free: 94.21 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000958/5.62, allocations: 0.5377 MB / 3.104 GB, free: 93.64 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/5.62, allocations: 29.38 kB / 3.104 GB, free: 93.61 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.027e-05/5.62, allocations: 40.38 kB / 3.104 GB, free: 93.57 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/5.621, allocations: 375 kB / 3.104 GB, free: 93.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/5.621, allocations: 7.938 kB / 3.104 GB, free: 93.19 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/5.621, allocations: 16 kB / 3.104 GB, free: 93.18 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/5.621, allocations: 20.92 kB / 3.104 GB, free: 93.15 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004824/5.622, allocations: 303.8 kB / 3.104 GB, free: 92.86 MB / 0.6667 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.001871/5.624, allocations: 1.624 MB / 3.106 GB, free: 91.08 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/5.624, allocations: 242.9 kB / 3.106 GB, free: 90.84 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/5.624, allocations: 128.8 kB / 3.106 GB, free: 90.71 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/5.624, allocations: 101.1 kB / 3.106 GB, free: 90.59 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/5.624, allocations: 42.5 kB / 3.107 GB, free: 90.54 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 1.894e-06/5.624, allocations: 0 / 3.107 GB, free: 90.54 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.0008001/5.625, allocations: 401.7 kB / 3.107 GB, free: 90.14 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/5.625, allocations: 51.41 kB / 3.107 GB, free: 90.08 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/5.626, allocations: 425.9 kB / 3.107 GB, free: 89.66 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/5.626, allocations: 29.7 kB / 3.107 GB, free: 89.62 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/5.626, allocations: 263.9 kB / 3.108 GB, free: 89.36 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.77e-05/5.626, allocations: 90.64 kB / 3.108 GB, free: 89.27 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/5.626, allocations: 12 kB / 3.108 GB, free: 89.26 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.44e-05/5.626, allocations: 350.7 kB / 3.108 GB, free: 88.91 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/5.626, allocations: 100.5 kB / 3.108 GB, free: 88.81 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/5.626, allocations: 195.5 kB / 3.108 GB, free: 88.58 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/5.627, allocations: 286.2 kB / 3.109 GB, free: 88.28 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/5.627, allocations: 0 / 3.109 GB, free: 88.28 MB / 0.6667 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000475/5.627, allocations: 347.2 kB / 3.109 GB, free: 87.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.348e-05/5.627, allocations: 139.2 kB / 3.109 GB, free: 87.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/5.627, allocations: 4 kB / 3.109 GB, free: 87.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/5.627, allocations: 4 kB / 3.109 GB, free: 87.76 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/5.628, allocations: 59.91 kB / 3.109 GB, free: 87.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/5.628, allocations: 0 / 3.109 GB, free: 87.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/5.628, allocations: 63.53 kB / 3.109 GB, free: 87.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/5.628, allocations: 12 kB / 3.109 GB, free: 87.63 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/5.628, allocations: 5.25 kB / 3.109 GB, free: 87.62 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003969/5.628, allocations: 275.7 kB / 3.11 GB, free: 87.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/5.628, allocations: 4 kB / 3.11 GB, free: 87.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.047e-06/5.628, allocations: 4 kB / 3.11 GB, free: 87.35 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/5.629, allocations: 63.97 kB / 3.11 GB, free: 87.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/5.629, allocations: 4 kB / 3.11 GB, free: 87.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/5.629, allocations: 51.88 kB / 3.11 GB, free: 87.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/5.629, allocations: 16 kB / 3.11 GB, free: 87.21 MB / 0.6667 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.0002168/5.629, allocations: 265 kB / 3.11 GB, free: 86.95 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/5.63, allocations: 47.44 kB / 3.11 GB, free: 86.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/5.63, allocations: 309.4 kB / 3.11 GB, free: 86.59 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/5.63, allocations: 3.938 kB / 3.11 GB, free: 86.58 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/5.63, allocations: 0 / 3.11 GB, free: 86.58 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003722/5.63, allocations: 499.6 kB / 3.111 GB, free: 86.03 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/5.632, allocations: 0.9267 MB / 3.112 GB, free: 85.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/5.632, allocations: 4 kB / 3.112 GB, free: 85.03 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/5.632, allocations: 63.97 kB / 3.112 GB, free: 84.96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/5.632, allocations: 4 kB / 3.112 GB, free: 84.96 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/5.632, allocations: 16.11 kB / 3.112 GB, free: 84.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/5.632, allocations: 3.938 kB / 3.112 GB, free: 84.94 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/5.632, allocations: 4 kB / 3.112 GB, free: 84.94 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/5.633, allocations: 0.5498 MB / 3.112 GB, free: 84.36 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/5.633, allocations: 148.5 kB / 3.112 GB, free: 84.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/5.633, allocations: 7.984 kB / 3.112 GB, free: 84.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/5.633, allocations: 39.77 kB / 3.112 GB, free: 84.15 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/5.633, allocations: 23.91 kB / 3.112 GB, free: 84.12 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/5.633, allocations: 8 kB / 3.112 GB, free: 84.12 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002571/5.634, allocations: 299.1 kB / 3.113 GB, free: 83.83 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.41e-07/5.634, allocations: 0 / 3.113 GB, free: 83.83 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009353/5.634, allocations: 363.3 kB / 3.113 GB, free: 83.47 MB / 0.6667 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.001351/5.636, allocations: 1.045 MB / 3.114 GB, free: 82.43 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006144/5.636, allocations: 404.4 kB / 3.115 GB, free: 82.04 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/5.636, allocations: 0 / 3.115 GB, free: 82.04 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/5.637, allocations: 127 kB / 3.115 GB, free: 81.91 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/5.638, allocations: 294.5 kB / 3.115 GB, free: 81.62 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/5.64, allocations: 1.365 MB / 3.116 GB, free: 80.22 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/5.64, allocations: 0.8664 MB / 3.117 GB, free: 79.33 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005396/5.641, allocations: 128.3 kB / 3.117 GB, free: 79.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/5.641, allocations: 39.44 kB / 3.117 GB, free: 79.16 MB / 0.6667 GB Notification: Performance of SimCode: time 6.31e-07/5.641, allocations: 4 kB / 3.117 GB, free: 79.16 MB / 0.6667 GB Notification: Performance of Templates: time 0.02763/5.668, allocations: 21.1 MB / 3.138 GB, free: 58.14 MB / 0.6667 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)