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.658/2.658, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001357/0.001357, allocations: 190.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.306/2.306, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009633/0.0009629, allocations: 89.17 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004731, allocations: 11.83 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2254, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 1.003/1.228, allocations: 180.9 MB / 1.155 GB, free: 7.039 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02145/1.25, allocations: 9.63 MB / 1.164 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/1.252, allocations: 49.06 kB / 1.164 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002365/1.254, allocations: 409.1 kB / 1.165 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00783/1.262, allocations: 1.442 MB / 1.166 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005158/1.267, allocations: 1.045 MB / 1.167 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006596/1.274, allocations: 3.115 MB / 1.17 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00249/1.277, allocations: 0.8699 MB / 1.171 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005246/1.282, allocations: 1.302 MB / 1.172 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/1.285, allocations: 0.8659 MB / 1.173 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004961/1.285, allocations: 47.62 kB / 1.173 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005668/1.291, allocations: 1.315 MB / 1.175 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0009414/1.292, allocations: 343.6 kB / 1.175 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007386/1.293, allocations: 272.1 kB / 1.175 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004544/1.297, allocations: 1.669 MB / 1.177 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/1.297, allocations: 7.984 kB / 1.177 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.745e-06/1.297, allocations: 0 / 1.177 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.407e-05/1.297, allocations: 0 / 1.177 GB, free: 7.414 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.004523/1.302, allocations: 1.575 MB / 1.178 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.302, allocations: 7.812 kB / 1.178 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003292/1.305, allocations: 368.7 kB / 1.179 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002719/1.308, allocations: 0.8695 MB / 1.18 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.744e-05/1.308, allocations: 85.45 kB / 1.18 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/1.308, allocations: 100.9 kB / 1.18 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/1.311, allocations: 1.096 MB / 1.181 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/1.311, allocations: 0 / 1.181 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/1.311, allocations: 42.88 kB / 1.181 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-05/1.311, allocations: 39.61 kB / 1.181 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/1.314, allocations: 0.8003 MB / 1.182 GB, free: 4.172 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.009953/1.324, allocations: 5.082 MB / 1.187 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/1.326, allocations: 0.7042 MB / 1.187 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009358/1.327, allocations: 352 kB / 1.188 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009537/1.328, allocations: 338.4 kB / 1.188 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/1.328, allocations: 38.47 kB / 1.188 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=70): time 3.226e-06/1.328, allocations: 0 / 1.188 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70): time 0.003188/1.331, allocations: 0.9327 MB / 1.189 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/1.331, allocations: 58.25 kB / 1.189 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/1.333, allocations: 0.8643 MB / 1.19 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001656/1.333, allocations: 40.2 kB / 1.19 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006052/1.334, allocations: 0.5581 MB / 1.19 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003626/1.334, allocations: 246.2 kB / 1.191 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.535e-05/1.334, allocations: 14.84 kB / 1.191 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.334, allocations: 341.9 kB / 1.191 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007838/1.335, allocations: 245 kB / 1.191 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009599/1.336, allocations: 440.3 kB / 1.192 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009456/1.337, allocations: 313.7 kB / 1.192 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/1.337, allocations: 1.906 kB / 1.192 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002348/1.339, allocations: 0.8239 MB / 1.193 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001905/1.34, allocations: 242.8 kB / 1.193 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.34, allocations: 5.188 kB / 1.193 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.36e-05/1.34, allocations: 12.98 kB / 1.193 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/1.342, allocations: 248.1 kB / 1.193 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/1.344, allocations: 1.39 MB / 1.195 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/1.346, allocations: 115.5 kB / 1.195 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.587e-05/1.346, allocations: 29.66 kB / 1.195 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/1.346, allocations: 5.875 kB / 1.195 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002001/1.348, allocations: 0.7037 MB / 1.195 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/1.348, allocations: 5.062 kB / 1.195 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/1.348, allocations: 9.125 kB / 1.195 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/1.351, allocations: 256.8 kB / 1.196 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/1.353, allocations: 1.398 MB / 1.197 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/1.355, allocations: 112.1 kB / 1.197 GB, free: 7.836 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.624e-05/1.355, allocations: 28.66 kB / 1.197 GB, free: 7.832 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (94): * Single equations (assignments): 93 * 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.0008596/1.356, allocations: 367.9 kB / 1.198 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/1.356, allocations: 114.8 kB / 1.198 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/1.359, allocations: 0.7865 MB / 1.198 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/1.359, allocations: 13.92 kB / 1.198 GB, free: 7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.359, allocations: 0 / 1.198 GB, free: 7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002125/1.361, allocations: 0.7037 MB / 1.199 GB, free: 6.562 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005445/1.366, allocations: 1.926 MB / 1.201 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/1.367, allocations: 6.828 kB / 1.201 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/1.368, allocations: 143 kB / 1.201 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006782/1.369, allocations: 48.31 kB / 1.201 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-05/1.369, allocations: 17.75 kB / 1.201 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/1.371, allocations: 1.351 MB / 1.203 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.371, allocations: 0 / 1.203 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/1.374, allocations: 1.243 MB / 1.204 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000741/1.375, allocations: 257 kB / 1.204 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/1.375, allocations: 23.8 kB / 1.204 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/1.376, allocations: 55.42 kB / 1.204 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/1.377, allocations: 50.17 kB / 1.204 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.448e-05/1.377, allocations: 25 kB / 1.204 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001182/1.378, allocations: 0.5832 MB / 1.205 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.81e-07/1.378, allocations: 0 / 1.205 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002156/1.38, allocations: 0.5309 MB / 1.205 GB, free: 2.25 MB / 0.7292 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.0007223/1.381, allocations: 225.1 kB / 1.205 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006325/1.387, allocations: 1.182 MB / 1.207 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.387, allocations: 0 / 1.207 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/1.389, allocations: 442.2 kB / 1.207 GB, free: 416 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004609/1.393, allocations: 0.5036 MB / 1.208 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006539/1.4, allocations: 2.677 MB / 1.21 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/1.401, allocations: 1.144 MB / 1.211 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001925/1.403, allocations: 264.8 kB / 1.212 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/1.403, allocations: 83.42 kB / 1.212 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of SimCode: time 1.132e-06/1.403, allocations: 0 / 1.212 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.0497/1.453, allocations: 16.4 MB / 1.228 GB, free: 11.43 MB / 0.7605 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)