Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.672/1.672, allocations: 285.4 MB / 298 MB, free: 6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 168.8 kB / 366.4 MB, free: 2.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.1 MB / 0.6248 GB, free: 7.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008817/0.0008818, allocations: 89.14 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.535e-05, allocations: 4 kB / 0.8583 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7974/0.7975, allocations: 115.3 MB / 0.9709 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.5/7.297, allocations: 2.126 GB / 3.097 GB, free: 284.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/7.298, allocations: 90.03 kB / 3.097 GB, free: 284.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.174/9.471, allocations: 0.6195 GB / 3.716 GB, free: 84.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.266e-06/9.472, allocations: 0 / 3.716 GB, free: 84.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002306/9.472, allocations: 47.92 kB / 3.716 GB, free: 84.3 MB / 0.948 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.004938/9.477, allocations: 1.566 MB / 3.718 GB, free: 82.68 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/9.477, allocations: 11.97 kB / 3.718 GB, free: 82.67 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/9.479, allocations: 369.8 kB / 3.718 GB, free: 82.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/9.482, allocations: 1.207 MB / 3.719 GB, free: 81.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.315e-05/9.483, allocations: 81.94 kB / 3.719 GB, free: 80.98 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/9.483, allocations: 104 kB / 3.719 GB, free: 80.88 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/9.484, allocations: 1.089 MB / 3.721 GB, free: 79.72 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/9.485, allocations: 4 kB / 3.721 GB, free: 79.71 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.604e-05/9.485, allocations: 40 kB / 3.721 GB, free: 79.68 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/9.485, allocations: 42 kB / 3.721 GB, free: 79.64 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/9.486, allocations: 0.7536 MB / 3.721 GB, free: 78.88 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.005826/9.492, allocations: 5.144 MB / 3.726 GB, free: 73.39 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009099/9.493, allocations: 0.6625 MB / 3.727 GB, free: 72.72 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/9.493, allocations: 323 kB / 3.727 GB, free: 72.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005367/9.494, allocations: 311.8 kB / 3.728 GB, free: 72.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/9.494, allocations: 47.06 kB / 3.728 GB, free: 71.98 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.256e-06/9.494, allocations: 0 / 3.728 GB, free: 71.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.00137/9.495, allocations: 0.6851 MB / 3.728 GB, free: 71.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/9.495, allocations: 170.8 kB / 3.729 GB, free: 71.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009097/9.496, allocations: 0.743 MB / 3.729 GB, free: 70.33 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/9.496, allocations: 45.69 kB / 3.729 GB, free: 70.28 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/9.496, allocations: 0.5585 MB / 3.73 GB, free: 69.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/9.497, allocations: 240.5 kB / 3.73 GB, free: 69.48 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/9.497, allocations: 16 kB / 3.73 GB, free: 69.46 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.678e-05/9.497, allocations: 337.9 kB / 3.73 GB, free: 69.12 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/9.497, allocations: 237.5 kB / 3.731 GB, free: 68.89 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/9.498, allocations: 479.5 kB / 3.731 GB, free: 68.34 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/9.498, allocations: 309.8 kB / 3.731 GB, free: 68.04 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/9.498, allocations: 3.953 kB / 3.731 GB, free: 68.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001158/9.499, allocations: 0.8076 MB / 3.732 GB, free: 67.21 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004801/9.5, allocations: 1.666 MB / 3.734 GB, free: 65.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/9.5, allocations: 11.94 kB / 3.734 GB, free: 65.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/9.5, allocations: 8 kB / 3.734 GB, free: 65.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/9.501, allocations: 259.6 kB / 3.734 GB, free: 65.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/9.503, allocations: 1.413 MB / 3.735 GB, free: 63.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/9.504, allocations: 127.3 kB / 3.736 GB, free: 63.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.946e-05/9.504, allocations: 31.98 kB / 3.736 GB, free: 63.44 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/9.504, allocations: 5.094 kB / 3.736 GB, free: 63.44 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001007/9.505, allocations: 0.6819 MB / 3.736 GB, free: 62.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/9.505, allocations: 4 kB / 3.736 GB, free: 62.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/9.505, allocations: 12 kB / 3.736 GB, free: 62.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/9.506, allocations: 260.1 kB / 3.737 GB, free: 62.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009436/9.507, allocations: 1.405 MB / 3.738 GB, free: 60.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/9.508, allocations: 131.2 kB / 3.738 GB, free: 60.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.274e-05/9.508, allocations: 32 kB / 3.738 GB, free: 60.79 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000227/9.509, allocations: 152.8 kB / 3.738 GB, free: 60.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/9.509, allocations: 118.6 kB / 3.738 GB, free: 60.51 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/9.51, allocations: 0.7815 MB / 3.739 GB, free: 59.72 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/9.51, allocations: 8.094 kB / 3.739 GB, free: 59.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/9.51, allocations: 4 kB / 3.739 GB, free: 59.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001032/9.511, allocations: 0.7029 MB / 3.74 GB, free: 58.97 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/9.515, allocations: 1.95 MB / 3.742 GB, free: 56.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/9.515, allocations: 7.984 kB / 3.742 GB, free: 56.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007412/9.515, allocations: 152 kB / 3.742 GB, free: 56.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004272/9.516, allocations: 44.83 kB / 3.742 GB, free: 56.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/9.516, allocations: 19.98 kB / 3.742 GB, free: 56.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/9.517, allocations: 1.379 MB / 3.743 GB, free: 55.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/9.517, allocations: 11.97 kB / 3.743 GB, free: 55.19 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/9.519, allocations: 1.341 MB / 3.745 GB, free: 53.77 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005188/9.519, allocations: 267.4 kB / 3.745 GB, free: 53.49 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/9.52, allocations: 16 kB / 3.745 GB, free: 53.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000714/9.52, allocations: 71.94 kB / 3.745 GB, free: 53.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/9.52, allocations: 48.45 kB / 3.745 GB, free: 53.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/9.52, allocations: 24 kB / 3.745 GB, free: 53.33 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000804/9.521, allocations: 0.5819 MB / 3.746 GB, free: 52.74 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.11e-07/9.521, allocations: 0 / 3.746 GB, free: 52.74 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002456/9.524, allocations: 0.7211 MB / 3.746 GB, free: 52.02 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003217/9.527, allocations: 1.774 MB / 3.748 GB, free: 50.17 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002935/9.53, allocations: 1.14 MB / 3.749 GB, free: 49.03 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/9.53, allocations: 0 / 3.749 GB, free: 49.03 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007725/9.531, allocations: 446.1 kB / 3.75 GB, free: 48.57 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/9.534, allocations: 488.2 kB / 3.75 GB, free: 48.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/9.538, allocations: 1.724 MB / 3.752 GB, free: 46.33 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008536/9.539, allocations: 1.165 MB / 3.753 GB, free: 45.13 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001871/9.541, allocations: 352.3 kB / 3.753 GB, free: 44.79 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/9.541, allocations: 67.44 kB / 3.753 GB, free: 44.72 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/9.541, allocations: 0 / 3.753 GB, free: 44.72 MB / 0.948 GB Notification: Performance of Templates: time 0.06541/9.606, allocations: 44.48 MB / 3.797 GB, free: 368 kB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)