Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 199 kB / 16.79 MB, free: 6.809 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.356/1.356, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9447/0.9447, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 64.34 kB / 0.5053 GB, free: 5.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1721, allocations: 80.92 MB / 0.5843 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5604/0.7326, allocations: 188.2 MB / 0.7681 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.7431, allocations: 5.763 MB / 0.7738 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.7449, allocations: 35.75 kB / 0.7738 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.7466, allocations: 497.4 kB / 0.7743 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005031/0.7517, allocations: 1.727 MB / 0.7759 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.755, allocations: 1.07 MB / 0.777 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005383/0.7604, allocations: 4.092 MB / 0.781 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.7618, allocations: 0.9549 MB / 0.7819 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.7636, allocations: 0.914 MB / 0.7828 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.7657, allocations: 1.002 MB / 0.7838 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.7659, allocations: 64 kB / 0.7839 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/0.7695, allocations: 1.633 MB / 0.7854 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006218/0.7701, allocations: 0.5142 MB / 0.786 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009017/0.771, allocations: 0.6609 MB / 0.7866 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.7732, allocations: 1.762 MB / 0.7883 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.7732, allocations: 0 / 0.7883 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7732, allocations: 0 / 0.7883 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.762e-05/0.7732, allocations: 0 / 0.7883 GB, free: 12.55 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002799/0.7761, allocations: 1.628 MB / 0.7899 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.7761, allocations: 12.03 kB / 0.7899 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.7782, allocations: 326.2 kB / 0.7902 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.7796, allocations: 0.8668 MB / 0.7911 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.368e-05/0.7797, allocations: 74 kB / 0.7911 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.7799, allocations: 107.9 kB / 0.7912 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.7818, allocations: 1.085 MB / 0.7923 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.7818, allocations: 0 / 0.7923 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.792e-05/0.7819, allocations: 40 kB / 0.7923 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-05/0.782, allocations: 42 kB / 0.7924 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.7836, allocations: 0.9915 MB / 0.7934 GB, free: 7.285 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.006474/0.7901, allocations: 4.231 MB / 0.7975 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009191/0.7911, allocations: 0.5981 MB / 0.7981 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/0.7916, allocations: 342.5 kB / 0.7984 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002128/0.7918, allocations: 105.5 kB / 0.7985 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.7918, allocations: 42.98 kB / 0.7985 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 2.725e-06/0.7919, allocations: 0 / 0.7985 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.004434/0.7963, allocations: 2.201 MB / 0.8007 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.7964, allocations: 55.97 kB / 0.8007 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.7975, allocations: 0.8843 MB / 0.8016 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.325e-05/0.7975, allocations: 37.7 kB / 0.8016 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/0.798, allocations: 0.5185 MB / 0.8021 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.7982, allocations: 193.2 kB / 0.8023 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.7984, allocations: 130.6 kB / 0.8025 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.7985, allocations: 334 kB / 0.8028 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.7991, allocations: 289.8 kB / 0.8031 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/0.7997, allocations: 454.6 kB / 0.8035 GB, free: 12.36 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003828/0.8035, allocations: 1.73 MB / 0.8052 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.8036, allocations: 4 kB / 0.8052 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001646/0.8052, allocations: 0.9218 MB / 0.8061 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.8053, allocations: 7.938 kB / 0.8061 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.8053, allocations: 4 kB / 0.8061 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/0.8055, allocations: 103 kB / 0.8062 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/0.8062, allocations: 163.8 kB / 0.8063 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003562/0.8098, allocations: 4.287 MB / 0.8105 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.8109, allocations: 67.89 kB / 0.8106 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.811, allocations: 27.94 kB / 0.8106 GB, free: 4.551 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005738/0.8115, allocations: 341.6 kB / 0.8109 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.8117, allocations: 106.8 kB / 0.811 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.8119, allocations: 113.2 kB / 0.8112 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.8119, allocations: 7.938 kB / 0.8112 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.8119, allocations: 4 kB / 0.8112 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/0.813, allocations: 0.7652 MB / 0.8119 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00323/0.8163, allocations: 1.98 MB / 0.8138 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.8163, allocations: 4 kB / 0.8139 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/0.817, allocations: 156.2 kB / 0.814 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.8171, allocations: 40.83 kB / 0.814 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.8171, allocations: 16 kB / 0.8141 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.8184, allocations: 1.483 MB / 0.8155 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.407e-05/0.8184, allocations: 7.922 kB / 0.8155 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.8202, allocations: 1.238 MB / 0.8167 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004684/0.8206, allocations: 243.9 kB / 0.817 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.8208, allocations: 19.98 kB / 0.817 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007817/0.8216, allocations: 66.03 kB / 0.817 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.8217, allocations: 55.81 kB / 0.8171 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.35e-05/0.8217, allocations: 31.98 kB / 0.8171 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007667/0.8225, allocations: 0.6122 MB / 0.8177 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8225, allocations: 0 / 0.8177 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000966/0.8235, allocations: 308 kB / 0.818 GB, free: 12.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004637/0.824, allocations: 200 kB / 0.8182 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.8255, allocations: 0.9967 MB / 0.8192 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8255, allocations: 0 / 0.8192 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.8261, allocations: 455.7 kB / 0.8196 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.8288, allocations: 0.6259 MB / 0.8202 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.8326, allocations: 2.596 MB / 0.8228 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007306/0.8333, allocations: 1.163 MB / 0.8239 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.8336, allocations: 83.42 kB / 0.824 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of SimCode: time 8.62e-07/0.8336, allocations: 4 kB / 0.824 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of Templates: time 0.0333/0.8669, allocations: 27.03 MB / 0.8504 GB, free: 11.5 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)