Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001662/0.001663, allocations: 108 kB / 16.41 MB, free: 6.004 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.001818/0.001818, allocations: 197.5 kB / 17.35 MB, free: 5.582 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.627/1.627, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 63.91 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8565/0.8589, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2223/1.081, allocations: 198.9 MB / 1.403 GB, free: 5.996 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01462/1.096, allocations: 10.35 MB / 1.413 GB, free: 11.61 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/1.098, allocations: 55.69 kB / 1.413 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/1.099, allocations: 0.574 MB / 1.413 GB, free: 10.98 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00553/1.105, allocations: 1.98 MB / 1.415 GB, free: 8.988 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003654/1.109, allocations: 1.385 MB / 1.417 GB, free: 7.613 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003592/1.112, allocations: 2.816 MB / 1.419 GB, free: 4.781 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/1.114, allocations: 1.176 MB / 1.421 GB, free: 3.574 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004067/1.118, allocations: 1.697 MB / 1.422 GB, free: 1.883 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/1.12, allocations: 0.9557 MB / 1.423 GB, free: 0.9297 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002723/1.12, allocations: 123.9 kB / 1.423 GB, free: 0.8086 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003999/1.124, allocations: 2.148 MB / 1.425 GB, free: 14.65 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005271/1.125, allocations: 426.6 kB / 1.426 GB, free: 14.24 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001449/1.126, allocations: 0.7112 MB / 1.426 GB, free: 13.52 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.007092/1.133, allocations: 2.52 MB / 1.429 GB, free: 11 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.133, allocations: 4 kB / 1.429 GB, free: 10.99 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.383e-06/1.133, allocations: 0 / 1.429 GB, free: 10.99 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.068e-05/1.133, allocations: 0 / 1.429 GB, free: 10.99 MB / 1.154 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.005391/1.139, allocations: 1.814 MB / 1.431 GB, free: 9.121 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.139, allocations: 8.031 kB / 1.431 GB, free: 9.113 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003733/1.142, allocations: 369.9 kB / 1.431 GB, free: 8.75 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/1.145, allocations: 0.9714 MB / 1.432 GB, free: 7.734 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.599e-05/1.145, allocations: 78 kB / 1.432 GB, free: 7.66 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/1.146, allocations: 115.8 kB / 1.432 GB, free: 7.547 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/1.149, allocations: 1.103 MB / 1.433 GB, free: 6.383 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/1.149, allocations: 0 / 1.433 GB, free: 6.383 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/1.149, allocations: 44 kB / 1.433 GB, free: 6.34 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.769e-05/1.149, allocations: 34 kB / 1.433 GB, free: 6.309 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/1.151, allocations: 0.8118 MB / 1.434 GB, free: 5.496 MB / 1.154 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.009081/1.16, allocations: 5.07 MB / 1.439 GB, free: 72 kB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/1.162, allocations: 0.6971 MB / 1.44 GB, free: 15.37 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000896/1.163, allocations: 360.7 kB / 1.44 GB, free: 15.02 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008504/1.164, allocations: 307.8 kB / 1.44 GB, free: 14.66 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/1.164, allocations: 47.11 kB / 1.44 GB, free: 14.6 MB / 1.17 GB Notification: Performance of pre-optimization done (n=70): time 4.198e-06/1.164, allocations: 0 / 1.44 GB, free: 14.6 MB / 1.17 GB Notification: Performance of matching and sorting (n=70): time 0.003317/1.168, allocations: 0.9388 MB / 1.441 GB, free: 13.66 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/1.168, allocations: 59.97 kB / 1.441 GB, free: 13.59 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/1.17, allocations: 0.8802 MB / 1.442 GB, free: 12.69 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.514e-05/1.17, allocations: 45.64 kB / 1.442 GB, free: 12.64 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005713/1.17, allocations: 0.5623 MB / 1.443 GB, free: 12.07 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/1.171, allocations: 244.3 kB / 1.443 GB, free: 11.83 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/1.171, allocations: 138.6 kB / 1.443 GB, free: 11.69 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.171, allocations: 337.9 kB / 1.444 GB, free: 11.36 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007947/1.172, allocations: 264.7 kB / 1.444 GB, free: 11.09 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009542/1.173, allocations: 447.1 kB / 1.444 GB, free: 10.59 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/1.175, allocations: 0.7054 MB / 1.445 GB, free: 9.82 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/1.175, allocations: 4 kB / 1.445 GB, free: 9.816 MB / 1.17 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002283/1.177, allocations: 0.8355 MB / 1.446 GB, free: 8.973 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.177, allocations: 8 kB / 1.446 GB, free: 8.965 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/1.177, allocations: 4 kB / 1.446 GB, free: 8.961 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/1.177, allocations: 8 kB / 1.446 GB, free: 8.953 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/1.179, allocations: 272.1 kB / 1.446 GB, free: 8.688 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/1.181, allocations: 1.488 MB / 1.447 GB, free: 7.051 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008084/1.181, allocations: 87.17 kB / 1.448 GB, free: 6.965 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/1.182, allocations: 32 kB / 1.448 GB, free: 6.934 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008252/1.182, allocations: 481.9 kB / 1.448 GB, free: 6.461 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006078/1.183, allocations: 443 kB / 1.448 GB, free: 5.957 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001128/1.184, allocations: 0.7132 MB / 1.449 GB, free: 5.18 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.969e-06/1.184, allocations: 4 kB / 1.449 GB, free: 5.176 MB / 1.17 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001507/1.186, allocations: 0.8353 MB / 1.45 GB, free: 4.332 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/1.186, allocations: 4.625 kB / 1.45 GB, free: 4.328 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.186, allocations: 8 kB / 1.45 GB, free: 4.32 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/1.186, allocations: 12 kB / 1.45 GB, free: 4.309 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/1.187, allocations: 259.6 kB / 1.45 GB, free: 4.055 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/1.189, allocations: 1.492 MB / 1.452 GB, free: 2.414 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007632/1.189, allocations: 59.52 kB / 1.452 GB, free: 2.355 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/1.189, allocations: 31.94 kB / 1.452 GB, free: 2.324 MB / 1.17 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.0002261/1.19, allocations: 240 kB / 1.452 GB, free: 2.082 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/1.19, allocations: 110.6 kB / 1.452 GB, free: 1.973 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/1.192, allocations: 0.7942 MB / 1.453 GB, free: 1.168 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001297/1.193, allocations: 0.7039 MB / 1.454 GB, free: 440 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.193, allocations: 0 / 1.454 GB, free: 440 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004089/1.193, allocations: 259.4 kB / 1.454 GB, free: 160 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/1.193, allocations: 16 kB / 1.454 GB, free: 144 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005435/1.194, allocations: 24.03 kB / 1.454 GB, free: 120 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.194, allocations: 44.58 kB / 1.454 GB, free: 76 kB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001887/1.196, allocations: 0.822 MB / 1.455 GB, free: 15.24 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001843/1.198, allocations: 1.266 MB / 1.456 GB, free: 13.96 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004986/1.198, allocations: 321.1 kB / 1.456 GB, free: 13.64 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008105/1.199, allocations: 0.5928 MB / 1.457 GB, free: 13.04 MB / 1.186 GB Notification: Performance of Backend: time 3e-07/1.199, allocations: 4 kB / 1.457 GB, free: 13.04 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005269/1.204, allocations: 1.5 MB / 1.458 GB, free: 11.55 MB / 1.186 GB Notification: Performance of SimCode: time 0.00651/1.211, allocations: 2.796 MB / 1.461 GB, free: 8.707 MB / 1.186 GB Notification: Performance of Templates: time 0.04377/1.255, allocations: 26.01 MB / 1.486 GB, free: 14.91 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)