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.4/1.4, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001149, allocations: 183.9 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.001024/0.001025, allocations: 94.28 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004193, allocations: 12.56 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2804, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.692/5.973, allocations: 2.245 GB / 3.145 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/5.973, allocations: 90.38 kB / 3.145 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.593/7.566, allocations: 0.6033 GB / 3.749 GB, free: 60.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.513e-06/7.566, allocations: 0 / 3.749 GB, free: 60.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001733/7.566, allocations: 43.98 kB / 3.749 GB, free: 60.66 MB / 0.8855 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.00467/7.571, allocations: 1.759 MB / 3.75 GB, free: 58.84 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/7.571, allocations: 16.03 kB / 3.75 GB, free: 58.82 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/7.573, allocations: 361.9 kB / 3.751 GB, free: 58.47 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/7.576, allocations: 1.235 MB / 3.752 GB, free: 57.19 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.289e-05/7.576, allocations: 79.39 kB / 3.752 GB, free: 57.11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002655/7.577, allocations: 112 kB / 3.752 GB, free: 57 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/7.578, allocations: 1.128 MB / 3.753 GB, free: 55.79 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/7.579, allocations: 8 kB / 3.753 GB, free: 55.78 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-05/7.579, allocations: 40 kB / 3.753 GB, free: 55.74 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/7.579, allocations: 41.94 kB / 3.753 GB, free: 55.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/7.58, allocations: 0.8275 MB / 3.754 GB, free: 54.87 MB / 0.8855 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.005502/7.585, allocations: 5.158 MB / 3.759 GB, free: 49.36 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/7.587, allocations: 0.732 MB / 3.76 GB, free: 48.62 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004794/7.587, allocations: 307.8 kB / 3.76 GB, free: 48.26 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/7.587, allocations: 43.12 kB / 3.76 GB, free: 48.21 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 2.505e-06/7.587, allocations: 0 / 3.76 GB, free: 48.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.001792/7.589, allocations: 1.005 MB / 3.761 GB, free: 47.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/7.589, allocations: 166.8 kB / 3.761 GB, free: 47 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007907/7.59, allocations: 0.758 MB / 3.762 GB, free: 46.23 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.878e-05/7.59, allocations: 45.7 kB / 3.762 GB, free: 46.18 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/7.59, allocations: 0.5546 MB / 3.763 GB, free: 45.62 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/7.59, allocations: 248.3 kB / 3.763 GB, free: 45.37 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/7.59, allocations: 16 kB / 3.763 GB, free: 45.36 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.296e-05/7.59, allocations: 334 kB / 3.763 GB, free: 45.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/7.591, allocations: 269.8 kB / 3.764 GB, free: 44.76 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/7.591, allocations: 0.4924 MB / 3.764 GB, free: 44.17 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/7.592, allocations: 345.4 kB / 3.764 GB, free: 43.84 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/7.592, allocations: 0 / 3.764 GB, free: 43.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001201/7.593, allocations: 0.8593 MB / 3.765 GB, free: 42.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003026/7.593, allocations: 1.667 MB / 3.767 GB, free: 41.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/7.593, allocations: 4 kB / 3.767 GB, free: 41.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/7.593, allocations: 8 kB / 3.767 GB, free: 41.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/7.595, allocations: 255.6 kB / 3.767 GB, free: 40.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/7.596, allocations: 1.436 MB / 3.769 GB, free: 39.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/7.597, allocations: 123.3 kB / 3.769 GB, free: 39.22 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/7.597, allocations: 31.98 kB / 3.769 GB, free: 39.19 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/7.597, allocations: 6.656 kB / 3.769 GB, free: 39.18 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001064/7.598, allocations: 0.7416 MB / 3.769 GB, free: 38.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/7.598, allocations: 4 kB / 3.769 GB, free: 38.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.685e-06/7.598, allocations: 8 kB / 3.769 GB, free: 38.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/7.6, allocations: 255.8 kB / 3.77 GB, free: 38.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000945/7.601, allocations: 1.417 MB / 3.771 GB, free: 36.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/7.602, allocations: 131.3 kB / 3.771 GB, free: 36.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/7.602, allocations: 28 kB / 3.771 GB, free: 36.47 MB / 0.8855 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 () * Number of clocked 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.0006514/7.603, allocations: 368.9 kB / 3.772 GB, free: 36.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/7.603, allocations: 110.7 kB / 3.772 GB, free: 35.99 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/7.604, allocations: 0.8486 MB / 3.772 GB, free: 35.14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/7.604, allocations: 4 kB / 3.772 GB, free: 35.13 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/7.604, allocations: 4 kB / 3.772 GB, free: 35.13 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001147/7.605, allocations: 0.7545 MB / 3.773 GB, free: 34.34 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/7.608, allocations: 2.016 MB / 3.775 GB, free: 32.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/7.609, allocations: 0 / 3.775 GB, free: 32.24 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007163/7.609, allocations: 164 kB / 3.775 GB, free: 32.08 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00043/7.61, allocations: 40.83 kB / 3.775 GB, free: 32.04 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.489e-05/7.61, allocations: 19.98 kB / 3.775 GB, free: 32.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/7.611, allocations: 1.383 MB / 3.777 GB, free: 30.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/7.611, allocations: 4 kB / 3.777 GB, free: 30.49 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/7.613, allocations: 1.427 MB / 3.778 GB, free: 28.99 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005562/7.613, allocations: 271.5 kB / 3.778 GB, free: 28.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/7.613, allocations: 16 kB / 3.778 GB, free: 28.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007403/7.614, allocations: 79.84 kB / 3.778 GB, free: 28.61 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-05/7.614, allocations: 52.39 kB / 3.779 GB, free: 28.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/7.614, allocations: 31.98 kB / 3.779 GB, free: 28.53 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007534/7.615, allocations: 0.593 MB / 3.779 GB, free: 27.93 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/7.615, allocations: 0 / 3.779 GB, free: 27.93 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002038/7.617, allocations: 0.7211 MB / 3.78 GB, free: 27.2 MB / 0.8855 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 (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.002176/7.619, allocations: 1.775 MB / 3.782 GB, free: 25.35 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002733/7.622, allocations: 1.178 MB / 3.783 GB, free: 24.18 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/7.622, allocations: 4 kB / 3.783 GB, free: 24.17 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006944/7.623, allocations: 478.2 kB / 3.783 GB, free: 23.69 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/7.625, allocations: 498.5 kB / 3.784 GB, free: 23.21 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/7.629, allocations: 2.704 MB / 3.786 GB, free: 20.45 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/7.629, allocations: 1.179 MB / 3.787 GB, free: 19.24 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001018/7.63, allocations: 268.5 kB / 3.788 GB, free: 18.98 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/7.63, allocations: 75.44 kB / 3.788 GB, free: 18.9 MB / 0.8855 GB Notification: Performance of SimCode: time 5.31e-07/7.63, allocations: 0 / 3.788 GB, free: 18.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.4994/8.13, allocations: 38.04 MB / 3.825 GB, free: 165.5 MB / 0.8855 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)