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.455/1.455, allocations: 249.5 MB / 257 MB, free: 6.988 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.001035/0.001035, allocations: 180.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008749/0.0008749, allocations: 88.91 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.055e-05/2.058e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2329, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.941/7.174, allocations: 2.245 GB / 3.131 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/7.174, allocations: 91.94 kB / 3.131 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.761/9.935, allocations: 0.5958 GB / 3.726 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.763e-06/9.935, allocations: 0 / 3.726 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001168/9.935, allocations: 39.75 kB / 3.727 GB, free: 178.4 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.003407/9.938, allocations: 1.575 MB / 3.728 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/9.938, allocations: 11.25 kB / 3.728 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/9.94, allocations: 370.4 kB / 3.728 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/9.943, allocations: 1.211 MB / 3.73 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/9.943, allocations: 32.52 kB / 3.73 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/9.943, allocations: 64.69 kB / 3.73 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00123/9.944, allocations: 0.7001 MB / 3.73 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/9.946, allocations: 0.9399 MB / 3.731 GB, free: 177 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/9.946, allocations: 0 / 3.731 GB, free: 177 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.523e-05/9.946, allocations: 3.906 kB / 3.731 GB, free: 177 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/9.946, allocations: 38.62 kB / 3.731 GB, free: 177 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.005169/9.951, allocations: 4.938 MB / 3.736 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008537/9.952, allocations: 0.6146 MB / 3.737 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004173/9.953, allocations: 309.1 kB / 3.737 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005974/9.953, allocations: 313.4 kB / 3.737 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/9.953, allocations: 43.69 kB / 3.737 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 2.224e-06/9.953, allocations: 3 kB / 3.737 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.00148/9.955, allocations: 0.701 MB / 3.738 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/9.955, allocations: 164.9 kB / 3.738 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007162/9.956, allocations: 0.5944 MB / 3.739 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/9.956, allocations: 32.02 kB / 3.739 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/9.956, allocations: 0.5658 MB / 3.739 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/9.956, allocations: 238 kB / 3.74 GB, free: 173 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/9.956, allocations: 3.281 kB / 3.74 GB, free: 173 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/9.956, allocations: 341 kB / 3.74 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/9.957, allocations: 223.7 kB / 3.74 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/9.957, allocations: 452.1 kB / 3.741 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/9.958, allocations: 352.7 kB / 3.741 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/9.958, allocations: 0 / 3.741 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001186/9.959, allocations: 0.79 MB / 3.742 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004658/9.959, allocations: 1.659 MB / 3.743 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/9.959, allocations: 3.969 kB / 3.743 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/9.959, allocations: 17.58 kB / 3.743 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/9.961, allocations: 254.6 kB / 3.744 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/9.962, allocations: 1.362 MB / 3.745 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009359/9.963, allocations: 104.8 kB / 3.745 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/9.963, allocations: 30.94 kB / 3.745 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/9.963, allocations: 3.188 kB / 3.745 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001091/9.964, allocations: 0.663 MB / 3.746 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/9.964, allocations: 3.375 kB / 3.746 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/9.964, allocations: 7.344 kB / 3.746 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/9.966, allocations: 255.5 kB / 3.746 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009146/9.967, allocations: 1.362 MB / 3.747 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000796/9.967, allocations: 95.23 kB / 3.747 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/9.967, allocations: 33.16 kB / 3.747 GB, free: 168 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.0002017/9.968, allocations: 131.5 kB / 3.748 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/9.968, allocations: 105.8 kB / 3.748 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/9.969, allocations: 0.772 MB / 3.748 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/9.969, allocations: 3.906 kB / 3.748 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/9.97, allocations: 0 / 3.748 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001162/9.971, allocations: 0.7202 MB / 3.749 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/9.974, allocations: 1.848 MB / 3.751 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/9.974, allocations: 3.875 kB / 3.751 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006784/9.974, allocations: 153.8 kB / 3.751 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004053/9.975, allocations: 45.39 kB / 3.751 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/9.975, allocations: 14.75 kB / 3.751 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/9.976, allocations: 1.325 MB / 3.752 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/9.976, allocations: 3.938 kB / 3.752 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/9.978, allocations: 1.327 MB / 3.754 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/9.978, allocations: 254.5 kB / 3.754 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/9.978, allocations: 7.906 kB / 3.754 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000665/9.979, allocations: 67.02 kB / 3.754 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.133e-05/9.979, allocations: 51.75 kB / 3.754 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/9.979, allocations: 23.67 kB / 3.754 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000538/9.98, allocations: 466 kB / 3.755 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/9.98, allocations: 0 / 3.755 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002212/9.982, allocations: 0.6512 MB / 3.755 GB, free: 164.2 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.003357/9.985, allocations: 1.989 MB / 3.757 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002577/9.988, allocations: 1.07 MB / 3.758 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/9.988, allocations: 3.062 kB / 3.758 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006564/9.988, allocations: 422.1 kB / 3.759 GB, free: 163 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/9.991, allocations: 425.5 kB / 3.759 GB, free: 163 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/9.994, allocations: 1.664 MB / 3.761 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/9.995, allocations: 1.169 MB / 3.762 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001281/9.996, allocations: 317.5 kB / 3.762 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/9.996, allocations: 67.91 kB / 3.762 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.493e-06/9.996, allocations: 0 / 3.762 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.04601/10.04, allocations: 26.67 MB / 3.788 GB, free: 154.6 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)