Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json 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/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 114.2 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 183.9 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.89 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7535/0.7548, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2043/0.9591, allocations: 198.9 MB / 1.362 GB, free: 12.23 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.9739, allocations: 10.37 MB / 1.372 GB, free: 1.828 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.9759, allocations: 59.69 kB / 1.372 GB, free: 1.77 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.9779, allocations: 0.574 MB / 1.372 GB, free: 1.191 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006021/0.984, allocations: 2.054 MB / 1.374 GB, free: 15.12 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003749/0.9878, allocations: 1.394 MB / 1.376 GB, free: 13.74 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003724/0.9915, allocations: 2.822 MB / 1.378 GB, free: 10.91 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.9933, allocations: 1.175 MB / 1.38 GB, free: 9.699 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003926/0.9973, allocations: 1.721 MB / 1.381 GB, free: 7.984 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.9989, allocations: 0.9612 MB / 1.382 GB, free: 7.023 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003035/0.9992, allocations: 120 kB / 1.382 GB, free: 6.906 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003897/1.003, allocations: 2.155 MB / 1.384 GB, free: 4.746 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005278/1.004, allocations: 426.7 kB / 1.385 GB, free: 4.328 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/1.005, allocations: 0.715 MB / 1.385 GB, free: 3.609 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004342/1.009, allocations: 2.53 MB / 1.388 GB, free: 1.07 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.009, allocations: 0 / 1.388 GB, free: 1.07 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.695e-06/1.009, allocations: 4 kB / 1.388 GB, free: 1.066 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.448e-05/1.009, allocations: 3.938 kB / 1.388 GB, free: 1.062 MB / 1.107 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.003469/1.013, allocations: 1.858 MB / 1.39 GB, free: 15.15 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.013, allocations: 12.03 kB / 1.39 GB, free: 15.14 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/1.015, allocations: 382.7 kB / 1.39 GB, free: 14.76 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/1.017, allocations: 0.9724 MB / 1.391 GB, free: 13.75 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.483e-05/1.017, allocations: 89.97 kB / 1.391 GB, free: 13.66 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/1.017, allocations: 107.9 kB / 1.391 GB, free: 13.55 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/1.019, allocations: 1.099 MB / 1.392 GB, free: 12.39 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/1.019, allocations: 3.938 kB / 1.392 GB, free: 12.39 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.77e-05/1.019, allocations: 44 kB / 1.392 GB, free: 12.35 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.274e-05/1.019, allocations: 41.94 kB / 1.392 GB, free: 12.3 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/1.02, allocations: 0.8041 MB / 1.393 GB, free: 11.5 MB / 1.123 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.005553/1.026, allocations: 5.084 MB / 1.398 GB, free: 6.066 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/1.027, allocations: 0.6957 MB / 1.399 GB, free: 5.363 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005545/1.028, allocations: 359.9 kB / 1.399 GB, free: 5.012 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005752/1.028, allocations: 311.9 kB / 1.4 GB, free: 4.652 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/1.028, allocations: 39.12 kB / 1.4 GB, free: 4.605 MB / 1.123 GB Notification: Performance of pre-optimization done (n=70): time 3.016e-06/1.028, allocations: 0 / 1.4 GB, free: 4.605 MB / 1.123 GB Notification: Performance of matching and sorting (n=70): time 0.001911/1.03, allocations: 0.9553 MB / 1.4 GB, free: 3.648 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/1.03, allocations: 55.97 kB / 1.401 GB, free: 3.582 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009869/1.031, allocations: 0.8803 MB / 1.401 GB, free: 2.684 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/1.031, allocations: 41.7 kB / 1.401 GB, free: 2.637 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000407/1.032, allocations: 0.5671 MB / 1.402 GB, free: 2.062 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/1.032, allocations: 257.8 kB / 1.402 GB, free: 1.809 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/1.032, allocations: 142.6 kB / 1.402 GB, free: 1.664 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.032, allocations: 341.9 kB / 1.403 GB, free: 1.324 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/1.033, allocations: 256.7 kB / 1.403 GB, free: 1.07 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/1.033, allocations: 451 kB / 1.403 GB, free: 0.5586 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/1.035, allocations: 0.6977 MB / 1.404 GB, free: 15.79 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.035, allocations: 7.938 kB / 1.404 GB, free: 15.79 MB / 1.139 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001755/1.036, allocations: 0.8404 MB / 1.405 GB, free: 14.94 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/1.037, allocations: 8 kB / 1.405 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/1.037, allocations: 11.97 kB / 1.405 GB, free: 14.92 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/1.037, allocations: 8 kB / 1.405 GB, free: 14.91 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/1.038, allocations: 267.5 kB / 1.405 GB, free: 14.65 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/1.04, allocations: 1.5 MB / 1.407 GB, free: 13.01 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/1.041, allocations: 81.58 kB / 1.407 GB, free: 12.93 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.041, allocations: 36 kB / 1.407 GB, free: 12.9 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001147/1.043, allocations: 478 kB / 1.407 GB, free: 12.43 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007856/1.043, allocations: 447 kB / 1.408 GB, free: 11.91 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00126/1.045, allocations: 0.7054 MB / 1.408 GB, free: 11.14 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.74e-06/1.045, allocations: 0 / 1.408 GB, free: 11.14 MB / 1.139 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001847/1.047, allocations: 0.8439 MB / 1.409 GB, free: 10.29 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.047, allocations: 4 kB / 1.409 GB, free: 10.29 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/1.047, allocations: 8 kB / 1.409 GB, free: 10.28 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/1.047, allocations: 8 kB / 1.409 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/1.048, allocations: 264.1 kB / 1.409 GB, free: 10.01 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/1.05, allocations: 1.493 MB / 1.411 GB, free: 8.379 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009342/1.051, allocations: 68.83 kB / 1.411 GB, free: 8.312 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.926e-05/1.051, allocations: 28 kB / 1.411 GB, free: 8.285 MB / 1.139 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002716/1.051, allocations: 233.8 kB / 1.411 GB, free: 8.051 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/1.051, allocations: 115.2 kB / 1.411 GB, free: 7.938 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/1.053, allocations: 0.7981 MB / 1.412 GB, free: 7.125 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001366/1.055, allocations: 0.7156 MB / 1.413 GB, free: 6.379 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.055, allocations: 0 / 1.413 GB, free: 6.379 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004446/1.055, allocations: 260 kB / 1.413 GB, free: 6.105 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/1.055, allocations: 16 kB / 1.413 GB, free: 6.09 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006013/1.056, allocations: 19.98 kB / 1.413 GB, free: 6.07 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/1.056, allocations: 40.59 kB / 1.413 GB, free: 6.031 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001923/1.058, allocations: 0.8259 MB / 1.414 GB, free: 5.195 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001876/1.06, allocations: 1.267 MB / 1.415 GB, free: 3.91 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005017/1.06, allocations: 321 kB / 1.415 GB, free: 3.598 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008319/1.061, allocations: 0.589 MB / 1.416 GB, free: 3 MB / 1.139 GB Notification: Performance of Backend: time 4.51e-07/1.061, allocations: 3.938 kB / 1.416 GB, free: 2.996 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005338/1.067, allocations: 1.525 MB / 1.418 GB, free: 1.473 MB / 1.139 GB Notification: Performance of SimCode: time 0.005329/1.072, allocations: 2.842 MB / 1.42 GB, free: 14.58 MB / 1.154 GB Notification: Performance of Templates: time 0.04336/1.115, allocations: 25.52 MB / 1.445 GB, free: 5.273 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)