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.001189/0.001189, allocations: 103.1 kB / 16.27 MB, free: 5.938 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.001195/0.001195, allocations: 186.3 kB / 17.19 MB, free: 5.574 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.363/1.363, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.819/1.819, allocations: 292.3 MB / 0.5495 GB, free: 17.7 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.002481/0.002481, allocations: 71.19 kB / 0.6721 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3033, allocations: 114.6 MB / 0.784 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5393/0.8426, allocations: 198.9 MB / 0.9782 GB, free: 3.613 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01464/0.8573, allocations: 10.34 MB / 0.9883 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.8595, allocations: 55.69 kB / 0.9884 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.8613, allocations: 0.5662 MB / 0.9889 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00664/0.8679, allocations: 1.967 MB / 0.9908 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004679/0.8726, allocations: 1.368 MB / 0.9922 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005314/0.878, allocations: 2.798 MB / 0.9949 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.8802, allocations: 1.179 MB / 0.9961 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004428/0.8846, allocations: 1.653 MB / 0.9977 GB, free: 15.63 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.8866, allocations: 0.9598 MB / 0.9986 GB, free: 14.68 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002676/0.8869, allocations: 124 kB / 0.9987 GB, free: 14.55 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004413/0.8913, allocations: 2.144 MB / 1.001 GB, free: 12.41 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005848/0.8919, allocations: 434.6 kB / 1.001 GB, free: 11.98 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.893, allocations: 0.7034 MB / 1.002 GB, free: 11.27 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004616/0.8976, allocations: 2.473 MB / 1.004 GB, free: 8.793 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.8977, allocations: 4 kB / 1.004 GB, free: 8.789 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.776e-06/0.8977, allocations: 0 / 1.004 GB, free: 8.789 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.735e-05/0.8977, allocations: 0 / 1.004 GB, free: 8.789 MB / 0.795 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.003106/0.9008, allocations: 1.813 MB / 1.006 GB, free: 6.922 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.9009, allocations: 8.031 kB / 1.006 GB, free: 6.914 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.9031, allocations: 365.9 kB / 1.006 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.9047, allocations: 0.9129 MB / 1.007 GB, free: 5.598 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.411e-05/0.9048, allocations: 81.94 kB / 1.007 GB, free: 5.52 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.905, allocations: 108 kB / 1.008 GB, free: 5.414 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.9068, allocations: 1.107 MB / 1.009 GB, free: 4.246 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.9069, allocations: 0 / 1.009 GB, free: 4.246 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.03e-05/0.907, allocations: 44 kB / 1.009 GB, free: 4.203 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/0.907, allocations: 34 kB / 1.009 GB, free: 4.172 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.9085, allocations: 0.8138 MB / 1.009 GB, free: 3.359 MB / 0.795 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.006315/0.9148, allocations: 5.09 MB / 1.014 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.9161, allocations: 0.7138 MB / 1.015 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/0.9167, allocations: 352.1 kB / 1.015 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006456/0.9173, allocations: 311.9 kB / 1.016 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.9174, allocations: 51.06 kB / 1.016 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.545e-06/0.9174, allocations: 0 / 1.016 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.002036/0.9195, allocations: 0.9349 MB / 1.017 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.9195, allocations: 63.91 kB / 1.017 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.9207, allocations: 0.8761 MB / 1.018 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.9208, allocations: 37.7 kB / 1.018 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005083/0.9213, allocations: 0.5584 MB / 1.018 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.9215, allocations: 244.3 kB / 1.018 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.9217, allocations: 138.6 kB / 1.019 GB, free: 9.527 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.9219, allocations: 337.9 kB / 1.019 GB, free: 9.191 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/0.9224, allocations: 264.7 kB / 1.019 GB, free: 8.93 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006253/0.9231, allocations: 439 kB / 1.02 GB, free: 8.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.9242, allocations: 0.7093 MB / 1.02 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.9242, allocations: 3.938 kB / 1.02 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001475/0.9257, allocations: 0.8354 MB / 1.021 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.9257, allocations: 8 kB / 1.021 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.9258, allocations: 7.938 kB / 1.021 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.9258, allocations: 8 kB / 1.021 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.9274, allocations: 272.2 kB / 1.021 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.929, allocations: 1.49 MB / 1.023 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000853/0.9298, allocations: 79.77 kB / 1.023 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.546e-05/0.9299, allocations: 32.61 kB / 1.023 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00093/0.9308, allocations: 474 kB / 1.023 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006447/0.9315, allocations: 450 kB / 1.024 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00112/0.9326, allocations: 0.7073 MB / 1.025 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.9326, allocations: 0 / 1.025 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001508/0.9342, allocations: 0.8397 MB / 1.025 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.9342, allocations: 8 kB / 1.025 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.9342, allocations: 4.938 kB / 1.025 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.9342, allocations: 8 kB / 1.025 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.9358, allocations: 263.7 kB / 1.026 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.9373, allocations: 1.489 MB / 1.027 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008373/0.9381, allocations: 67.61 kB / 1.027 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.9382, allocations: 28 kB / 1.027 GB, free: 180 kB / 0.8106 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.0003111/0.9385, allocations: 238.6 kB / 1.027 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.9387, allocations: 114.6 kB / 1.028 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.9404, allocations: 0.7883 MB / 1.028 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.9405, allocations: 8 kB / 1.028 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.9405, allocations: 0 / 1.028 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001336/0.9418, allocations: 0.7116 MB / 1.029 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/0.9452, allocations: 1.93 MB / 1.031 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.9452, allocations: 0 / 1.031 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007522/0.946, allocations: 148 kB / 1.031 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003461/0.9463, allocations: 40.28 kB / 1.031 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-05/0.9464, allocations: 19.98 kB / 1.031 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.9478, allocations: 1.465 MB / 1.032 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.9479, allocations: 0 / 1.032 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/0.9503, allocations: 1.258 MB / 1.034 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005146/0.9508, allocations: 251.5 kB / 1.034 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.9509, allocations: 19.98 kB / 1.034 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/0.9515, allocations: 23.98 kB / 1.034 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.796e-05/0.9516, allocations: 40.52 kB / 1.034 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/0.9517, allocations: 23.98 kB / 1.034 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008434/0.9525, allocations: 0.6004 MB / 1.035 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9525, allocations: 0 / 1.035 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001449/0.954, allocations: 0.5336 MB / 1.035 GB, free: 7.637 MB / 0.8262 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.0005405/0.9545, allocations: 214.8 kB / 1.035 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004036/0.9586, allocations: 1.287 MB / 1.037 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.9586, allocations: 0 / 1.037 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008407/0.9594, allocations: 456.4 kB / 1.037 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/0.962, allocations: 0.5054 MB / 1.038 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/0.9661, allocations: 2.259 MB / 1.04 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008293/0.967, allocations: 1.136 MB / 1.041 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.9673, allocations: 87.42 kB / 1.041 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of SimCode: time 1.012e-06/0.9673, allocations: 0 / 1.041 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.03184/0.9992, allocations: 21.38 MB / 1.062 GB, free: 12.51 MB / 0.8575 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)