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.001061/0.001061, allocations: 104.3 kB / 16.35 MB, free: 5.875 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.001162/0.001162, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7852/0.7852, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 67.89 kB / 0.5067 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4039, allocations: 80.91 MB / 0.5857 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5474/0.9514, allocations: 187.3 MB / 0.7686 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01364/0.9651, allocations: 13.08 MB / 0.7814 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.9662, allocations: 31.44 kB / 0.7814 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.9673, allocations: 423.4 kB / 0.7818 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.9698, allocations: 1.154 MB / 0.7829 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.9713, allocations: 0.7009 MB / 0.7836 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001917/0.9733, allocations: 2.012 MB / 0.7856 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008573/0.9741, allocations: 0.8397 MB / 0.7864 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.9771, allocations: 1.817 MB / 0.7882 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.9783, allocations: 0.6619 MB / 0.7888 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.9784, allocations: 78.69 kB / 0.7889 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.9798, allocations: 0.8767 MB / 0.7898 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.9801, allocations: 381.1 kB / 0.7901 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004525/0.9805, allocations: 0.4979 MB / 0.7906 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.982, allocations: 1.502 MB / 0.7921 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.982, allocations: 0 / 0.7921 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.982, allocations: 2.562 kB / 0.7921 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.982, allocations: 0.9062 kB / 0.7921 GB, free: 1.148 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.001517/0.9835, allocations: 1.225 MB / 0.7933 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.9836, allocations: 9.266 kB / 0.7933 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.9846, allocations: 216.2 kB / 0.7935 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009852/0.9856, allocations: 0.6804 MB / 0.7942 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.9857, allocations: 57.69 kB / 0.7942 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.431e-05/0.9858, allocations: 77.53 kB / 0.7943 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.9868, allocations: 0.9361 MB / 0.7952 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.9868, allocations: 6.406 kB / 0.7952 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.163e-05/0.9869, allocations: 36.17 kB / 0.7952 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/0.987, allocations: 27.59 kB / 0.7953 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007798/0.9877, allocations: 0.6119 MB / 0.7959 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.003736/0.9915, allocations: 4.581 MB / 0.8003 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006097/0.9921, allocations: 0.5475 MB / 0.8009 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.9924, allocations: 247.4 kB / 0.8011 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.9926, allocations: 103.7 kB / 0.8012 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.9926, allocations: 46.62 kB / 0.8013 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.983e-06/0.9926, allocations: 1.031 kB / 0.8013 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002396/0.995, allocations: 1.583 MB / 0.8028 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.9951, allocations: 115.7 kB / 0.8029 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006717/0.9958, allocations: 0.7147 MB / 0.8036 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.9958, allocations: 34.73 kB / 0.8036 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.9961, allocations: 420 kB / 0.804 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.9962, allocations: 159.5 kB / 0.8042 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.9964, allocations: 119.4 kB / 0.8043 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.9965, allocations: 334 kB / 0.8046 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.9968, allocations: 185.9 kB / 0.8048 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.9972, allocations: 412 kB / 0.8052 GB, free: 10.57 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.001882/0.9991, allocations: 1.172 MB / 0.8063 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9991, allocations: 0 / 0.8063 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008488/0.9999, allocations: 0.6729 MB / 0.807 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1, allocations: 8.438 kB / 0.807 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1, allocations: 5.281 kB / 0.807 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/1, allocations: 11.03 kB / 0.807 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/1, allocations: 125.5 kB / 0.8071 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/1, allocations: 12.91 kB / 0.8072 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/1.001, allocations: 27.19 kB / 0.8072 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/1.001, allocations: 28.25 kB / 0.8072 GB, free: 10.16 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.0003099/1.001, allocations: 278.3 kB / 0.8075 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/1.001, allocations: 84.34 kB / 0.8076 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/1.002, allocations: 88.83 kB / 0.8076 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.002, allocations: 6.406 kB / 0.8076 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/1.002, allocations: 2.594 kB / 0.8076 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006849/1.002, allocations: 0.6981 MB / 0.8083 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/1.005, allocations: 1.641 MB / 0.8099 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.005, allocations: 5.875 kB / 0.8099 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/1.005, allocations: 102.8 kB / 0.81 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/1.005, allocations: 8.797 kB / 0.81 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/1.005, allocations: 15.56 kB / 0.8101 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/1.005, allocations: 8.438 kB / 0.8101 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.005, allocations: 9.438 kB / 0.8101 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/1.007, allocations: 0.892 MB / 0.8109 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003093/1.007, allocations: 206.6 kB / 0.8111 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.53e-05/1.007, allocations: 25.03 kB / 0.8112 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/1.007, allocations: 20.38 kB / 0.8112 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/1.007, allocations: 37.52 kB / 0.8112 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/1.007, allocations: 19.39 kB / 0.8112 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005021/1.008, allocations: 0.5115 MB / 0.8117 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.008, allocations: 0 / 0.8117 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000612/1.009, allocations: 198.6 kB / 0.8119 GB, free: 8.375 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.0004421/1.009, allocations: 194.7 kB / 0.8121 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007292/1.01, allocations: 486.3 kB / 0.8126 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.01, allocations: 0 / 0.8126 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/1.01, allocations: 216.1 kB / 0.8128 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/1.012, allocations: 491.2 kB / 0.8133 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/1.014, allocations: 1.639 MB / 0.8149 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/1.015, allocations: 1.027 MB / 0.8159 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005175/1.015, allocations: 201.8 kB / 0.8161 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/1.015, allocations: 71.22 kB / 0.8161 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/1.015, allocations: 0 / 0.8161 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of Templates: time 0.02412/1.039, allocations: 15.06 MB / 0.8308 GB, free: 15.96 MB / 0.6075 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)