Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 249.3 MB / 261.8 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 170.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009356/0.0009355, allocations: 94.41 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.457e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2377, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.776/7.014, allocations: 2.245 GB / 3.137 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/7.014, allocations: 88.67 kB / 3.137 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.86/9.873, allocations: 0.6027 GB / 3.74 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.697e-06/9.874, allocations: 0 / 3.74 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003582/9.874, allocations: 41.31 kB / 3.74 GB, free: 168.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.007526/9.882, allocations: 1.583 MB / 3.741 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.038e-05/9.882, allocations: 7.375 kB / 3.741 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003414/9.885, allocations: 366 kB / 3.742 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004726/9.89, allocations: 1.213 MB / 3.743 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/9.89, allocations: 78.52 kB / 3.743 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004637/9.89, allocations: 115.4 kB / 3.743 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003066/9.893, allocations: 1.084 MB / 3.744 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.36e-05/9.894, allocations: 7.469 kB / 3.744 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/9.894, allocations: 41.34 kB / 3.744 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.695e-05/9.894, allocations: 44.8 kB / 3.744 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/9.895, allocations: 0.7618 MB / 3.745 GB, free: 164.8 MB / 0.8698 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.007904/9.903, allocations: 5.139 MB / 3.75 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/9.905, allocations: 0.6511 MB / 3.751 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/9.905, allocations: 331.1 kB / 3.751 GB, free: 160 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005513/9.906, allocations: 307.6 kB / 3.751 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/9.906, allocations: 42.97 kB / 3.751 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 3.506e-06/9.906, allocations: 0 / 3.751 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.001686/9.907, allocations: 0.6999 MB / 3.752 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/9.907, allocations: 162.5 kB / 3.752 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/9.909, allocations: 0.7541 MB / 3.753 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/9.909, allocations: 36.83 kB / 3.753 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/9.909, allocations: 0.5637 MB / 3.753 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/9.91, allocations: 245.7 kB / 3.754 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/9.91, allocations: 15.97 kB / 3.754 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/9.91, allocations: 341.3 kB / 3.754 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/9.91, allocations: 239.5 kB / 3.754 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/9.911, allocations: 468.3 kB / 3.755 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/9.911, allocations: 308.5 kB / 3.755 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/9.911, allocations: 4 kB / 3.755 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001425/9.913, allocations: 0.8032 MB / 3.756 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005186/9.913, allocations: 1.673 MB / 3.757 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/9.913, allocations: 4 kB / 3.757 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.015e-05/9.913, allocations: 8 kB / 3.757 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/9.915, allocations: 255.7 kB / 3.758 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/9.916, allocations: 1.413 MB / 3.759 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/9.917, allocations: 131.2 kB / 3.759 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/9.917, allocations: 28 kB / 3.759 GB, free: 152 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/9.918, allocations: 4 kB / 3.759 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001104/9.919, allocations: 0.6778 MB / 3.76 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/9.919, allocations: 8 kB / 3.76 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/9.919, allocations: 8.562 kB / 3.76 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/9.92, allocations: 259.7 kB / 3.76 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/9.921, allocations: 1.412 MB / 3.761 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/9.922, allocations: 127.3 kB / 3.762 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.672e-05/9.923, allocations: 31.98 kB / 3.762 GB, free: 149.3 MB / 0.8698 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.0002649/9.923, allocations: 152.7 kB / 3.762 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/9.923, allocations: 114.6 kB / 3.762 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/9.925, allocations: 0.7854 MB / 3.763 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/9.925, allocations: 11.59 kB / 3.763 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/9.925, allocations: 3.938 kB / 3.763 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/9.926, allocations: 0.6912 MB / 3.763 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003831/9.93, allocations: 1.961 MB / 3.765 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/9.93, allocations: 4 kB / 3.765 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007123/9.931, allocations: 151.8 kB / 3.765 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004231/9.931, allocations: 48.94 kB / 3.765 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.608e-05/9.931, allocations: 20 kB / 3.765 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/9.932, allocations: 1.371 MB / 3.767 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/9.932, allocations: 7.984 kB / 3.767 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/9.934, allocations: 1.328 MB / 3.768 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007342/9.935, allocations: 271.4 kB / 3.768 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/9.935, allocations: 23.94 kB / 3.768 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000953/9.936, allocations: 83.77 kB / 3.768 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/9.936, allocations: 44.52 kB / 3.768 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.397e-05/9.936, allocations: 23.98 kB / 3.768 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001061/9.938, allocations: 0.586 MB / 3.769 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.81e-07/9.938, allocations: 3.938 kB / 3.769 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003057/9.941, allocations: 0.725 MB / 3.77 GB, free: 140.6 MB / 0.8698 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.003787/9.944, allocations: 1.778 MB / 3.771 GB, free: 139 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003125/9.948, allocations: 1.128 MB / 3.773 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/9.948, allocations: 8 kB / 3.773 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007748/9.948, allocations: 446.5 kB / 3.773 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/9.951, allocations: 492 kB / 3.773 GB, free: 137 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004369/9.956, allocations: 1.733 MB / 3.775 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008874/9.957, allocations: 1.173 MB / 3.776 GB, free: 134 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001785/9.959, allocations: 355.7 kB / 3.777 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/9.959, allocations: 71.36 kB / 3.777 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of SimCode: time 2.205e-06/9.959, allocations: 0 / 3.777 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.06448/10.02, allocations: 44.6 MB / 3.82 GB, free: 89.22 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)