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.001047/0.001047, allocations: 108.9 kB / 16.36 MB, free: 5.949 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.001086/0.001086, allocations: 194 kB / 17.3 MB, free: 5.562 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.482/1.482, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.79/1.79, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001613/0.001613, allocations: 63.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.251, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6231/0.8741, allocations: 198.9 MB / 0.979 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.8917, allocations: 10.33 MB / 0.9891 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/0.8942, allocations: 55.69 kB / 0.9891 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.8961, allocations: 0.5624 MB / 0.9897 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00684/0.903, allocations: 1.991 MB / 0.9916 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003945/0.907, allocations: 1.36 MB / 0.9929 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00418/0.9112, allocations: 2.811 MB / 0.9957 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.913, allocations: 1.168 MB / 0.9968 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004371/0.9174, allocations: 1.672 MB / 0.9985 GB, free: 15.14 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002082/0.9195, allocations: 0.9599 MB / 0.9994 GB, free: 14.18 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002516/0.9198, allocations: 120.7 kB / 0.9995 GB, free: 14.06 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00413/0.9239, allocations: 2.148 MB / 1.002 GB, free: 11.91 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004424/0.9244, allocations: 430.7 kB / 1.002 GB, free: 11.49 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0008484/0.9252, allocations: 0.7111 MB / 1.003 GB, free: 10.77 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003829/0.929, allocations: 2.508 MB / 1.005 GB, free: 8.258 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9291, allocations: 4 kB / 1.005 GB, free: 8.254 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9291, allocations: 0 / 1.005 GB, free: 8.254 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.249e-05/0.9291, allocations: 1.969 kB / 1.005 GB, free: 8.254 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.002915/0.932, allocations: 1.809 MB / 1.007 GB, free: 6.391 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.9321, allocations: 12.02 kB / 1.007 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.9343, allocations: 369.9 kB / 1.007 GB, free: 6.016 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.936, allocations: 0.9128 MB / 1.008 GB, free: 5.059 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/0.9361, allocations: 78 kB / 1.008 GB, free: 4.984 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.9363, allocations: 104 kB / 1.008 GB, free: 4.883 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.938, allocations: 1.105 MB / 1.009 GB, free: 3.719 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.938, allocations: 0 / 1.009 GB, free: 3.719 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.234e-05/0.9381, allocations: 44 kB / 1.009 GB, free: 3.676 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.9382, allocations: 38 kB / 1.01 GB, free: 3.641 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.9396, allocations: 0.8002 MB / 1.01 GB, free: 2.84 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.005787/0.9454, allocations: 5.062 MB / 1.015 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.9466, allocations: 0.7112 MB / 1.016 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/0.9472, allocations: 354.4 kB / 1.016 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006578/0.9479, allocations: 315.9 kB / 1.017 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.9479, allocations: 43.11 kB / 1.017 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.104e-06/0.9479, allocations: 0 / 1.017 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.001975/0.9499, allocations: 0.9391 MB / 1.018 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.9499, allocations: 59.95 kB / 1.018 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.951, allocations: 0.873 MB / 1.018 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.951, allocations: 37.7 kB / 1.018 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.9514, allocations: 0.5545 MB / 1.019 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.9516, allocations: 256.3 kB / 1.019 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.9518, allocations: 142.6 kB / 1.019 GB, free: 9.023 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.9519, allocations: 334 kB / 1.02 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004759/0.9524, allocations: 256.7 kB / 1.02 GB, free: 8.438 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006242/0.9531, allocations: 451 kB / 1.02 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.9542, allocations: 0.7054 MB / 1.021 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.9542, allocations: 7.938 kB / 1.021 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001442/0.9557, allocations: 0.8359 MB / 1.022 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.9557, allocations: 8 kB / 1.022 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.9557, allocations: 11.97 kB / 1.022 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.9557, allocations: 8 kB / 1.022 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.9574, allocations: 259.7 kB / 1.022 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.959, allocations: 1.494 MB / 1.024 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007542/0.9598, allocations: 79.98 kB / 1.024 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.9599, allocations: 28.05 kB / 1.024 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008802/0.9607, allocations: 478 kB / 1.024 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006477/0.9614, allocations: 453.9 kB / 1.025 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001143/0.9626, allocations: 0.6976 MB / 1.025 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.997e-06/0.9626, allocations: 6.031 kB / 1.025 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001435/0.964, allocations: 0.8394 MB / 1.026 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.964, allocations: 11.94 kB / 1.026 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.964, allocations: 4 kB / 1.026 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.9641, allocations: 8 kB / 1.026 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.9656, allocations: 260.1 kB / 1.026 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.967, allocations: 1.493 MB / 1.028 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/0.9678, allocations: 67.59 kB / 1.028 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.9678, allocations: 28 kB / 1.028 GB, free: 15.68 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.000328/0.9682, allocations: 234 kB / 1.028 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.9684, allocations: 110.6 kB / 1.028 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/0.9701, allocations: 0.7922 MB / 1.029 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.9701, allocations: 4 kB / 1.029 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.9701, allocations: 0 / 1.029 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001312/0.9714, allocations: 0.7117 MB / 1.03 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003341/0.9748, allocations: 1.934 MB / 1.032 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.9748, allocations: 0 / 1.032 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007325/0.9755, allocations: 148 kB / 1.032 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000317/0.9759, allocations: 40.83 kB / 1.032 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/0.9759, allocations: 12 kB / 1.032 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.9773, allocations: 1.464 MB / 1.033 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.9773, allocations: 7.922 kB / 1.033 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.9794, allocations: 1.254 MB / 1.035 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/0.9798, allocations: 251.5 kB / 1.035 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.9799, allocations: 20 kB / 1.035 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005582/0.9805, allocations: 25.61 kB / 1.035 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.9806, allocations: 40.5 kB / 1.035 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.9807, allocations: 23.98 kB / 1.035 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007502/0.9814, allocations: 0.6004 MB / 1.035 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.9814, allocations: 7.875 kB / 1.035 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001367/0.9828, allocations: 0.5297 MB / 1.036 GB, free: 7.137 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.0004418/0.9832, allocations: 217.4 kB / 1.036 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003616/0.9869, allocations: 1.205 MB / 1.037 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.9869, allocations: 4 kB / 1.037 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007884/0.9877, allocations: 447.8 kB / 1.038 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.99, allocations: 0.5192 MB / 1.038 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.9937, allocations: 2.169 MB / 1.04 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006687/0.9944, allocations: 1.14 MB / 1.042 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0009465/0.9954, allocations: 269.2 kB / 1.042 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.9956, allocations: 83.42 kB / 1.042 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of SimCode: time 7.61e-07/0.9956, allocations: 0 / 1.042 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of Templates: time 0.03369/1.029, allocations: 17.67 MB / 1.059 GB, free: 15.76 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)