Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001445/0.001445, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001667/0.001667, allocations: 194.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.2 MB / 0.5485 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 70.91 kB / 0.671 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2671, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.7789/1.046, allocations: 196.3 MB / 0.9745 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01856/1.065, allocations: 10.25 MB / 0.9845 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003904/1.069, allocations: 52.88 kB / 0.9846 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002453/1.071, allocations: 496.2 kB / 0.9851 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00725/1.078, allocations: 1.828 MB / 0.9869 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004737/1.083, allocations: 1.262 MB / 0.9881 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005819/1.089, allocations: 2.8 MB / 0.9908 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/1.092, allocations: 1.157 MB / 0.992 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006813/1.099, allocations: 1.648 MB / 0.9936 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/1.102, allocations: 1.005 MB / 0.9945 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003404/1.102, allocations: 118 kB / 0.9947 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005457/1.107, allocations: 2.22 MB / 0.9968 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006228/1.108, allocations: 430.2 kB / 0.9972 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001238/1.109, allocations: 0.7136 MB / 0.9979 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006794/1.116, allocations: 2.585 MB / 1 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/1.116, allocations: 3.406 kB / 1 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.354e-06/1.116, allocations: 4 kB / 1 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.066e-05/1.116, allocations: 0 / 1 GB, free: 2.105 MB / 0.7325 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.003764/1.12, allocations: 1.818 MB / 1.002 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.12, allocations: 10.78 kB / 1.002 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/1.122, allocations: 363.1 kB / 1.003 GB, free: 16.84 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/1.124, allocations: 0.9127 MB / 1.003 GB, free: 16.33 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/1.124, allocations: 83.33 kB / 1.004 GB, free: 16.29 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/1.124, allocations: 99.69 kB / 1.004 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/1.126, allocations: 1.108 MB / 1.005 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/1.126, allocations: 0 / 1.005 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-05/1.126, allocations: 42.19 kB / 1.005 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.295e-05/1.126, allocations: 39.16 kB / 1.005 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/1.128, allocations: 0.8025 MB / 1.006 GB, free: 15.43 MB / 0.7481 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.007189/1.135, allocations: 5.063 MB / 1.011 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/1.137, allocations: 0.7077 MB / 1.011 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/1.137, allocations: 359.2 kB / 1.012 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007067/1.138, allocations: 314.9 kB / 1.012 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/1.138, allocations: 43.47 kB / 1.012 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 4.058e-06/1.138, allocations: 0 / 1.012 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.002229/1.14, allocations: 0.9371 MB / 1.013 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/1.14, allocations: 62.56 kB / 1.013 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/1.142, allocations: 0.8705 MB / 1.014 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.376e-05/1.142, allocations: 42.52 kB / 1.014 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/1.142, allocations: 0.5572 MB / 1.014 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/1.142, allocations: 247.8 kB / 1.015 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/1.143, allocations: 145.1 kB / 1.015 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003361/1.143, allocations: 335.5 kB / 1.015 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005449/1.143, allocations: 254.2 kB / 1.015 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/1.144, allocations: 449.8 kB / 1.016 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/1.145, allocations: 0.7132 MB / 1.016 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.145, allocations: 3.938 kB / 1.016 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001475/1.147, allocations: 0.8338 MB / 1.017 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.147, allocations: 12 kB / 1.017 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.147, allocations: 3.781 kB / 1.017 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/1.147, allocations: 12.72 kB / 1.017 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/1.148, allocations: 257.6 kB / 1.017 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/1.15, allocations: 1.493 MB / 1.019 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/1.151, allocations: 116.9 kB / 1.019 GB, free: 6.234 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/1.151, allocations: 31.97 kB / 1.019 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001027/1.153, allocations: 482.7 kB / 1.02 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006462/1.153, allocations: 445.1 kB / 1.02 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001087/1.154, allocations: 0.7019 MB / 1.021 GB, free: 5.129 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/1.154, allocations: 2.938 kB / 1.021 GB, free: 5.129 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001487/1.156, allocations: 0.8339 MB / 1.021 GB, free: 4.734 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.156, allocations: 8.656 kB / 1.021 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.156, allocations: 6.156 kB / 1.021 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/1.156, allocations: 7.562 kB / 1.021 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/1.157, allocations: 262.2 kB / 1.022 GB, free: 4.676 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/1.159, allocations: 1.5 MB / 1.023 GB, free: 3.129 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.16, allocations: 95.56 kB / 1.023 GB, free: 3.074 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/1.16, allocations: 31.62 kB / 1.023 GB, free: 3.066 MB / 0.7481 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.0003163/1.16, allocations: 233.7 kB / 1.024 GB, free: 2.844 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/1.161, allocations: 110.9 kB / 1.024 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/1.162, allocations: 0.7884 MB / 1.024 GB, free: 2.328 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.162, allocations: 5.25 kB / 1.024 GB, free: 2.328 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/1.162, allocations: 3.531 kB / 1.024 GB, free: 2.328 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001331/1.164, allocations: 0.7126 MB / 1.025 GB, free: 1.883 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003841/1.168, allocations: 1.929 MB / 1.027 GB, free: 0.5781 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.168, allocations: 3.938 kB / 1.027 GB, free: 0.5742 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007633/1.168, allocations: 147.8 kB / 1.027 GB, free: 0.5391 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003775/1.169, allocations: 39.45 kB / 1.027 GB, free: 0.5234 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/1.169, allocations: 25.39 kB / 1.027 GB, free: 0.5039 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/1.17, allocations: 1.453 MB / 1.029 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.17, allocations: 2.5 kB / 1.029 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/1.173, allocations: 1.252 MB / 1.03 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005259/1.173, allocations: 253.2 kB / 1.03 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.173, allocations: 17.72 kB / 1.03 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006894/1.174, allocations: 55.17 kB / 1.03 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.174, allocations: 55.25 kB / 1.03 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/1.174, allocations: 25.83 kB / 1.03 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008801/1.175, allocations: 0.5884 MB / 1.031 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.71e-07/1.175, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001699/1.177, allocations: 0.5419 MB / 1.031 GB, free: 13.49 MB / 0.7637 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005674/1.177, allocations: 211.8 kB / 1.032 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004103/1.181, allocations: 1.291 MB / 1.033 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/1.181, allocations: 0 / 1.033 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007944/1.182, allocations: 453.9 kB / 1.033 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/1.185, allocations: 0.5196 MB / 1.034 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/1.189, allocations: 2.651 MB / 1.036 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007369/1.19, allocations: 1.147 MB / 1.037 GB, free: 9.527 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001245/1.191, allocations: 268 kB / 1.038 GB, free: 9.402 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/1.192, allocations: 81.33 kB / 1.038 GB, free: 9.391 MB / 0.7637 GB Notification: Performance of SimCode: time 5.31e-07/1.192, allocations: 0 / 1.038 GB, free: 9.391 MB / 0.7637 GB Notification: Performance of Templates: time 0.03605/1.228, allocations: 17.59 MB / 1.055 GB, free: 9.906 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)