Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00462/0.00462, allocations: 97.64 kB / 15.73 MB, free: 6.047 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.001064/0.001064, allocations: 196.8 kB / 16.68 MB, free: 5.969 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7373/0.7373, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 64.16 kB / 0.5814 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1794, allocations: 80.19 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6061/0.7856, allocations: 190.5 MB / 0.8457 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009509/0.7952, allocations: 5.674 MB / 0.8512 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/0.7978, allocations: 43.19 kB / 0.8513 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.7995, allocations: 0.576 MB / 0.8518 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005456/0.805, allocations: 1.827 MB / 0.8536 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.808, allocations: 1.18 MB / 0.8548 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003474/0.8115, allocations: 2.954 MB / 0.8576 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.8128, allocations: 1.128 MB / 0.8587 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.8146, allocations: 1.063 MB / 0.8598 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.8166, allocations: 0.9674 MB / 0.8607 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00024/0.8168, allocations: 128.3 kB / 0.8609 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003152/0.82, allocations: 1.439 MB / 0.8623 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005894/0.8206, allocations: 0.5733 MB / 0.8628 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009789/0.8216, allocations: 0.7236 MB / 0.8635 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0053/0.8269, allocations: 2.349 MB / 0.8658 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.8269, allocations: 1.031 kB / 0.8658 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.414e-06/0.8269, allocations: 0 / 0.8658 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.027e-05/0.827, allocations: 3.094 kB / 0.8658 GB, free: 2.551 MB / 0.6387 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.003265/0.8303, allocations: 1.652 MB / 0.8674 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.8303, allocations: 14.16 kB / 0.8674 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.8323, allocations: 339.5 kB / 0.8678 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.8337, allocations: 0.9239 MB / 0.8687 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/0.8337, allocations: 77.88 kB / 0.8688 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.8338, allocations: 95.16 kB / 0.8688 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.8354, allocations: 1.08 MB / 0.8699 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.8355, allocations: 0 / 0.8699 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-05/0.8356, allocations: 46.41 kB / 0.8699 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.104e-05/0.8356, allocations: 39.75 kB / 0.87 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.837, allocations: 0.9943 MB / 0.8709 GB, free: 1.199 MB / 0.6387 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.005483/0.8425, allocations: 4.219 MB / 0.8751 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007665/0.8433, allocations: 0.5986 MB / 0.8757 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004608/0.8438, allocations: 343.7 kB / 0.876 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.844, allocations: 108.2 kB / 0.8761 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.844, allocations: 42.06 kB / 0.8761 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.875e-06/0.844, allocations: 0 / 0.8761 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55): time 0.003804/0.8478, allocations: 2.216 MB / 0.8783 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.8479, allocations: 57.34 kB / 0.8783 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.849, allocations: 0.8818 MB / 0.8792 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.849, allocations: 44.48 kB / 0.8792 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.8494, allocations: 0.525 MB / 0.8798 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.8496, allocations: 201.3 kB / 0.88 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.8499, allocations: 135.2 kB / 0.8801 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.85, allocations: 334.3 kB / 0.8804 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004574/0.8505, allocations: 288.5 kB / 0.8807 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005903/0.8511, allocations: 449.1 kB / 0.8811 GB, free: 12.8 MB / 0.6544 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.003585/0.8547, allocations: 1.729 MB / 0.8828 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.8547, allocations: 6.281 kB / 0.8828 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001569/0.8563, allocations: 0.9254 MB / 0.8837 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.8563, allocations: 7.75 kB / 0.8837 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.8563, allocations: 6.5 kB / 0.8837 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.8565, allocations: 95.2 kB / 0.8838 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006475/0.8572, allocations: 168.7 kB / 0.884 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003714/0.8609, allocations: 4.645 MB / 0.8885 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009928/0.8619, allocations: 36.84 kB / 0.8885 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.862, allocations: 27.36 kB / 0.8886 GB, free: 7.305 MB / 0.6544 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.0006218/0.8626, allocations: 349.6 kB / 0.8889 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.8628, allocations: 102.7 kB / 0.889 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.863, allocations: 107.6 kB / 0.8891 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.863, allocations: 8.406 kB / 0.8891 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.863, allocations: 0 / 0.8891 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001066/0.8641, allocations: 0.7689 MB / 0.8899 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002875/0.867, allocations: 1.99 MB / 0.8918 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.867, allocations: 3.656 kB / 0.8918 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/0.8676, allocations: 150.3 kB / 0.8919 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/0.8677, allocations: 37.73 kB / 0.892 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.237e-05/0.8678, allocations: 16.34 kB / 0.892 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.8691, allocations: 1.607 MB / 0.8936 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.8691, allocations: 3.594 kB / 0.8936 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.8708, allocations: 1.242 MB / 0.8948 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/0.8713, allocations: 260.5 kB / 0.895 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.8715, allocations: 13.81 kB / 0.895 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007207/0.8722, allocations: 34.72 kB / 0.8951 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.8723, allocations: 45.25 kB / 0.8951 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.3e-05/0.8724, allocations: 31.69 kB / 0.8952 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007944/0.8732, allocations: 0.6169 MB / 0.8958 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8732, allocations: 0 / 0.8958 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001022/0.8742, allocations: 307.5 kB / 0.896 GB, free: 2.957 MB / 0.6544 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.0005258/0.8748, allocations: 201.6 kB / 0.8962 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.8764, allocations: 1.019 MB / 0.8972 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.8764, allocations: 0 / 0.8972 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006146/0.877, allocations: 445 kB / 0.8977 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/0.8798, allocations: 0.6486 MB / 0.8983 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.8835, allocations: 2.119 MB / 0.9004 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.8845, allocations: 1.169 MB / 0.9015 GB, free: 15.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009543/0.8855, allocations: 247.6 kB / 0.9017 GB, free: 15.59 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.8858, allocations: 77.03 kB / 0.9018 GB, free: 15.58 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/0.8858, allocations: 0 / 0.9018 GB, free: 15.58 MB / 0.67 GB Notification: Performance of Templates: time 0.03629/0.9221, allocations: 22.53 MB / 0.9238 GB, free: 11 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)