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/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 105.9 kB / 15.98 MB, free: 5.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 195.3 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.1 MB / 425.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 68.38 kB / 0.5055 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1699, allocations: 80.93 MB / 0.5845 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5497/0.7197, allocations: 184.8 MB / 0.765 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01677/0.7365, allocations: 12.96 MB / 0.7777 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.738, allocations: 31.81 kB / 0.7777 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.7395, allocations: 358 kB / 0.778 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.7425, allocations: 1.081 MB / 0.7791 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.7443, allocations: 0.6388 MB / 0.7797 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002566/0.7469, allocations: 2.017 MB / 0.7817 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.748, allocations: 0.8139 MB / 0.7825 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003958/0.752, allocations: 1.763 MB / 0.7842 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.7536, allocations: 0.7084 MB / 0.7849 GB, free: 96 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.7538, allocations: 76 kB / 0.785 GB, free: 20 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.7555, allocations: 0.9002 MB / 0.7858 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003942/0.7559, allocations: 391 kB / 0.7862 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005596/0.7565, allocations: 0.4938 MB / 0.7867 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.758, allocations: 1.138 MB / 0.7878 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.758, allocations: 0 / 0.7878 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.758, allocations: 0 / 0.7878 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.758, allocations: 0 / 0.7878 GB, free: 13.1 MB / 0.6075 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.001795/0.7598, allocations: 1.226 MB / 0.789 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.7599, allocations: 12.03 kB / 0.789 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.7611, allocations: 218.6 kB / 0.7892 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009453/0.762, allocations: 0.6441 MB / 0.7898 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.7621, allocations: 58 kB / 0.7899 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.7622, allocations: 83.94 kB / 0.79 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.7636, allocations: 0.9287 MB / 0.7909 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.7636, allocations: 4 kB / 0.7909 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.298e-05/0.7637, allocations: 35.94 kB / 0.7909 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/0.7637, allocations: 37.23 kB / 0.791 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009577/0.7647, allocations: 0.6138 MB / 0.7916 GB, free: 9.07 MB / 0.6075 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.004183/0.7689, allocations: 4.585 MB / 0.796 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007248/0.7696, allocations: 0.5357 MB / 0.7966 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.77, allocations: 249 kB / 0.7968 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.7702, allocations: 101.1 kB / 0.7969 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.7702, allocations: 38.56 kB / 0.7969 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.7702, allocations: 4 kB / 0.7969 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002786/0.773, allocations: 1.578 MB / 0.7985 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.7731, allocations: 110.8 kB / 0.7986 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008146/0.7739, allocations: 0.7155 MB / 0.7993 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.774, allocations: 37.95 kB / 0.7993 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.7743, allocations: 419.7 kB / 0.7997 GB, free: 248 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.7744, allocations: 165.7 kB / 0.7999 GB, free: 80 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.7746, allocations: 118.2 kB / 0.8 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7748, allocations: 337.9 kB / 0.8003 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.7751, allocations: 181.2 kB / 0.8005 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/0.7755, allocations: 417 kB / 0.8009 GB, free: 14.94 MB / 0.6231 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.00217/0.7777, allocations: 1.167 MB / 0.802 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7777, allocations: 0 / 0.802 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009866/0.7787, allocations: 0.6754 MB / 0.8027 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.7787, allocations: 8 kB / 0.8027 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.7787, allocations: 8 kB / 0.8027 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.7788, allocations: 8 kB / 0.8027 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.7792, allocations: 128.4 kB / 0.8028 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.7792, allocations: 8 kB / 0.8028 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/0.7799, allocations: 53.44 kB / 0.8029 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/0.7799, allocations: 31.98 kB / 0.8029 GB, free: 12.75 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003796/0.7803, allocations: 275.8 kB / 0.8032 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.7805, allocations: 86.98 kB / 0.8033 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.7806, allocations: 87.67 kB / 0.8034 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.7806, allocations: 4 kB / 0.8034 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7806, allocations: 0 / 0.8034 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007287/0.7814, allocations: 0.7028 MB / 0.804 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.7837, allocations: 1.638 MB / 0.8056 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.7838, allocations: 4 kB / 0.8056 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000472/0.7842, allocations: 115.7 kB / 0.8058 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.7842, allocations: 4 kB / 0.8058 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.7843, allocations: 12 kB / 0.8058 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-06/0.7843, allocations: 8.75 kB / 0.8058 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.7843, allocations: 8.375 kB / 0.8058 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.7854, allocations: 0.9025 MB / 0.8067 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.7857, allocations: 204.1 kB / 0.8069 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.903e-05/0.7858, allocations: 16 kB / 0.8069 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/0.7863, allocations: 39.81 kB / 0.8069 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.7864, allocations: 43.83 kB / 0.807 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.7864, allocations: 20 kB / 0.807 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005897/0.787, allocations: 0.5107 MB / 0.8075 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.493e-06/0.787, allocations: 0 / 0.8075 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000726/0.7877, allocations: 199.9 kB / 0.8077 GB, free: 7.621 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004765/0.7882, allocations: 204.6 kB / 0.8079 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008801/0.7891, allocations: 0.509 MB / 0.8084 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7891, allocations: 4.125 kB / 0.8084 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.7894, allocations: 219.8 kB / 0.8086 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.7914, allocations: 476 kB / 0.809 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.794, allocations: 1.99 MB / 0.811 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/0.7946, allocations: 1.032 MB / 0.812 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.7948, allocations: 71.44 kB / 0.812 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.7948, allocations: 0 / 0.812 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of Templates: time 0.01932/0.8142, allocations: 12.92 MB / 0.8247 GB, free: 6.285 MB / 0.6387 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)