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.000966/0.0009661, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01134/0.01134, allocations: 169.7 kB / 16.27 MB, free: 6.648 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.81/1.81, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.789/1.789, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005564/0.0005564, allocations: 15.09 kB / 0.6743 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3057, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.8316/1.137, allocations: 193.9 MB / 0.9773 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01746/1.155, allocations: 10.29 MB / 0.9873 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002982/1.158, allocations: 48.78 kB / 0.9874 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002149/1.16, allocations: 476.9 kB / 0.9878 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006922/1.167, allocations: 1.837 MB / 0.9896 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004794/1.172, allocations: 1.236 MB / 0.9908 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00558/1.177, allocations: 3.648 MB / 0.9944 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002204/1.18, allocations: 0.9911 MB / 0.9954 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005532/1.185, allocations: 1.456 MB / 0.9968 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/1.188, allocations: 0.9231 MB / 0.9977 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004391/1.188, allocations: 45.59 kB / 0.9977 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007814/1.196, allocations: 2.371 MB / 1 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001318/1.197, allocations: 355 kB / 1 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0028/1.2, allocations: 0.6298 MB / 1.001 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009695/1.21, allocations: 2.491 MB / 1.003 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/1.21, allocations: 0 / 1.003 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.437e-06/1.21, allocations: 3.938 kB / 1.003 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.43e-05/1.21, allocations: 0 / 1.003 GB, free: 4.664 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.00573/1.216, allocations: 1.571 MB / 1.005 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.497e-05/1.216, allocations: 10.88 kB / 1.005 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003788/1.22, allocations: 360 kB / 1.005 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/1.223, allocations: 0.9156 MB / 1.006 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/1.223, allocations: 78.53 kB / 1.006 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003404/1.223, allocations: 105.3 kB / 1.006 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/1.227, allocations: 1.099 MB / 1.007 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.045e-05/1.227, allocations: 3.156 kB / 1.007 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/1.227, allocations: 40.16 kB / 1.007 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-05/1.227, allocations: 43.39 kB / 1.008 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002552/1.23, allocations: 0.8061 MB / 1.008 GB, free: 1.414 MB / 0.7325 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.01018/1.24, allocations: 5.074 MB / 1.013 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/1.242, allocations: 0.7152 MB / 1.014 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008105/1.243, allocations: 355.2 kB / 1.014 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008495/1.244, allocations: 327.2 kB / 1.015 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/1.244, allocations: 40.69 kB / 1.015 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 6.171e-06/1.244, allocations: 4 kB / 1.015 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.003095/1.247, allocations: 0.9367 MB / 1.016 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/1.247, allocations: 61.16 kB / 1.016 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/1.249, allocations: 0.8716 MB / 1.016 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001198/1.249, allocations: 40.8 kB / 1.017 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007283/1.25, allocations: 0.5573 MB / 1.017 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/1.25, allocations: 249.4 kB / 1.017 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/1.251, allocations: 63.56 kB / 1.017 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.251, allocations: 337.9 kB / 1.018 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000743/1.251, allocations: 244.4 kB / 1.018 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009576/1.252, allocations: 453 kB / 1.018 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/1.254, allocations: 0.705 MB / 1.019 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/1.254, allocations: 6.812 kB / 1.019 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002115/1.256, allocations: 0.8341 MB / 1.02 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003668/1.256, allocations: 230.8 kB / 1.02 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/1.256, allocations: 8.969 kB / 1.02 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.585e-05/1.256, allocations: 8.719 kB / 1.02 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/1.259, allocations: 246.4 kB / 1.02 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/1.26, allocations: 1.408 MB / 1.022 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.262, allocations: 115 kB / 1.022 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/1.262, allocations: 28.66 kB / 1.022 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/1.262, allocations: 6.875 kB / 1.022 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001975/1.264, allocations: 0.7119 MB / 1.023 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/1.264, allocations: 5.25 kB / 1.023 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.264, allocations: 8.875 kB / 1.023 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/1.266, allocations: 254.1 kB / 1.023 GB, free: 6.289 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/1.269, allocations: 1.39 MB / 1.024 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/1.271, allocations: 112.5 kB / 1.024 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/1.271, allocations: 29 kB / 1.024 GB, free: 4.77 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.001432/1.272, allocations: 368 kB / 1.025 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006267/1.273, allocations: 117.8 kB / 1.025 GB, free: 4.406 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003087/1.276, allocations: 0.7853 MB / 1.026 GB, free: 3.953 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/1.276, allocations: 7.906 kB / 1.026 GB, free: 3.953 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.276, allocations: 0 / 1.026 GB, free: 3.953 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002092/1.278, allocations: 0.7034 MB / 1.026 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00617/1.284, allocations: 1.937 MB / 1.028 GB, free: 2.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/1.284, allocations: 6.906 kB / 1.028 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/1.286, allocations: 144.6 kB / 1.028 GB, free: 2.172 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005747/1.286, allocations: 45.7 kB / 1.028 GB, free: 2.148 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.97e-05/1.286, allocations: 19.92 kB / 1.028 GB, free: 2.137 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/1.289, allocations: 1.343 MB / 1.03 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/1.289, allocations: 2.906 kB / 1.03 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00341/1.292, allocations: 1.26 MB / 1.031 GB, free: 16 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008573/1.293, allocations: 260.2 kB / 1.031 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002934/1.293, allocations: 14.22 kB / 1.031 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.294, allocations: 59.3 kB / 1.031 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/1.294, allocations: 54.19 kB / 1.031 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.492e-05/1.295, allocations: 20.25 kB / 1.031 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001409/1.296, allocations: 0.6028 MB / 1.032 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of sort global known variables: time 6.62e-07/1.296, allocations: 0 / 1.032 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002654/1.299, allocations: 0.5244 MB / 1.032 GB, free: 15.23 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.000745/1.299, allocations: 221.4 kB / 1.033 GB, free: 15.08 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004984/1.304, allocations: 1.184 MB / 1.034 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/1.304, allocations: 2.562 kB / 1.034 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/1.306, allocations: 450.9 kB / 1.034 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004233/1.31, allocations: 0.5134 MB / 1.035 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006518/1.316, allocations: 2.734 MB / 1.037 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/1.318, allocations: 1.144 MB / 1.038 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002059/1.32, allocations: 264.8 kB / 1.039 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/1.32, allocations: 79.42 kB / 1.039 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of SimCode: time 6.81e-07/1.32, allocations: 0 / 1.039 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of Templates: time 0.04949/1.37, allocations: 16.92 MB / 1.055 GB, free: 9.855 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: