Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.009212/0.009212, allocations: 170.8 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8044/0.8044, allocations: 135.2 MB / 151.1 MB, free: 13.86 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.2 MB / 406.9 MB, free: 3.227 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.0008433/0.0008433, allocations: 97.03 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003329, allocations: 15.98 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5028, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.01/5.513, allocations: 1.893 GB / 2.543 GB, free: 44.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/5.513, allocations: 98.06 kB / 2.543 GB, free: 43.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.605/8.118, allocations: 0.5961 GB / 3.139 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.463e-06/8.118, allocations: 0 / 3.139 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001212/8.119, allocations: 29.38 kB / 3.139 GB, free: 128.5 MB / 0.6823 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.003554/8.122, allocations: 1.237 MB / 3.14 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/8.122, allocations: 11.5 kB / 3.14 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/8.123, allocations: 212.1 kB / 3.141 GB, free: 128 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/8.125, allocations: 0.6725 MB / 3.141 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/8.125, allocations: 57.91 kB / 3.141 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/8.125, allocations: 81.94 kB / 3.141 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/8.126, allocations: 0.8987 MB / 3.142 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/8.126, allocations: 3.906 kB / 3.142 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/8.126, allocations: 33.84 kB / 3.142 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/8.126, allocations: 27.69 kB / 3.142 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008685/8.127, allocations: 0.5889 MB / 3.143 GB, free: 127.5 MB / 0.6823 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.003865/8.131, allocations: 4.562 MB / 3.147 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000538/8.132, allocations: 438.2 kB / 3.148 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002038/8.132, allocations: 102.4 kB / 3.148 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/8.132, allocations: 48.52 kB / 3.148 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 2.665e-06/8.132, allocations: 0 / 3.148 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.002536/8.135, allocations: 1.549 MB / 3.149 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/8.135, allocations: 118.7 kB / 3.149 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/8.135, allocations: 0.6175 MB / 3.15 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/8.135, allocations: 39.58 kB / 3.15 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/8.136, allocations: 417.7 kB / 3.151 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/8.136, allocations: 161.8 kB / 3.151 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/8.136, allocations: 14.88 kB / 3.151 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/8.136, allocations: 332.2 kB / 3.151 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/8.136, allocations: 181.2 kB / 3.151 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/8.136, allocations: 423.7 kB / 3.152 GB, free: 122.6 MB / 0.6823 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.001491/8.138, allocations: 0.655 MB / 3.152 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/8.138, allocations: 3.844 kB / 3.152 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000883/8.139, allocations: 0.6549 MB / 3.153 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/8.139, allocations: 14.42 kB / 3.153 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/8.139, allocations: 10.11 kB / 3.153 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/8.139, allocations: 10.53 kB / 3.153 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/8.139, allocations: 126.6 kB / 3.153 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/8.139, allocations: 16.25 kB / 3.153 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007609/8.14, allocations: 51.81 kB / 3.153 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/8.14, allocations: 27.97 kB / 3.153 GB, free: 122.4 MB / 0.6823 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.000509/8.141, allocations: 282.2 kB / 3.153 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/8.141, allocations: 80.59 kB / 3.153 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/8.141, allocations: 94.53 kB / 3.154 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/8.141, allocations: 2.781 kB / 3.154 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/8.141, allocations: 3.75 kB / 3.154 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006342/8.142, allocations: 0.6931 MB / 3.154 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/8.144, allocations: 1.6 MB / 3.156 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/8.144, allocations: 5.875 kB / 3.156 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/8.145, allocations: 105.7 kB / 3.156 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/8.145, allocations: 3.594 kB / 3.156 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/8.145, allocations: 17.62 kB / 3.156 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/8.145, allocations: 7.219 kB / 3.156 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/8.145, allocations: 10.83 kB / 3.156 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/8.146, allocations: 1.052 MB / 3.157 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/8.146, allocations: 203.7 kB / 3.157 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.753e-05/8.146, allocations: 12.59 kB / 3.157 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/8.147, allocations: 46.02 kB / 3.157 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/8.147, allocations: 36.22 kB / 3.157 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/8.147, allocations: 25.25 kB / 3.157 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005786/8.147, allocations: 0.5064 MB / 3.158 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/8.147, allocations: 0 / 3.158 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001535/8.149, allocations: 364.1 kB / 3.158 GB, free: 120.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],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.00263/8.152, allocations: 1.657 MB / 3.16 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009019/8.152, allocations: 464.6 kB / 3.16 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/8.153, allocations: 3.844 kB / 3.16 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/8.153, allocations: 204.8 kB / 3.16 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/8.155, allocations: 462.7 kB / 3.161 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/8.157, allocations: 1.972 MB / 3.163 GB, free: 119 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/8.158, allocations: 1.048 MB / 3.164 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007273/8.159, allocations: 197.4 kB / 3.164 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/8.159, allocations: 62.72 kB / 3.164 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/8.159, allocations: 0 / 3.164 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.04865/8.207, allocations: 33.8 MB / 3.197 GB, free: 117.1 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)