Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8107/0.8107, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 177.4 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 221.3 MB / 441.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009124/0.0009125, allocations: 95.75 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.00178, allocations: 276 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.282e-05/4.315e-05, allocations: 12 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4549, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.53/4.985, allocations: 1.88 GB / 2.644 GB, free: 167.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/4.986, allocations: 91.89 kB / 2.644 GB, free: 167.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.036/7.021, allocations: 0.5716 GB / 3.216 GB, free: 118.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.334e-06/7.021, allocations: 0 / 3.216 GB, free: 118.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.058e-05/7.021, allocations: 31.05 kB / 3.216 GB, free: 118.8 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002585/7.024, allocations: 1.24 MB / 3.217 GB, free: 117.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/7.024, allocations: 10.66 kB / 3.217 GB, free: 117.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/7.026, allocations: 330.5 kB / 3.218 GB, free: 117.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003224/7.029, allocations: 0.7824 MB / 3.218 GB, free: 116.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005928/7.03, allocations: 130.5 kB / 3.218 GB, free: 116.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/7.03, allocations: 88 kB / 3.219 GB, free: 116.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/7.033, allocations: 0.9881 MB / 3.219 GB, free: 115.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/7.033, allocations: 0 / 3.219 GB, free: 115.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/7.033, allocations: 47.94 kB / 3.22 GB, free: 115.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.978e-05/7.033, allocations: 33 kB / 3.22 GB, free: 115.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/7.035, allocations: 0.7301 MB / 3.22 GB, free: 114.4 MB / 0.698 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.007816/7.043, allocations: 4.045 MB / 3.224 GB, free: 110.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007859/7.043, allocations: 377.4 kB / 3.225 GB, free: 109.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/7.044, allocations: 203.6 kB / 3.225 GB, free: 109.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/7.044, allocations: 97.09 kB / 3.225 GB, free: 109.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/7.044, allocations: 42.56 kB / 3.225 GB, free: 109.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 6.342e-06/7.044, allocations: 0 / 3.225 GB, free: 109.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=38): time 0.003326/7.047, allocations: 1.168 MB / 3.226 GB, free: 108.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/7.047, allocations: 59.36 kB / 3.226 GB, free: 108.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/7.049, allocations: 0.8387 MB / 3.227 GB, free: 107.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.537e-05/7.049, allocations: 41.7 kB / 3.227 GB, free: 107.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/7.049, allocations: 486.9 kB / 3.227 GB, free: 106.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/7.049, allocations: 137.2 kB / 3.228 GB, free: 106.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/7.049, allocations: 12 kB / 3.228 GB, free: 106.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001207/7.049, allocations: 326 kB / 3.228 GB, free: 106.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/7.049, allocations: 205.4 kB / 3.228 GB, free: 106.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000425/7.05, allocations: 383.4 kB / 3.228 GB, free: 105.7 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/7.052, allocations: 0.7029 MB / 3.229 GB, free: 104.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/7.052, allocations: 3.938 kB / 3.229 GB, free: 104.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009869/7.053, allocations: 0.6758 MB / 3.23 GB, free: 104.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/7.053, allocations: 8 kB / 3.23 GB, free: 104.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/7.053, allocations: 4 kB / 3.23 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/7.053, allocations: 8 kB / 3.23 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/7.053, allocations: 139.8 kB / 3.23 GB, free: 104.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/7.053, allocations: 19.83 kB / 3.23 GB, free: 104.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/7.054, allocations: 95.81 kB / 3.23 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/7.055, allocations: 31.98 kB / 3.23 GB, free: 104 MB / 0.698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001527/7.055, allocations: 141.1 kB / 3.23 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/7.055, allocations: 98.88 kB / 3.23 GB, free: 103.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/7.055, allocations: 101 kB / 3.23 GB, free: 103.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/7.055, allocations: 4 kB / 3.23 GB, free: 103.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/7.055, allocations: 3.984 kB / 3.23 GB, free: 103.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005771/7.056, allocations: 0.6632 MB / 3.231 GB, free: 102.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/7.058, allocations: 1.572 MB / 3.233 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/7.058, allocations: 4 kB / 3.233 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/7.058, allocations: 83.84 kB / 3.233 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/7.058, allocations: 11.98 kB / 3.233 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/7.059, allocations: 16 kB / 3.233 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/7.059, allocations: 4.5 kB / 3.233 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/7.059, allocations: 4.078 kB / 3.233 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/7.06, allocations: 1.055 MB / 3.234 GB, free: 99.87 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/7.06, allocations: 231.9 kB / 3.234 GB, free: 99.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/7.06, allocations: 12 kB / 3.234 GB, free: 99.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006719/7.061, allocations: 59.86 kB / 3.234 GB, free: 99.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/7.061, allocations: 39.86 kB / 3.234 GB, free: 99.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/7.061, allocations: 27.98 kB / 3.234 GB, free: 99.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006935/7.062, allocations: 0.6568 MB / 3.235 GB, free: 98.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/7.062, allocations: 0 / 3.235 GB, free: 98.81 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001235/7.063, allocations: 379.9 kB / 3.235 GB, free: 98.44 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001705/7.065, allocations: 1.346 MB / 3.236 GB, free: 97.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006306/7.065, allocations: 458.4 kB / 3.237 GB, free: 96.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/7.065, allocations: 4 kB / 3.237 GB, free: 96.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/7.065, allocations: 183.7 kB / 3.237 GB, free: 96.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/7.068, allocations: 0.5782 MB / 3.238 GB, free: 95.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/7.07, allocations: 1.428 MB / 3.239 GB, free: 94.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/7.07, allocations: 1.118 MB / 3.24 GB, free: 93.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008067/7.071, allocations: 235.3 kB / 3.24 GB, free: 93.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/7.071, allocations: 75.42 kB / 3.24 GB, free: 93.04 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/7.071, allocations: 0 / 3.24 GB, free: 93.04 MB / 0.698 GB Notification: Performance of Templates: time 0.04685/7.118, allocations: 37.66 MB / 3.277 GB, free: 55.59 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)