Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.766/1.766, allocations: 288.4 MB / 303.7 MB, free: 8.078 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.001062/0.001062, allocations: 180.5 kB / 372.3 MB, free: 10.14 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.838/1.838, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.000903/0.000903, allocations: 90.36 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003535, allocations: 11.75 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2099, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.7332/0.9431, allocations: 180.9 MB / 1.157 GB, free: 6.086 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01626/0.9594, allocations: 9.64 MB / 1.166 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.962, allocations: 49.47 kB / 1.166 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.9638, allocations: 426.6 kB / 1.167 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006632/0.9705, allocations: 1.715 MB / 1.168 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.9749, allocations: 1.098 MB / 1.169 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006042/0.9809, allocations: 3.15 MB / 1.173 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.9832, allocations: 0.992 MB / 1.173 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005637/0.9888, allocations: 1.405 MB / 1.175 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00295/0.9918, allocations: 0.8771 MB / 1.176 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003206/0.9922, allocations: 46.5 kB / 1.176 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00635/0.9985, allocations: 2.338 MB / 1.178 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006625/0.9992, allocations: 337.3 kB / 1.178 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001202/1, allocations: 0.6077 MB / 1.179 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00301/1.003, allocations: 1.782 MB / 1.181 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/1.003, allocations: 0 / 1.181 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.502e-06/1.003, allocations: 2.875 kB / 1.181 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.258e-05/1.004, allocations: 3.938 kB / 1.181 GB, free: 4.941 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.002837/1.006, allocations: 1.563 MB / 1.182 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/1.006, allocations: 7.781 kB / 1.182 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/1.008, allocations: 365.2 kB / 1.183 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/1.01, allocations: 0.9145 MB / 1.183 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.894e-05/1.01, allocations: 78.66 kB / 1.184 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/1.01, allocations: 104.7 kB / 1.184 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/1.012, allocations: 1.089 MB / 1.185 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/1.012, allocations: 3.938 kB / 1.185 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-05/1.012, allocations: 46.84 kB / 1.185 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/1.012, allocations: 34.16 kB / 1.185 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/1.013, allocations: 0.7973 MB / 1.186 GB, free: 1.66 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.005638/1.019, allocations: 5.083 MB / 1.191 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/1.02, allocations: 0.7005 MB / 1.191 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000529/1.02, allocations: 359.7 kB / 1.192 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005981/1.021, allocations: 326.8 kB / 1.192 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/1.021, allocations: 42.03 kB / 1.192 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=70): time 3.116e-06/1.021, allocations: 0 / 1.192 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70): time 0.001963/1.023, allocations: 0.9318 MB / 1.193 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/1.023, allocations: 59.78 kB / 1.193 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/1.024, allocations: 0.8659 MB / 1.194 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/1.024, allocations: 39.14 kB / 1.194 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/1.025, allocations: 0.5619 MB / 1.194 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/1.025, allocations: 246.1 kB / 1.195 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/1.025, allocations: 14.94 kB / 1.195 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.025, allocations: 337.8 kB / 1.195 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/1.025, allocations: 242.9 kB / 1.195 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005845/1.026, allocations: 445.6 kB / 1.196 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/1.027, allocations: 0.7027 MB / 1.196 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.027, allocations: 6.188 kB / 1.196 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001456/1.029, allocations: 0.8298 MB / 1.197 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001912/1.029, allocations: 227.1 kB / 1.197 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.029, allocations: 3 kB / 1.197 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/1.029, allocations: 10.81 kB / 1.197 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/1.03, allocations: 257.8 kB / 1.198 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/1.032, allocations: 1.39 MB / 1.199 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.033, allocations: 111.5 kB / 1.199 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.209e-05/1.033, allocations: 32.61 kB / 1.199 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.218e-06/1.033, allocations: 2.938 kB / 1.199 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/1.034, allocations: 0.7046 MB / 1.2 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.034, allocations: 6.484 kB / 1.2 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/1.034, allocations: 11.83 kB / 1.2 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/1.036, allocations: 257.2 kB / 1.2 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/1.037, allocations: 1.398 MB / 1.201 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009504/1.038, allocations: 108.5 kB / 1.201 GB, free: 5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/1.038, allocations: 29.77 kB / 1.201 GB, free: 4.992 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.0006519/1.039, allocations: 366.8 kB / 1.202 GB, free: 4.695 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/1.039, allocations: 111.2 kB / 1.202 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/1.04, allocations: 0.7858 MB / 1.203 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/1.04, allocations: 8.062 kB / 1.203 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/1.04, allocations: 0 / 1.203 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001227/1.042, allocations: 0.7067 MB / 1.203 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/1.045, allocations: 1.925 MB / 1.205 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.045, allocations: 2.844 kB / 1.205 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006923/1.046, allocations: 141.6 kB / 1.205 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004193/1.046, allocations: 52.16 kB / 1.205 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/1.046, allocations: 13.12 kB / 1.205 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/1.047, allocations: 1.366 MB / 1.207 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.047, allocations: 2.938 kB / 1.207 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/1.05, allocations: 1.249 MB / 1.208 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004732/1.05, allocations: 251.6 kB / 1.208 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/1.05, allocations: 16 kB / 1.208 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/1.051, allocations: 71.66 kB / 1.208 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/1.051, allocations: 52.39 kB / 1.208 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/1.051, allocations: 27.98 kB / 1.208 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007755/1.052, allocations: 0.5848 MB / 1.209 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/1.052, allocations: 0 / 1.209 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001435/1.053, allocations: 0.522 MB / 1.21 GB, free: 14.27 MB / 0.7448 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.0005041/1.054, allocations: 210.8 kB / 1.21 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003471/1.057, allocations: 1.182 MB / 1.211 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.057, allocations: 0 / 1.211 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007503/1.058, allocations: 446.8 kB / 1.211 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/1.061, allocations: 0.498 MB / 1.212 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/1.065, allocations: 2.688 MB / 1.214 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007116/1.065, allocations: 1.136 MB / 1.216 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001082/1.066, allocations: 272.8 kB / 1.216 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/1.067, allocations: 83.42 kB / 1.216 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/1.067, allocations: 0 / 1.216 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of Templates: time 0.02963/1.096, allocations: 16.68 MB / 1.232 GB, free: 7.188 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)