Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.213/2.213, allocations: 387.1 MB / 399.7 MB, free: 9.539 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.001048/0.001048, allocations: 177 kB / 492.3 MB, free: 0.6562 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.658/1.658, allocations: 221.3 MB / 0.7872 GB, free: 12.94 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.0008543/0.0008544, allocations: 87.95 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.846e-05, allocations: 6.688 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3202, allocations: 142.3 MB / 1.212 GB, free: 38.58 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.056/6.376, allocations: 1.971 GB / 3.183 GB, free: 358.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/6.377, allocations: 95.88 kB / 3.183 GB, free: 358 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.257/8.633, allocations: 0.6301 GB / 3.813 GB, free: 149.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.845e-06/8.633, allocations: 3.938 kB / 3.813 GB, free: 149.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001351/8.634, allocations: 35.98 kB / 3.813 GB, free: 149.8 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.004636/8.638, allocations: 1.575 MB / 3.815 GB, free: 148.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.608e-05/8.638, allocations: 8.031 kB / 3.815 GB, free: 148.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00268/8.641, allocations: 369.1 kB / 3.815 GB, free: 147.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/8.645, allocations: 1.226 MB / 3.816 GB, free: 146.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.142e-05/8.645, allocations: 82 kB / 3.816 GB, free: 146.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/8.645, allocations: 100 kB / 3.817 GB, free: 146.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/8.647, allocations: 1.089 MB / 3.818 GB, free: 145.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/8.647, allocations: 0 / 3.818 GB, free: 145.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.515e-05/8.647, allocations: 44 kB / 3.818 GB, free: 145.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-05/8.647, allocations: 34 kB / 3.818 GB, free: 145.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/8.648, allocations: 0.7652 MB / 3.818 GB, free: 144.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.005699/8.654, allocations: 5.139 MB / 3.823 GB, free: 138.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008542/8.655, allocations: 0.6642 MB / 3.824 GB, free: 138.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/8.655, allocations: 323.4 kB / 3.824 GB, free: 137.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005207/8.656, allocations: 307.8 kB / 3.825 GB, free: 137.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/8.656, allocations: 47.12 kB / 3.825 GB, free: 137.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 3.516e-06/8.656, allocations: 0 / 3.825 GB, free: 137.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001313/8.657, allocations: 0.689 MB / 3.825 GB, free: 136.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/8.657, allocations: 170.7 kB / 3.826 GB, free: 136.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008061/8.658, allocations: 0.7472 MB / 3.826 GB, free: 135.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/8.658, allocations: 41.7 kB / 3.826 GB, free: 135.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/8.658, allocations: 0.5587 MB / 3.827 GB, free: 135.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/8.659, allocations: 244.4 kB / 3.827 GB, free: 134.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/8.659, allocations: 12 kB / 3.827 GB, free: 134.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.93e-05/8.659, allocations: 337.9 kB / 3.827 GB, free: 134.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/8.659, allocations: 241.5 kB / 3.828 GB, free: 134.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/8.66, allocations: 478.7 kB / 3.828 GB, free: 133.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/8.66, allocations: 304 kB / 3.828 GB, free: 133.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/8.66, allocations: 8 kB / 3.828 GB, free: 133.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001102/8.661, allocations: 0.807 MB / 3.829 GB, free: 132.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003727/8.661, allocations: 1.669 MB / 3.831 GB, free: 130.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/8.661, allocations: 8 kB / 3.831 GB, free: 130.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/8.662, allocations: 8 kB / 3.831 GB, free: 130.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/8.663, allocations: 263.6 kB / 3.831 GB, free: 130.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/8.664, allocations: 1.409 MB / 3.833 GB, free: 129.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/8.665, allocations: 135.3 kB / 3.833 GB, free: 128.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.773e-05/8.665, allocations: 35.95 kB / 3.833 GB, free: 128.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/8.665, allocations: 5.094 kB / 3.833 GB, free: 128.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000989/8.666, allocations: 0.6818 MB / 3.833 GB, free: 128.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/8.666, allocations: 11.92 kB / 3.833 GB, free: 128.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/8.666, allocations: 12 kB / 3.833 GB, free: 128.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/8.668, allocations: 252.1 kB / 3.834 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009645/8.669, allocations: 1.409 MB / 3.835 GB, free: 126.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/8.67, allocations: 139.2 kB / 3.835 GB, free: 126.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/8.67, allocations: 28 kB / 3.835 GB, free: 126.2 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.0002413/8.67, allocations: 153.7 kB / 3.835 GB, free: 126.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/8.67, allocations: 118.5 kB / 3.835 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/8.672, allocations: 0.7932 MB / 3.836 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/8.672, allocations: 8 kB / 3.836 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/8.672, allocations: 0 / 3.836 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/8.673, allocations: 0.7029 MB / 3.837 GB, free: 124.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/8.676, allocations: 1.95 MB / 3.839 GB, free: 122.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/8.676, allocations: 4.094 kB / 3.839 GB, free: 122.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007075/8.677, allocations: 156 kB / 3.839 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004203/8.677, allocations: 48.81 kB / 3.839 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.076e-05/8.677, allocations: 23.98 kB / 3.839 GB, free: 122.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/8.678, allocations: 1.375 MB / 3.84 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/8.678, allocations: 7.984 kB / 3.84 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/8.68, allocations: 1.306 MB / 3.842 GB, free: 119.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005232/8.681, allocations: 271.4 kB / 3.842 GB, free: 119 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/8.681, allocations: 16 kB / 3.842 GB, free: 118.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006856/8.681, allocations: 67.94 kB / 3.842 GB, free: 118.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/8.682, allocations: 60.39 kB / 3.842 GB, free: 118.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/8.682, allocations: 20 kB / 3.842 GB, free: 118.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007829/8.682, allocations: 0.586 MB / 3.843 GB, free: 118.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.51e-07/8.682, allocations: 0 / 3.843 GB, free: 118.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002438/8.685, allocations: 0.7249 MB / 3.843 GB, free: 117.5 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.002935/8.688, allocations: 1.783 MB / 3.845 GB, free: 115.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002727/8.691, allocations: 1.136 MB / 3.846 GB, free: 114.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/8.691, allocations: 0 / 3.846 GB, free: 114.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006826/8.691, allocations: 451.1 kB / 3.847 GB, free: 114 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/8.694, allocations: 0.4921 MB / 3.847 GB, free: 113.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/8.697, allocations: 1.709 MB / 3.849 GB, free: 111.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/8.698, allocations: 1.173 MB / 3.85 GB, free: 110.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00142/8.699, allocations: 348.5 kB / 3.85 GB, free: 110.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/8.699, allocations: 63.44 kB / 3.85 GB, free: 110.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.903e-06/8.699, allocations: 4 kB / 3.85 GB, free: 110.2 MB / 1.151 GB Notification: Performance of Templates: time 0.06233/8.762, allocations: 44.53 MB / 3.894 GB, free: 65.81 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)