Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.492/2.492, allocations: 390.5 MB / 398 MB, free: 10.92 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 180.7 kB / 491.2 MB, free: 1.543 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 221.5 MB / 0.7868 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009203/0.0009201, allocations: 94.56 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.21e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3064, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.401/6.707, allocations: 1.971 GB / 3.183 GB, free: 299.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/6.707, allocations: 87.95 kB / 3.183 GB, free: 299.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.075/8.783, allocations: 0.6232 GB / 3.806 GB, free: 115.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.447e-06/8.783, allocations: 0 / 3.806 GB, free: 115.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002833/8.783, allocations: 47.86 kB / 3.806 GB, free: 115.5 MB / 1.151 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.005102/8.788, allocations: 1.566 MB / 3.808 GB, free: 113.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/8.788, allocations: 8.031 kB / 3.808 GB, free: 113.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/8.791, allocations: 369.8 kB / 3.808 GB, free: 113.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004154/8.795, allocations: 1.219 MB / 3.81 GB, free: 112.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.355e-05/8.795, allocations: 32 kB / 3.81 GB, free: 112.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003974/8.796, allocations: 67.95 kB / 3.81 GB, free: 112.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001834/8.798, allocations: 0.6912 MB / 3.81 GB, free: 111.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/8.8, allocations: 0.9496 MB / 3.811 GB, free: 110.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/8.8, allocations: 0 / 3.811 GB, free: 110.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/8.8, allocations: 0 / 3.811 GB, free: 110.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.78e-05/8.8, allocations: 38 kB / 3.811 GB, free: 110.4 MB / 1.151 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.006586/8.806, allocations: 4.926 MB / 3.816 GB, free: 105.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008653/8.807, allocations: 0.6276 MB / 3.817 GB, free: 104.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004119/8.808, allocations: 306.4 kB / 3.817 GB, free: 104.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005488/8.808, allocations: 315.8 kB / 3.817 GB, free: 103.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/8.808, allocations: 39.12 kB / 3.817 GB, free: 103.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 3.747e-06/8.808, allocations: 0 / 3.817 GB, free: 103.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001774/8.81, allocations: 0.7169 MB / 3.818 GB, free: 103.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/8.81, allocations: 166.8 kB / 3.818 GB, free: 102.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009197/8.811, allocations: 0.5962 MB / 3.819 GB, free: 102.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.956e-05/8.811, allocations: 25.7 kB / 3.819 GB, free: 102.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/8.812, allocations: 0.558 MB / 3.819 GB, free: 101.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/8.812, allocations: 244.3 kB / 3.82 GB, free: 101.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/8.812, allocations: 0 / 3.82 GB, free: 101.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.068e-05/8.812, allocations: 334 kB / 3.82 GB, free: 101.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/8.812, allocations: 229.5 kB / 3.82 GB, free: 100.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/8.813, allocations: 460.6 kB / 3.821 GB, free: 100.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/8.813, allocations: 344.3 kB / 3.821 GB, free: 99.99 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/8.813, allocations: 7.953 kB / 3.821 GB, free: 99.98 MB / 1.151 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001371/8.815, allocations: 0.7997 MB / 3.822 GB, free: 99.18 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005221/8.815, allocations: 1.664 MB / 3.823 GB, free: 97.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/8.815, allocations: 4 kB / 3.823 GB, free: 97.38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/8.815, allocations: 8 kB / 3.823 GB, free: 97.37 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/8.817, allocations: 255.7 kB / 3.824 GB, free: 97.12 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/8.818, allocations: 1.358 MB / 3.825 GB, free: 95.64 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/8.819, allocations: 99.55 kB / 3.825 GB, free: 95.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/8.819, allocations: 39.94 kB / 3.825 GB, free: 95.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/8.819, allocations: 5.094 kB / 3.825 GB, free: 95.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001103/8.82, allocations: 0.6622 MB / 3.826 GB, free: 94.84 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/8.82, allocations: 4 kB / 3.826 GB, free: 94.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/8.821, allocations: 11.94 kB / 3.826 GB, free: 94.82 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/8.822, allocations: 260.2 kB / 3.826 GB, free: 94.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/8.823, allocations: 1.362 MB / 3.827 GB, free: 93.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/8.824, allocations: 103.5 kB / 3.827 GB, free: 92.99 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.02e-05/8.824, allocations: 28 kB / 3.827 GB, free: 92.96 MB / 1.151 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.0002403/8.824, allocations: 133.8 kB / 3.828 GB, free: 92.82 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/8.825, allocations: 102.7 kB / 3.828 GB, free: 92.72 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/8.826, allocations: 0.7846 MB / 3.828 GB, free: 91.93 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/8.826, allocations: 8 kB / 3.828 GB, free: 91.92 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/8.826, allocations: 0 / 3.828 GB, free: 91.92 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001174/8.828, allocations: 0.7147 MB / 3.829 GB, free: 91.17 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003748/8.831, allocations: 1.853 MB / 3.831 GB, free: 89.24 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/8.831, allocations: 4 kB / 3.831 GB, free: 89.24 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007555/8.832, allocations: 151.8 kB / 3.831 GB, free: 89.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004831/8.833, allocations: 45 kB / 3.831 GB, free: 89.04 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.953e-05/8.833, allocations: 19.89 kB / 3.831 GB, free: 89.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/8.834, allocations: 1.322 MB / 3.832 GB, free: 87.58 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/8.834, allocations: 4 kB / 3.832 GB, free: 87.58 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/8.836, allocations: 1.301 MB / 3.834 GB, free: 86.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005636/8.837, allocations: 259.6 kB / 3.834 GB, free: 85.92 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/8.837, allocations: 0 / 3.834 GB, free: 85.92 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009129/8.838, allocations: 63.94 kB / 3.834 GB, free: 85.86 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/8.838, allocations: 48.5 kB / 3.834 GB, free: 85.81 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/8.838, allocations: 20 kB / 3.834 GB, free: 85.79 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007507/8.839, allocations: 464 kB / 3.834 GB, free: 85.33 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/8.839, allocations: 0 / 3.834 GB, free: 85.33 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002498/8.841, allocations: 0.6503 MB / 3.835 GB, free: 84.68 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,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.003451/8.845, allocations: 1.991 MB / 3.837 GB, free: 82.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00261/8.847, allocations: 1.076 MB / 3.838 GB, free: 81.52 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/8.847, allocations: 4.062 kB / 3.838 GB, free: 81.52 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007105/8.848, allocations: 420.6 kB / 3.839 GB, free: 81.09 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/8.85, allocations: 426 kB / 3.839 GB, free: 80.68 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/8.854, allocations: 1.651 MB / 3.841 GB, free: 78.98 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007916/8.855, allocations: 1.173 MB / 3.842 GB, free: 77.77 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001562/8.856, allocations: 315.5 kB / 3.842 GB, free: 77.46 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/8.856, allocations: 67.42 kB / 3.842 GB, free: 77.39 MB / 1.151 GB Notification: Performance of SimCode: time 5.81e-07/8.857, allocations: 0 / 3.842 GB, free: 77.39 MB / 1.151 GB Notification: Performance of Templates: time 0.04378/8.9, allocations: 26.58 MB / 3.868 GB, free: 51 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)