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.007591/0.007591, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8723/0.8723, allocations: 132.3 MB / 148.1 MB, free: 192 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.2 MB / 403.2 MB, free: 6.707 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.001039/0.001039, allocations: 97.42 kB / 485.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 8 kB / 0.5641 GB, free: 2.121 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5048/0.5052, allocations: 81.58 MB / 0.6437 GB, free: 39.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.1/5.605, allocations: 1.893 GB / 2.537 GB, free: 71.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/5.606, allocations: 94.27 kB / 2.537 GB, free: 71.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.02/7.626, allocations: 0.5962 GB / 3.133 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.463e-06/7.626, allocations: 0 / 3.133 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.625e-05/7.626, allocations: 27.98 kB / 3.133 GB, free: 2.98 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.002572/7.629, allocations: 1.243 MB / 3.134 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/7.629, allocations: 8.031 kB / 3.134 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/7.63, allocations: 214.6 kB / 3.135 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/7.631, allocations: 0.664 MB / 3.135 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/7.631, allocations: 58 kB / 3.135 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-05/7.632, allocations: 79.98 kB / 3.135 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.429/8.061, allocations: 0.8972 MB / 3.136 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/8.061, allocations: 5.688 kB / 3.136 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/8.061, allocations: 32.78 kB / 3.136 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/8.061, allocations: 26.94 kB / 3.136 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/8.062, allocations: 0.5886 MB / 3.137 GB, free: 126.1 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.004883/8.067, allocations: 4.563 MB / 3.141 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007111/8.068, allocations: 445.8 kB / 3.142 GB, free: 123 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/8.068, allocations: 100.4 kB / 3.142 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/8.068, allocations: 45.84 kB / 3.142 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 1.763e-06/8.068, allocations: 0 / 3.142 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.002961/8.071, allocations: 1.549 MB / 3.143 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/8.071, allocations: 107.7 kB / 3.144 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009776/8.072, allocations: 0.6223 MB / 3.144 GB, free: 122 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/8.072, allocations: 35.81 kB / 3.144 GB, free: 122 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/8.073, allocations: 424.6 kB / 3.145 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/8.073, allocations: 163.7 kB / 3.145 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/8.073, allocations: 9.75 kB / 3.145 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/8.073, allocations: 330.4 kB / 3.145 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/8.073, allocations: 182.2 kB / 3.145 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/8.074, allocations: 415.6 kB / 3.146 GB, free: 121.2 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.001544/8.075, allocations: 0.6695 MB / 3.146 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/8.075, allocations: 1.406 kB / 3.146 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001076/8.076, allocations: 0.6497 MB / 3.147 GB, free: 121 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/8.076, allocations: 10.11 kB / 3.147 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/8.076, allocations: 6.094 kB / 3.147 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/8.076, allocations: 14.33 kB / 3.147 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/8.077, allocations: 131.5 kB / 3.147 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/8.077, allocations: 9.234 kB / 3.147 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006516/8.077, allocations: 51.66 kB / 3.147 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/8.078, allocations: 29.97 kB / 3.147 GB, free: 121 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.0004013/8.078, allocations: 279.8 kB / 3.147 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/8.078, allocations: 83.38 kB / 3.148 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/8.078, allocations: 91.06 kB / 3.148 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/8.078, allocations: 6.812 kB / 3.148 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/8.078, allocations: 0 / 3.148 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005787/8.079, allocations: 0.6841 MB / 3.148 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/8.081, allocations: 1.603 MB / 3.15 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/8.081, allocations: 3.906 kB / 3.15 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/8.082, allocations: 105.3 kB / 3.15 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/8.082, allocations: 11.58 kB / 3.15 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/8.082, allocations: 16.58 kB / 3.15 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/8.082, allocations: 6.438 kB / 3.15 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/8.082, allocations: 12.23 kB / 3.15 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009219/8.083, allocations: 1.056 MB / 3.151 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/8.083, allocations: 208.5 kB / 3.151 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.61e-05/8.083, allocations: 14.25 kB / 3.151 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/8.084, allocations: 34.39 kB / 3.151 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/8.084, allocations: 47.44 kB / 3.151 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/8.084, allocations: 18.12 kB / 3.151 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004937/8.084, allocations: 0.5032 MB / 3.152 GB, free: 119 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/8.084, allocations: 0 / 3.152 GB, free: 119 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001211/8.085, allocations: 361.3 kB / 3.152 GB, free: 119 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.002176/8.088, allocations: 1.675 MB / 3.154 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006703/8.088, allocations: 462.6 kB / 3.154 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/8.088, allocations: 5.781 kB / 3.154 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/8.088, allocations: 209.5 kB / 3.154 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/8.09, allocations: 452 kB / 3.155 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/8.092, allocations: 1.976 MB / 3.157 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/8.093, allocations: 1.047 MB / 3.158 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006215/8.093, allocations: 194.8 kB / 3.158 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/8.094, allocations: 62.84 kB / 3.158 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/8.094, allocations: 0 / 3.158 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.05032/8.144, allocations: 33.8 MB / 3.191 GB, free: 116.3 MB / 0.6823 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)