Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001334/0.001334, allocations: 112.8 kB / 16.81 MB, free: 5.77 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.001325/0.001325, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.425/1.425, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.78/2.78, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.89 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.307, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2284/0.5354, allocations: 199.6 MB / 1.457 GB, free: 4.617 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01591/0.5513, allocations: 10.4 MB / 1.467 GB, free: 10.18 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.5529, allocations: 55.69 kB / 1.467 GB, free: 10.12 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.5546, allocations: 0.5896 MB / 1.468 GB, free: 9.531 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005164/0.5598, allocations: 2.057 MB / 1.47 GB, free: 7.469 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003607/0.5634, allocations: 1.411 MB / 1.471 GB, free: 6.062 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003967/0.5673, allocations: 2.82 MB / 1.474 GB, free: 3.23 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.5689, allocations: 0.9881 MB / 1.475 GB, free: 2.207 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004255/0.5732, allocations: 1.728 MB / 1.477 GB, free: 496 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.575, allocations: 1.016 MB / 1.478 GB, free: 15.47 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002351/0.5752, allocations: 120 kB / 1.478 GB, free: 15.35 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004296/0.5795, allocations: 2.249 MB / 1.48 GB, free: 13.1 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005213/0.58, allocations: 438.5 kB / 1.48 GB, free: 12.67 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009536/0.581, allocations: 0.7111 MB / 1.481 GB, free: 11.95 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004876/0.5858, allocations: 2.534 MB / 1.483 GB, free: 9.41 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5858, allocations: 7.938 kB / 1.483 GB, free: 9.402 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5858, allocations: 0 / 1.483 GB, free: 9.402 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.645e-05/0.5859, allocations: 0 / 1.483 GB, free: 9.402 MB / 1.201 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.003258/0.5891, allocations: 1.866 MB / 1.485 GB, free: 7.48 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.5892, allocations: 8.625 kB / 1.485 GB, free: 7.473 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/0.5915, allocations: 374.7 kB / 1.486 GB, free: 7.105 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.5935, allocations: 0.984 MB / 1.487 GB, free: 6.078 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/0.5935, allocations: 78 kB / 1.487 GB, free: 6 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.5937, allocations: 108 kB / 1.487 GB, free: 5.895 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.5957, allocations: 1.105 MB / 1.488 GB, free: 4.734 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.5957, allocations: 0 / 1.488 GB, free: 4.734 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.589e-05/0.5958, allocations: 44 kB / 1.488 GB, free: 4.691 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.737e-05/0.5959, allocations: 37.98 kB / 1.488 GB, free: 4.652 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.5974, allocations: 0.8041 MB / 1.489 GB, free: 3.848 MB / 1.201 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.00655/0.604, allocations: 5.091 MB / 1.494 GB, free: 14.4 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.6053, allocations: 0.6611 MB / 1.494 GB, free: 13.73 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/0.6059, allocations: 334.4 kB / 1.495 GB, free: 13.4 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006734/0.6066, allocations: 311.8 kB / 1.495 GB, free: 13.04 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.6066, allocations: 43.12 kB / 1.495 GB, free: 12.99 MB / 1.217 GB Notification: Performance of pre-optimization done (n=70): time 2.695e-06/0.6066, allocations: 0 / 1.495 GB, free: 12.99 MB / 1.217 GB Notification: Performance of matching and sorting (n=70): time 0.002097/0.6087, allocations: 0.9437 MB / 1.496 GB, free: 12.05 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.6088, allocations: 59.97 kB / 1.496 GB, free: 11.98 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.6099, allocations: 0.8803 MB / 1.497 GB, free: 11.08 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.084e-05/0.61, allocations: 41.7 kB / 1.497 GB, free: 11.03 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/0.6105, allocations: 0.5712 MB / 1.497 GB, free: 10.45 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.6107, allocations: 257.8 kB / 1.498 GB, free: 10.2 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.611, allocations: 142.6 kB / 1.498 GB, free: 10.05 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.6111, allocations: 330 kB / 1.498 GB, free: 9.727 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005187/0.6117, allocations: 260.7 kB / 1.498 GB, free: 9.469 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/0.6123, allocations: 458.9 kB / 1.499 GB, free: 8.949 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.6135, allocations: 0.7015 MB / 1.499 GB, free: 8.184 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.6135, allocations: 3.938 kB / 1.499 GB, free: 8.18 MB / 1.217 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001613/0.6152, allocations: 0.8478 MB / 1.5 GB, free: 7.324 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.6152, allocations: 4 kB / 1.5 GB, free: 7.32 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.6152, allocations: 7.984 kB / 1.5 GB, free: 7.312 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.6152, allocations: 12 kB / 1.5 GB, free: 7.301 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.6169, allocations: 256 kB / 1.501 GB, free: 7.051 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.6185, allocations: 1.5 MB / 1.502 GB, free: 5.406 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008689/0.6194, allocations: 87.48 kB / 1.502 GB, free: 5.32 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.416e-05/0.6195, allocations: 40.05 kB / 1.502 GB, free: 5.281 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009097/0.6204, allocations: 474 kB / 1.503 GB, free: 4.816 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006849/0.621, allocations: 455 kB / 1.503 GB, free: 4.301 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00125/0.6223, allocations: 0.7015 MB / 1.504 GB, free: 3.531 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.231e-06/0.6223, allocations: 4 kB / 1.504 GB, free: 3.527 MB / 1.217 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001599/0.6239, allocations: 0.8359 MB / 1.505 GB, free: 2.684 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.6239, allocations: 8 kB / 1.505 GB, free: 2.676 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.6239, allocations: 4.625 kB / 1.505 GB, free: 2.672 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.6239, allocations: 8 kB / 1.505 GB, free: 2.664 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.6256, allocations: 263.6 kB / 1.505 GB, free: 2.406 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.6272, allocations: 1.5 MB / 1.506 GB, free: 0.7617 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009362/0.6282, allocations: 66 kB / 1.506 GB, free: 0.6992 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.6282, allocations: 35.98 kB / 1.506 GB, free: 0.6641 MB / 1.217 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.0003305/0.6286, allocations: 228 kB / 1.507 GB, free: 444 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.6288, allocations: 123.3 kB / 1.507 GB, free: 320 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.6307, allocations: 0.7864 MB / 1.507 GB, free: 15.51 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001458/0.6322, allocations: 0.704 MB / 1.508 GB, free: 14.78 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6322, allocations: 0 / 1.508 GB, free: 14.78 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004286/0.6326, allocations: 260.1 kB / 1.508 GB, free: 14.5 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.6328, allocations: 15.98 kB / 1.508 GB, free: 14.49 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005617/0.6333, allocations: 28.09 kB / 1.508 GB, free: 14.46 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.6334, allocations: 48.53 kB / 1.509 GB, free: 14.41 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001976/0.6354, allocations: 0.8219 MB / 1.509 GB, free: 13.58 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00208/0.6375, allocations: 1.271 MB / 1.511 GB, free: 12.29 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000556/0.638, allocations: 293.1 kB / 1.511 GB, free: 12.01 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000905/0.6389, allocations: 0.6045 MB / 1.511 GB, free: 11.4 MB / 1.232 GB Notification: Performance of Backend: time 4.61e-07/0.6389, allocations: 0 / 1.511 GB, free: 11.4 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.005227/0.6442, allocations: 1.46 MB / 1.513 GB, free: 9.938 MB / 1.232 GB Notification: Performance of SimCode: time 0.005319/0.6495, allocations: 2.827 MB / 1.516 GB, free: 7.062 MB / 1.232 GB Notification: Performance of Templates: time 0.0482/0.6977, allocations: 25.97 MB / 1.541 GB, free: 13.31 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)