Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 184 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5003/0.5003, allocations: 92 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.676/1.676, allocations: 223.2 MB / 354.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 107.1 kB / 427.4 MB, free: 3.891 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005467/0.0005472, allocations: 8 kB / 0.4982 GB, free: 42.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2349, allocations: 72.32 MB / 0.5689 GB, free: 1.863 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.337/5.572, allocations: 1.884 GB / 2.453 GB, free: 170 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/5.572, allocations: 96.91 kB / 2.453 GB, free: 170 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.002/7.575, allocations: 0.6007 GB / 3.054 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/7.575, allocations: 0 / 3.054 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.997e-05/7.575, allocations: 24 kB / 3.054 GB, free: 52.66 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002807/7.577, allocations: 1.252 MB / 3.055 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/7.578, allocations: 12.03 kB / 3.055 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/7.579, allocations: 218.6 kB / 3.055 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/7.58, allocations: 0.668 MB / 3.056 GB, free: 50.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/7.58, allocations: 58 kB / 3.056 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/7.58, allocations: 76 kB / 3.056 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/7.581, allocations: 0.9062 MB / 3.057 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/7.581, allocations: 0 / 3.057 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.331e-05/7.582, allocations: 35.98 kB / 3.057 GB, free: 49.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/7.582, allocations: 29.31 kB / 3.057 GB, free: 49.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000814/7.582, allocations: 0.5943 MB / 3.057 GB, free: 48.66 MB / 0.6042 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.003724/7.586, allocations: 4.57 MB / 3.062 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/7.587, allocations: 467.9 kB / 3.062 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/7.587, allocations: 101.1 kB / 3.062 GB, free: 43.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/7.587, allocations: 47.55 kB / 3.062 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/7.587, allocations: 0 / 3.062 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.002503/7.59, allocations: 1.546 MB / 3.064 GB, free: 41.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/7.59, allocations: 106.8 kB / 3.064 GB, free: 41.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006677/7.59, allocations: 0.629 MB / 3.065 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/7.59, allocations: 33.7 kB / 3.065 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/7.591, allocations: 427.7 kB / 3.065 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/7.591, allocations: 161.7 kB / 3.065 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/7.591, allocations: 8 kB / 3.065 GB, free: 40.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.596e-05/7.591, allocations: 334 kB / 3.066 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/7.591, allocations: 181.2 kB / 3.066 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/7.591, allocations: 415.6 kB / 3.066 GB, free: 39.11 MB / 0.6042 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/7.593, allocations: 0.6752 MB / 3.067 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/7.593, allocations: 0 / 3.067 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008893/7.594, allocations: 0.6524 MB / 3.067 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/7.594, allocations: 13.52 kB / 3.067 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/7.594, allocations: 4 kB / 3.067 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/7.594, allocations: 12 kB / 3.067 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/7.594, allocations: 131.8 kB / 3.068 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/7.594, allocations: 11.94 kB / 3.068 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/7.595, allocations: 60.25 kB / 3.068 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.606e-05/7.595, allocations: 31.98 kB / 3.068 GB, free: 37.5 MB / 0.6042 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0004366/7.596, allocations: 273.9 kB / 3.068 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/7.596, allocations: 82.97 kB / 3.068 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/7.596, allocations: 95.34 kB / 3.068 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/7.596, allocations: 7.984 kB / 3.068 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/7.596, allocations: 4 kB / 3.068 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005908/7.597, allocations: 0.6843 MB / 3.069 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/7.599, allocations: 1.613 MB / 3.07 GB, free: 34.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/7.599, allocations: 7.984 kB / 3.07 GB, free: 34.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/7.599, allocations: 99.83 kB / 3.07 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/7.599, allocations: 8 kB / 3.07 GB, free: 34.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/7.599, allocations: 16 kB / 3.07 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/7.599, allocations: 4 kB / 3.07 GB, free: 34.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/7.599, allocations: 4 kB / 3.07 GB, free: 34.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009017/7.6, allocations: 1.034 MB / 3.072 GB, free: 33.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/7.6, allocations: 200.2 kB / 3.072 GB, free: 33.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-05/7.6, allocations: 23.98 kB / 3.072 GB, free: 32.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/7.601, allocations: 31.98 kB / 3.072 GB, free: 32.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/7.601, allocations: 43.84 kB / 3.072 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/7.601, allocations: 19.94 kB / 3.072 GB, free: 32.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005015/7.602, allocations: 0.5029 MB / 3.072 GB, free: 32.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/7.602, allocations: 0 / 3.072 GB, free: 32.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001378/7.603, allocations: 368 kB / 3.073 GB, free: 32.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.002191/7.605, allocations: 1.665 MB / 3.074 GB, free: 30.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006953/7.606, allocations: 467.2 kB / 3.075 GB, free: 29.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/7.606, allocations: 0 / 3.075 GB, free: 29.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002289/7.606, allocations: 209.2 kB / 3.075 GB, free: 29.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/7.608, allocations: 462.7 kB / 3.075 GB, free: 29.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/7.61, allocations: 1.979 MB / 3.077 GB, free: 27.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/7.611, allocations: 1.048 MB / 3.078 GB, free: 26.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006397/7.611, allocations: 187 kB / 3.078 GB, free: 25.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/7.611, allocations: 67.42 kB / 3.079 GB, free: 25.83 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/7.611, allocations: 0 / 3.079 GB, free: 25.83 MB / 0.6042 GB Notification: Performance of Templates: time 0.4191/8.03, allocations: 33.76 MB / 3.112 GB, free: 94.47 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)