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.001283/0.001283, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001374/0.001374, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.348/1.348, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9213/0.9213, allocations: 135.6 MB / 425.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 68.64 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1559, allocations: 81.02 MB / 0.5845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4407/0.5967, allocations: 188 MB / 0.7681 GB, free: 480 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.6067, allocations: 5.635 MB / 0.7736 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.6084, allocations: 39.75 kB / 0.7736 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.6101, allocations: 0.5092 MB / 0.7741 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004548/0.6146, allocations: 1.712 MB / 0.7758 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.6175, allocations: 1.088 MB / 0.7768 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003724/0.6212, allocations: 2.944 MB / 0.7797 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.6227, allocations: 1.109 MB / 0.7808 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.6244, allocations: 1.055 MB / 0.7818 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002128/0.6266, allocations: 1.03 MB / 0.7828 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002836/0.6269, allocations: 124 kB / 0.783 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003329/0.6302, allocations: 1.523 MB / 0.7844 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006896/0.6309, allocations: 0.565 MB / 0.785 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009145/0.6318, allocations: 0.7273 MB / 0.7857 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003505/0.6353, allocations: 2.423 MB / 0.7881 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6354, allocations: 0 / 0.7881 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6354, allocations: 0 / 0.7881 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.544e-05/0.6354, allocations: 0 / 0.7881 GB, free: 11.94 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.002732/0.6381, allocations: 1.624 MB / 0.7897 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.6382, allocations: 8.031 kB / 0.7897 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.6402, allocations: 330.2 kB / 0.79 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.6416, allocations: 0.8785 MB / 0.7908 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.361e-05/0.6417, allocations: 74 kB / 0.7909 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.6418, allocations: 99.94 kB / 0.791 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.6438, allocations: 1.081 MB / 0.7921 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.6438, allocations: 0 / 0.7921 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.6439, allocations: 48 kB / 0.7921 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/0.644, allocations: 34 kB / 0.7921 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.6456, allocations: 0.9954 MB / 0.7931 GB, free: 6.676 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.006256/0.6519, allocations: 4.232 MB / 0.7972 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009396/0.6529, allocations: 0.606 MB / 0.7978 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005109/0.6534, allocations: 338.6 kB / 0.7982 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/0.6536, allocations: 101.5 kB / 0.7983 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.6536, allocations: 43 kB / 0.7983 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 2.154e-06/0.6537, allocations: 0 / 0.7983 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.00428/0.6579, allocations: 2.201 MB / 0.8004 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.658, allocations: 63.91 kB / 0.8005 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.6591, allocations: 0.8804 MB / 0.8014 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.241e-05/0.6592, allocations: 41.7 kB / 0.8014 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.6596, allocations: 0.5146 MB / 0.8019 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.6598, allocations: 201.2 kB / 0.8021 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.66, allocations: 130.6 kB / 0.8022 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6602, allocations: 333.9 kB / 0.8025 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.6607, allocations: 285.8 kB / 0.8028 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006382/0.6614, allocations: 454.6 kB / 0.8032 GB, free: 11.74 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.003909/0.6653, allocations: 1.739 MB / 0.8049 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6653, allocations: 0 / 0.8049 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00161/0.6669, allocations: 0.9222 MB / 0.8058 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.6669, allocations: 11.94 kB / 0.8059 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.667, allocations: 8.5 kB / 0.8059 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/0.6672, allocations: 94.52 kB / 0.806 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007035/0.6679, allocations: 163.9 kB / 0.8061 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004058/0.672, allocations: 4.628 MB / 0.8106 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.6731, allocations: 77.3 kB / 0.8107 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.085e-05/0.6732, allocations: 35.94 kB / 0.8107 GB, free: 3.555 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.0006258/0.6738, allocations: 345.6 kB / 0.8111 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.674, allocations: 98.88 kB / 0.8112 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.6742, allocations: 105.2 kB / 0.8113 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.6742, allocations: 11.98 kB / 0.8113 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.6742, allocations: 0 / 0.8113 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001139/0.6753, allocations: 0.7652 MB / 0.812 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/0.6786, allocations: 1.988 MB / 0.814 GB, free: 96 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.6786, allocations: 1.438 kB / 0.814 GB, free: 96 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006823/0.6793, allocations: 148.3 kB / 0.8141 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.993e-05/0.6794, allocations: 40.77 kB / 0.8141 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.6795, allocations: 16 kB / 0.8142 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.681, allocations: 1.61 MB / 0.8157 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.681, allocations: 4 kB / 0.8157 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.6828, allocations: 1.23 MB / 0.8169 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.6833, allocations: 259.9 kB / 0.8172 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.6834, allocations: 12 kB / 0.8172 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007742/0.6842, allocations: 71 kB / 0.8173 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.6843, allocations: 56.05 kB / 0.8173 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.96e-05/0.6844, allocations: 31.98 kB / 0.8173 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008238/0.6852, allocations: 0.6122 MB / 0.8179 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6853, allocations: 0 / 0.8179 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009639/0.6862, allocations: 308 kB / 0.8182 GB, free: 11.5 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.0004693/0.6867, allocations: 205.5 kB / 0.8184 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00186/0.6886, allocations: 1.116 MB / 0.8195 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.6886, allocations: 4 kB / 0.8195 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006739/0.6893, allocations: 455.9 kB / 0.82 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/0.6919, allocations: 0.6416 MB / 0.8206 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.6955, allocations: 2.501 MB / 0.823 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009185/0.6965, allocations: 1.166 MB / 0.8242 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00106/0.6975, allocations: 256.3 kB / 0.8244 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.6978, allocations: 75.44 kB / 0.8245 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of SimCode: time 6.61e-07/0.6978, allocations: 4 kB / 0.8245 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of Templates: time 0.03721/0.735, allocations: 22.16 MB / 0.8461 GB, free: 15.14 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)