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.001345/0.001345, allocations: 106.6 kB / 16.27 MB, free: 6.414 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.001339/0.001339, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.443/1.443, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8447/0.8447, allocations: 135.2 MB / 426.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.91 kB / 0.506 GB, free: 8.316 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4122, allocations: 80.91 MB / 0.585 GB, free: 25.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5796/0.9919, allocations: 187.3 MB / 0.7679 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01717/1.009, allocations: 13.06 MB / 0.7807 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/1.011, allocations: 36.11 kB / 0.7807 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/1.012, allocations: 424.4 kB / 0.7811 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003284/1.016, allocations: 1.158 MB / 0.7822 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/1.018, allocations: 0.6975 MB / 0.7829 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002461/1.02, allocations: 2.01 MB / 0.7849 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/1.021, allocations: 0.8427 MB / 0.7857 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00389/1.025, allocations: 1.811 MB / 0.7875 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/1.027, allocations: 0.6581 MB / 0.7881 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001787/1.027, allocations: 78.81 kB / 0.7882 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/1.029, allocations: 0.866 MB / 0.789 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003791/1.03, allocations: 385.8 kB / 0.7894 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006302/1.03, allocations: 0.4995 MB / 0.7899 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/1.032, allocations: 1.475 MB / 0.7913 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.032, allocations: 3.25 kB / 0.7913 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.374e-06/1.032, allocations: 1 kB / 0.7913 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.534e-05/1.032, allocations: 3.094 kB / 0.7913 GB, free: 1.164 MB / 0.5762 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.001813/1.034, allocations: 1.223 MB / 0.7925 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.034, allocations: 13.2 kB / 0.7926 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/1.035, allocations: 210.7 kB / 0.7928 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009274/1.036, allocations: 0.6446 MB / 0.7934 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/1.036, allocations: 65.31 kB / 0.7934 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.641e-05/1.036, allocations: 74.91 kB / 0.7935 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/1.038, allocations: 0.9346 MB / 0.7944 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/1.038, allocations: 5.781 kB / 0.7944 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.008e-05/1.038, allocations: 29.84 kB / 0.7945 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.126e-05/1.038, allocations: 32.77 kB / 0.7945 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000831/1.039, allocations: 0.6165 MB / 0.7951 GB, free: 15.84 MB / 0.5919 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.00499/1.044, allocations: 4.602 MB / 0.7996 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007064/1.044, allocations: 0.535 MB / 0.8001 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/1.045, allocations: 250.5 kB / 0.8004 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/1.045, allocations: 104.4 kB / 0.8005 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/1.045, allocations: 40.12 kB / 0.8005 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.304e-06/1.045, allocations: 0 / 0.8005 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002866/1.048, allocations: 1.584 MB / 0.802 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.11e-05/1.048, allocations: 114.2 kB / 0.8021 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008534/1.049, allocations: 0.711 MB / 0.8028 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.955e-05/1.049, allocations: 35.14 kB / 0.8029 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/1.049, allocations: 419.2 kB / 0.8033 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/1.05, allocations: 161.5 kB / 0.8034 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/1.05, allocations: 122.8 kB / 0.8035 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.05, allocations: 330.2 kB / 0.8039 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/1.05, allocations: 190.3 kB / 0.804 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004837/1.051, allocations: 413.5 kB / 0.8044 GB, free: 10.59 MB / 0.5919 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.002268/1.053, allocations: 1.172 MB / 0.8056 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/1.053, allocations: 2.125 kB / 0.8056 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001089/1.054, allocations: 0.676 MB / 0.8062 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.054, allocations: 6.844 kB / 0.8062 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.054, allocations: 7.344 kB / 0.8063 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/1.054, allocations: 10.47 kB / 0.8063 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/1.055, allocations: 124.7 kB / 0.8064 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/1.055, allocations: 14.48 kB / 0.8064 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006612/1.055, allocations: 28.16 kB / 0.8064 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/1.055, allocations: 25.81 kB / 0.8064 GB, free: 10.17 MB / 0.5919 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.0004614/1.056, allocations: 281 kB / 0.8067 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/1.056, allocations: 87.81 kB / 0.8068 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/1.056, allocations: 92.33 kB / 0.8069 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/1.056, allocations: 4.844 kB / 0.8069 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.056, allocations: 0 / 0.8069 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008131/1.057, allocations: 0.6976 MB / 0.8076 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/1.06, allocations: 1.639 MB / 0.8092 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.06, allocations: 4.719 kB / 0.8092 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004445/1.06, allocations: 102.6 kB / 0.8093 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/1.06, allocations: 7.906 kB / 0.8093 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/1.06, allocations: 15.47 kB / 0.8093 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/1.06, allocations: 10.44 kB / 0.8093 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.06, allocations: 9.625 kB / 0.8093 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/1.061, allocations: 0.8904 MB / 0.8102 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/1.062, allocations: 210.5 kB / 0.8104 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/1.062, allocations: 15.31 kB / 0.8104 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/1.062, allocations: 13.45 kB / 0.8104 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/1.063, allocations: 41.56 kB / 0.8105 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/1.063, allocations: 23.45 kB / 0.8105 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000621/1.063, allocations: 0.5083 MB / 0.811 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/1.063, allocations: 1 kB / 0.811 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008022/1.064, allocations: 202.8 kB / 0.8112 GB, free: 8.395 MB / 0.5919 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.0005113/1.065, allocations: 204.8 kB / 0.8114 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008944/1.065, allocations: 0.5184 MB / 0.8119 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.065, allocations: 1.031 kB / 0.8119 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002554/1.066, allocations: 214.8 kB / 0.8121 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/1.068, allocations: 475.5 kB / 0.8125 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/1.071, allocations: 1.735 MB / 0.8142 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006671/1.072, allocations: 1.03 MB / 0.8152 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/1.072, allocations: 65.02 kB / 0.8153 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of SimCode: time 4.438e-06/1.072, allocations: 0 / 0.8153 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of Templates: time 0.0223/1.094, allocations: 12.93 MB / 0.8279 GB, free: 2.047 MB / 0.5919 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)