Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001215/0.001215, allocations: 175.4 kB / 7.648 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7308/0.7308, allocations: 130.7 MB / 138.7 MB, free: 3.559 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.703/1.703, allocations: 221.5 MB / 391.8 MB, free: 14.24 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.0008484/0.0008484, allocations: 95.94 kB / 473.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.683e-05/1.695e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.5347, allocations: 81.57 MB / 0.6282 GB, free: 43.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.391/5.926, allocations: 1.892 GB / 2.521 GB, free: 20.21 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/5.926, allocations: 84.39 kB / 2.521 GB, free: 20.18 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.616/8.542, allocations: 0.5891 GB / 3.11 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.723e-06/8.543, allocations: 0 / 3.11 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001221/8.543, allocations: 28.42 kB / 3.11 GB, free: 128.2 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003314/8.546, allocations: 1.123 MB / 3.111 GB, free: 127.6 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/8.546, allocations: 14.91 kB / 3.111 GB, free: 127.6 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/8.548, allocations: 216 kB / 3.111 GB, free: 127.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/8.55, allocations: 0.6665 MB / 3.112 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/8.55, allocations: 22.66 kB / 3.112 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/8.55, allocations: 49.41 kB / 3.112 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001109/8.551, allocations: 0.5064 MB / 3.112 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/8.552, allocations: 0.7817 MB / 3.113 GB, free: 127 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/8.552, allocations: 0 / 3.113 GB, free: 127 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.167e-05/8.552, allocations: 7.328 kB / 3.113 GB, free: 127 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.182e-05/8.552, allocations: 34.7 kB / 3.113 GB, free: 127 MB / 0.6667 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.003735/8.556, allocations: 4.376 MB / 3.117 GB, free: 124 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/8.557, allocations: 422.2 kB / 3.118 GB, free: 123.9 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/8.557, allocations: 210.5 kB / 3.118 GB, free: 123.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/8.557, allocations: 101 kB / 3.118 GB, free: 123.8 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/8.557, allocations: 44.25 kB / 3.118 GB, free: 123.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=43): time 1.813e-06/8.557, allocations: 0 / 3.118 GB, free: 123.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.002299/8.559, allocations: 1.319 MB / 3.119 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/8.56, allocations: 106.7 kB / 3.12 GB, free: 123 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/8.56, allocations: 429 kB / 3.12 GB, free: 122.9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/8.56, allocations: 25.7 kB / 3.12 GB, free: 122.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/8.56, allocations: 439.7 kB / 3.12 GB, free: 122.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/8.56, allocations: 155.8 kB / 3.121 GB, free: 122.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/8.56, allocations: 0 / 3.121 GB, free: 122.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001192/8.561, allocations: 375 kB / 3.121 GB, free: 122.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/8.561, allocations: 163.7 kB / 3.121 GB, free: 122.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/8.561, allocations: 396.3 kB / 3.121 GB, free: 122.1 MB / 0.6667 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.001401/8.563, allocations: 0.6457 MB / 3.122 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/8.563, allocations: 3.031 kB / 3.122 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007489/8.563, allocations: 0.5685 MB / 3.123 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/8.563, allocations: 7.562 kB / 3.123 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/8.563, allocations: 6.531 kB / 3.123 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/8.563, allocations: 11.44 kB / 3.123 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/8.564, allocations: 128 kB / 3.123 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/8.564, allocations: 14.72 kB / 3.123 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/8.564, allocations: 37.09 kB / 3.123 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.07e-05/8.564, allocations: 32.47 kB / 3.123 GB, free: 121.9 MB / 0.6667 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 () * 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.0001544/8.565, allocations: 128.4 kB / 3.123 GB, free: 121.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/8.565, allocations: 66.77 kB / 3.123 GB, free: 121.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/8.565, allocations: 74.58 kB / 3.123 GB, free: 121.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/8.565, allocations: 6.219 kB / 3.123 GB, free: 121.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/8.565, allocations: 0 / 3.123 GB, free: 121.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005052/8.565, allocations: 0.6619 MB / 3.124 GB, free: 121.3 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/8.567, allocations: 1.465 MB / 3.125 GB, free: 120.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/8.567, allocations: 3.781 kB / 3.125 GB, free: 120.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/8.568, allocations: 101.6 kB / 3.125 GB, free: 120.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/8.568, allocations: 7.156 kB / 3.125 GB, free: 120.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/8.568, allocations: 9.938 kB / 3.125 GB, free: 120.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/8.568, allocations: 10.81 kB / 3.125 GB, free: 120.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/8.568, allocations: 7.234 kB / 3.125 GB, free: 120.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009251/8.569, allocations: 0.988 MB / 3.126 GB, free: 120.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/8.569, allocations: 190.4 kB / 3.126 GB, free: 120.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/8.569, allocations: 3.469 kB / 3.126 GB, free: 120.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/8.57, allocations: 31.22 kB / 3.127 GB, free: 120.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/8.57, allocations: 43.92 kB / 3.127 GB, free: 120 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/8.57, allocations: 19.95 kB / 3.127 GB, free: 120 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002919/8.57, allocations: 325 kB / 3.127 GB, free: 120 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.61e-07/8.57, allocations: 2.734 kB / 3.127 GB, free: 120 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001036/8.571, allocations: 297.4 kB / 3.127 GB, free: 120 MB / 0.6667 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 () * 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.002206/8.573, allocations: 1.876 MB / 3.129 GB, free: 119.5 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006078/8.574, allocations: 423.7 kB / 3.129 GB, free: 119.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/8.574, allocations: 0 / 3.129 GB, free: 119.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/8.574, allocations: 195.8 kB / 3.13 GB, free: 119.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/8.575, allocations: 295.7 kB / 3.13 GB, free: 119.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/8.577, allocations: 1.251 MB / 3.131 GB, free: 119 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/8.578, allocations: 1.047 MB / 3.132 GB, free: 118.3 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005159/8.578, allocations: 165.6 kB / 3.132 GB, free: 118.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/8.578, allocations: 51.03 kB / 3.132 GB, free: 118.3 MB / 0.6667 GB Notification: Performance of SimCode: time 3.51e-07/8.578, allocations: 0 / 3.132 GB, free: 118.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.02771/8.606, allocations: 19.65 MB / 3.152 GB, free: 117.1 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)