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.001289/0.001289, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.001456/0.001456, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.424/1.424, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.759/1.759, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001448/0.001448, allocations: 68.47 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2394, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6666/0.9061, allocations: 198.9 MB / 0.979 GB, free: 3.035 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01581/0.9219, allocations: 10.33 MB / 0.9891 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.9243, allocations: 55.69 kB / 0.9891 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.9261, allocations: 0.5662 MB / 0.9897 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006003/0.9321, allocations: 1.971 MB / 0.9916 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003973/0.9361, allocations: 1.373 MB / 0.9929 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004589/0.9407, allocations: 2.81 MB / 0.9957 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002208/0.9429, allocations: 1.164 MB / 0.9968 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004786/0.9477, allocations: 1.674 MB / 0.9985 GB, free: 15.04 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002074/0.9498, allocations: 0.9596 MB / 0.9994 GB, free: 14.08 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002488/0.95, allocations: 120 kB / 0.9995 GB, free: 13.96 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004661/0.9547, allocations: 2.148 MB / 1.002 GB, free: 11.81 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005664/0.9553, allocations: 426.7 kB / 1.002 GB, free: 11.39 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.9565, allocations: 0.715 MB / 1.003 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004858/0.9614, allocations: 2.51 MB / 1.005 GB, free: 8.156 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.9614, allocations: 4 kB / 1.005 GB, free: 8.152 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.607e-06/0.9614, allocations: 4 kB / 1.005 GB, free: 8.148 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.9615, allocations: 0 / 1.005 GB, free: 8.148 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.003016/0.9645, allocations: 1.809 MB / 1.007 GB, free: 6.285 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.9645, allocations: 8.031 kB / 1.007 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.9667, allocations: 369.9 kB / 1.007 GB, free: 5.914 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.9684, allocations: 0.9674 MB / 1.008 GB, free: 4.902 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/0.9685, allocations: 78 kB / 1.008 GB, free: 4.828 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.9687, allocations: 108 kB / 1.008 GB, free: 4.723 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.9704, allocations: 1.099 MB / 1.009 GB, free: 3.562 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.9704, allocations: 0 / 1.009 GB, free: 3.562 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.872e-05/0.9705, allocations: 44 kB / 1.01 GB, free: 3.52 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.902e-05/0.9706, allocations: 34 kB / 1.01 GB, free: 3.488 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.972, allocations: 0.8118 MB / 1.01 GB, free: 2.676 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.006119/0.9781, allocations: 5.058 MB / 1.015 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.9794, allocations: 0.7116 MB / 1.016 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/0.9799, allocations: 354.4 kB / 1.016 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006363/0.9806, allocations: 319.7 kB / 1.017 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.9806, allocations: 35.12 kB / 1.017 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.725e-06/0.9806, allocations: 4 kB / 1.017 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.002098/0.9827, allocations: 0.9349 MB / 1.018 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.9828, allocations: 59.97 kB / 1.018 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.984, allocations: 0.8722 MB / 1.018 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/0.984, allocations: 37.7 kB / 1.019 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004485/0.9845, allocations: 0.5623 MB / 1.019 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.9847, allocations: 244.3 kB / 1.019 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.985, allocations: 142.6 kB / 1.019 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.9851, allocations: 338 kB / 1.02 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004711/0.9856, allocations: 264.7 kB / 1.02 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.9862, allocations: 444.6 kB / 1.02 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.9874, allocations: 0.7131 MB / 1.021 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.9874, allocations: 4 kB / 1.021 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001481/0.9889, allocations: 0.8353 MB / 1.022 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.9889, allocations: 4 kB / 1.022 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.9889, allocations: 8 kB / 1.022 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.989, allocations: 11.98 kB / 1.022 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.9906, allocations: 260.2 kB / 1.022 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.9921, allocations: 1.491 MB / 1.024 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007872/0.9929, allocations: 79.2 kB / 1.024 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/0.993, allocations: 31.98 kB / 1.024 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008795/0.9939, allocations: 474 kB / 1.024 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006209/0.9945, allocations: 453.9 kB / 1.025 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001157/0.9957, allocations: 0.7015 MB / 1.025 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.009e-06/0.9957, allocations: 4 kB / 1.025 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001533/0.9973, allocations: 0.8281 MB / 1.026 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.9973, allocations: 15.97 kB / 1.026 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.9973, allocations: 4 kB / 1.026 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.9973, allocations: 12 kB / 1.026 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.9988, allocations: 267.6 kB / 1.026 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/1, allocations: 1.49 MB / 1.028 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008045/1.001, allocations: 59.52 kB / 1.028 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/1.001, allocations: 31.98 kB / 1.028 GB, free: 15.52 MB / 0.8262 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.0003079/1.002, allocations: 238.1 kB / 1.028 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/1.002, allocations: 110.6 kB / 1.028 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/1.004, allocations: 0.7882 MB / 1.029 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/1.004, allocations: 8 kB / 1.029 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/1.004, allocations: 0 / 1.029 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001308/1.005, allocations: 0.7155 MB / 1.03 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/1.008, allocations: 1.926 MB / 1.032 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.008, allocations: 4 kB / 1.032 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007273/1.009, allocations: 143.8 kB / 1.032 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003334/1.009, allocations: 41.05 kB / 1.032 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/1.01, allocations: 16.81 kB / 1.032 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/1.011, allocations: 1.458 MB / 1.033 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.011, allocations: 4 kB / 1.033 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/1.013, allocations: 1.265 MB / 1.035 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/1.013, allocations: 255.5 kB / 1.035 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/1.014, allocations: 12 kB / 1.035 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005462/1.014, allocations: 27.98 kB / 1.035 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/1.014, allocations: 48.44 kB / 1.035 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/1.014, allocations: 24 kB / 1.035 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008356/1.015, allocations: 0.5965 MB / 1.035 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/1.015, allocations: 3.938 kB / 1.035 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001458/1.017, allocations: 0.5336 MB / 1.036 GB, free: 6.977 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.0005087/1.017, allocations: 224.6 kB / 1.036 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00349/1.021, allocations: 1.193 MB / 1.037 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.021, allocations: 8.188 kB / 1.037 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007697/1.021, allocations: 447.8 kB / 1.038 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/1.024, allocations: 0.5093 MB / 1.038 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/1.028, allocations: 2.221 MB / 1.04 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007631/1.029, allocations: 1.14 MB / 1.042 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/1.029, allocations: 87.42 kB / 1.042 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of SimCode: time 9.22e-07/1.029, allocations: 0 / 1.042 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of Templates: time 0.03205/1.061, allocations: 21.38 MB / 1.063 GB, free: 11.97 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)