Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.76/0.76, allocations: 140.1 MB / 156 MB, free: 5.184 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 180.5 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.4 MB / 426.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007812/0.000781, allocations: 88.98 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001689/0.001689, allocations: 270.7 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.000489, allocations: 16 kB / 0.662 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4293, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7956/1.225, allocations: 368.2 MB / 1.099 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/1.225, allocations: 97.45 kB / 1.099 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.808/4.033, allocations: 0.6583 GB / 1.757 GB, free: 119.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.428e-06/4.034, allocations: 0 / 1.757 GB, free: 119.9 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003033/4.034, allocations: 37 kB / 1.757 GB, free: 119.9 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.006168/4.04, allocations: 1.624 MB / 1.759 GB, free: 119 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/4.04, allocations: 7.031 kB / 1.759 GB, free: 119 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/4.041, allocations: 204.8 kB / 1.759 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04659/4.088, allocations: 21.72 MB / 1.78 GB, free: 116.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003865/4.088, allocations: 139 kB / 1.781 GB, free: 116.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/4.089, allocations: 82.69 kB / 1.781 GB, free: 116.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/4.091, allocations: 1.039 MB / 1.782 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/4.091, allocations: 3.75 kB / 1.782 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/4.091, allocations: 35.5 kB / 1.782 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/4.091, allocations: 22.06 kB / 1.782 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/4.093, allocations: 0.6573 MB / 1.782 GB, free: 116 MB / 0.6667 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.005608/4.098, allocations: 4.317 MB / 1.787 GB, free: 112.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/4.099, allocations: 409.4 kB / 1.787 GB, free: 112.1 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/4.1, allocations: 221.2 kB / 1.787 GB, free: 112 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007607/4.1, allocations: 1.155 MB / 1.788 GB, free: 110.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/4.101, allocations: 42.38 kB / 1.788 GB, free: 110.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=29): time 3.387e-06/4.101, allocations: 0 / 1.788 GB, free: 110.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=29): time 0.002781/4.103, allocations: 1.097 MB / 1.789 GB, free: 110 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/4.103, allocations: 53.91 kB / 1.79 GB, free: 109.9 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/4.105, allocations: 0.9176 MB / 1.79 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-05/4.105, allocations: 33.3 kB / 1.79 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000408/4.105, allocations: 0.5737 MB / 1.791 GB, free: 108.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/4.105, allocations: 105.2 kB / 1.791 GB, free: 108.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/4.105, allocations: 11 kB / 1.791 GB, free: 108.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.32e-05/4.106, allocations: 324.3 kB / 1.791 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/4.106, allocations: 188.9 kB / 1.792 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005828/4.107, allocations: 399 kB / 1.792 GB, free: 108 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000973/4.108, allocations: 0.5675 MB / 1.793 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/4.108, allocations: 3.938 kB / 1.793 GB, free: 107.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001747/4.109, allocations: 0.7413 MB / 1.793 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/4.109, allocations: 7.25 kB / 1.793 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/4.109, allocations: 6.438 kB / 1.793 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006703/4.11, allocations: 135.9 kB / 1.793 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/4.111, allocations: 138.5 kB / 1.794 GB, free: 107.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000832/4.111, allocations: 1.687 MB / 1.795 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009859/4.112, allocations: 118.5 kB / 1.795 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/4.113, allocations: 30.89 kB / 1.795 GB, free: 105.5 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006255/4.113, allocations: 266.7 kB / 1.796 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/4.113, allocations: 112.1 kB / 1.796 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/4.115, allocations: 0.7294 MB / 1.796 GB, free: 104.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/4.115, allocations: 7.266 kB / 1.796 GB, free: 104.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/4.115, allocations: 0 / 1.796 GB, free: 104.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/4.115, allocations: 0 / 1.796 GB, free: 104.9 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003085/4.118, allocations: 1.598 MB / 1.798 GB, free: 103.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/4.118, allocations: 0 / 1.798 GB, free: 103.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/4.119, allocations: 84.86 kB / 1.798 GB, free: 103.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005198/4.119, allocations: 139.9 kB / 1.798 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/4.119, allocations: 11.14 kB / 1.798 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007597/4.12, allocations: 1.686 MB / 1.8 GB, free: 102 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/4.12, allocations: 3.469 kB / 1.8 GB, free: 102 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/4.122, allocations: 0.8095 MB / 1.801 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006075/4.122, allocations: 244.4 kB / 1.801 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/4.123, allocations: 7.844 kB / 1.801 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008373/4.123, allocations: 86.59 kB / 1.801 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/4.124, allocations: 28.16 kB / 1.801 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.87e-05/4.124, allocations: 23.11 kB / 1.801 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001005/4.125, allocations: 0.6154 MB / 1.802 GB, free: 100.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.71e-07/4.125, allocations: 3.938 kB / 1.802 GB, free: 100.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00166/4.126, allocations: 397.3 kB / 1.802 GB, free: 100.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001503/4.128, allocations: 0.5849 MB / 1.803 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001648/4.129, allocations: 0.531 MB / 1.803 GB, free: 100.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/4.129, allocations: 0 / 1.803 GB, free: 100.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007654/4.13, allocations: 304.7 kB / 1.803 GB, free: 100.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/4.133, allocations: 0.5023 MB / 1.804 GB, free: 100 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/4.137, allocations: 2.185 MB / 1.806 GB, free: 98.58 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006964/4.138, allocations: 1.108 MB / 1.807 GB, free: 97.71 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008988/4.138, allocations: 162.7 kB / 1.807 GB, free: 97.66 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/4.139, allocations: 64.8 kB / 1.807 GB, free: 97.64 MB / 0.6667 GB Notification: Performance of SimCode: time 1.654e-06/4.139, allocations: 0 / 1.807 GB, free: 97.64 MB / 0.6667 GB Notification: Performance of Templates: time 0.036/4.175, allocations: 21.28 MB / 1.828 GB, free: 79.61 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)