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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001223/0.001223, allocations: 112.2 kB / 16.42 MB, free: 6.016 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.001266/0.001266, allocations: 188.9 kB / 17.35 MB, free: 5.617 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.673/2.673, allocations: 472.7 MB / 0.746 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.89 kB / 1.07 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7675/0.7689, allocations: 159.9 MB / 1.226 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2119/0.9809, allocations: 198.9 MB / 1.421 GB, free: 6.016 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01777/0.9987, allocations: 10.36 MB / 1.431 GB, free: 11.62 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002091/1.001, allocations: 55.69 kB / 1.431 GB, free: 11.56 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/1.003, allocations: 0.5858 MB / 1.431 GB, free: 10.97 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00527/1.008, allocations: 2.053 MB / 1.433 GB, free: 8.91 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003528/1.011, allocations: 1.387 MB / 1.435 GB, free: 7.531 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003836/1.015, allocations: 2.824 MB / 1.437 GB, free: 4.699 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/1.017, allocations: 1.172 MB / 1.439 GB, free: 3.488 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004301/1.021, allocations: 1.729 MB / 1.44 GB, free: 1.766 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/1.023, allocations: 0.9584 MB / 1.441 GB, free: 0.8086 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002151/1.023, allocations: 116 kB / 1.441 GB, free: 0.6953 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004186/1.027, allocations: 2.159 MB / 1.443 GB, free: 14.53 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004535/1.028, allocations: 426.7 kB / 1.444 GB, free: 14.11 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008377/1.029, allocations: 0.7189 MB / 1.445 GB, free: 13.39 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004829/1.034, allocations: 2.53 MB / 1.447 GB, free: 10.85 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.034, allocations: 0 / 1.447 GB, free: 10.85 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.542e-06/1.034, allocations: 0 / 1.447 GB, free: 10.85 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.017e-05/1.034, allocations: 0 / 1.447 GB, free: 10.85 MB / 1.17 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.003052/1.037, allocations: 1.862 MB / 1.449 GB, free: 8.934 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.037, allocations: 8.031 kB / 1.449 GB, free: 8.926 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/1.039, allocations: 386.7 kB / 1.449 GB, free: 8.547 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/1.041, allocations: 0.984 MB / 1.45 GB, free: 7.52 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.545e-05/1.041, allocations: 74 kB / 1.45 GB, free: 7.445 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/1.041, allocations: 112 kB / 1.45 GB, free: 7.336 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/1.043, allocations: 1.099 MB / 1.451 GB, free: 6.18 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/1.043, allocations: 0 / 1.451 GB, free: 6.18 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.574e-05/1.043, allocations: 44 kB / 1.451 GB, free: 6.137 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-05/1.043, allocations: 34 kB / 1.451 GB, free: 6.102 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/1.044, allocations: 0.808 MB / 1.452 GB, free: 5.297 MB / 1.17 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.005782/1.05, allocations: 5.083 MB / 1.457 GB, free: 15.86 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/1.051, allocations: 0.7066 MB / 1.458 GB, free: 15.14 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/1.052, allocations: 354.4 kB / 1.458 GB, free: 14.79 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006422/1.052, allocations: 311.9 kB / 1.459 GB, free: 14.43 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/1.053, allocations: 43.12 kB / 1.459 GB, free: 14.38 MB / 1.186 GB Notification: Performance of pre-optimization done (n=70): time 2.925e-06/1.053, allocations: 0 / 1.459 GB, free: 14.38 MB / 1.186 GB Notification: Performance of matching and sorting (n=70): time 0.001945/1.054, allocations: 0.9476 MB / 1.46 GB, free: 13.43 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/1.055, allocations: 63.95 kB / 1.46 GB, free: 13.36 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/1.056, allocations: 0.8764 MB / 1.46 GB, free: 12.46 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.705e-05/1.056, allocations: 41.7 kB / 1.46 GB, free: 12.41 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/1.056, allocations: 0.571 MB / 1.461 GB, free: 11.84 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/1.056, allocations: 257.8 kB / 1.461 GB, free: 11.58 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/1.057, allocations: 142.6 kB / 1.461 GB, free: 11.44 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.057, allocations: 337.9 kB / 1.462 GB, free: 11.1 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/1.057, allocations: 256.7 kB / 1.462 GB, free: 10.85 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005996/1.058, allocations: 446.9 kB / 1.462 GB, free: 10.34 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/1.059, allocations: 0.7093 MB / 1.463 GB, free: 9.559 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.059, allocations: 7.938 kB / 1.463 GB, free: 9.551 MB / 1.186 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001421/1.06, allocations: 0.8398 MB / 1.464 GB, free: 8.703 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.06, allocations: 10.5 kB / 1.464 GB, free: 8.695 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.06, allocations: 4 kB / 1.464 GB, free: 8.691 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.06, allocations: 12 kB / 1.464 GB, free: 8.68 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/1.062, allocations: 263.6 kB / 1.464 GB, free: 8.422 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/1.063, allocations: 1.492 MB / 1.466 GB, free: 6.789 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/1.064, allocations: 83.39 kB / 1.466 GB, free: 6.707 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/1.064, allocations: 32 kB / 1.466 GB, free: 6.676 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000796/1.065, allocations: 478 kB / 1.466 GB, free: 6.203 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006028/1.066, allocations: 451.1 kB / 1.467 GB, free: 5.691 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001092/1.067, allocations: 0.7054 MB / 1.467 GB, free: 4.922 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.445e-06/1.067, allocations: 3.938 kB / 1.467 GB, free: 4.918 MB / 1.186 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001406/1.068, allocations: 0.8401 MB / 1.468 GB, free: 4.07 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/1.068, allocations: 8 kB / 1.468 GB, free: 4.062 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.068, allocations: 4 kB / 1.468 GB, free: 4.059 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/1.068, allocations: 8 kB / 1.468 GB, free: 4.051 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/1.07, allocations: 268 kB / 1.468 GB, free: 3.789 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/1.071, allocations: 1.496 MB / 1.47 GB, free: 2.152 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/1.072, allocations: 63.7 kB / 1.47 GB, free: 2.09 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/1.072, allocations: 32 kB / 1.47 GB, free: 2.059 MB / 1.186 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.0002615/1.072, allocations: 237.2 kB / 1.47 GB, free: 1.82 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/1.072, allocations: 119.2 kB / 1.47 GB, free: 1.703 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/1.074, allocations: 0.794 MB / 1.471 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0013/1.075, allocations: 0.704 MB / 1.472 GB, free: 160 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/1.075, allocations: 0 / 1.472 GB, free: 160 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/1.076, allocations: 264 kB / 1.472 GB, free: 15.88 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/1.076, allocations: 16 kB / 1.472 GB, free: 15.86 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000538/1.076, allocations: 21.48 kB / 1.472 GB, free: 15.84 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/1.076, allocations: 40.59 kB / 1.472 GB, free: 15.8 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001834/1.078, allocations: 0.8298 MB / 1.473 GB, free: 14.96 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001836/1.08, allocations: 1.271 MB / 1.474 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004934/1.081, allocations: 325.1 kB / 1.474 GB, free: 13.36 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007375/1.081, allocations: 0.5928 MB / 1.475 GB, free: 12.76 MB / 1.201 GB Notification: Performance of Backend: time 6.51e-07/1.081, allocations: 0 / 1.475 GB, free: 12.76 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004904/1.086, allocations: 1.518 MB / 1.477 GB, free: 11.24 MB / 1.201 GB Notification: Performance of SimCode: time 0.004318/1.091, allocations: 2.835 MB / 1.479 GB, free: 8.359 MB / 1.201 GB Notification: Performance of Templates: time 0.04359/1.134, allocations: 25.52 MB / 1.504 GB, free: 15.04 MB / 1.232 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)