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.00116/0.00116, 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.001242/0.001242, allocations: 190.1 kB / 16.25 MB, free: 6.633 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.407/1.407, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9642/0.9642, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 69.61 kB / 0.5049 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1794, allocations: 80.92 MB / 0.5839 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5276/0.7071, allocations: 188 MB / 0.7675 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009691/0.7168, allocations: 5.654 MB / 0.773 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.7186, allocations: 35.75 kB / 0.773 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.7204, allocations: 0.5092 MB / 0.7735 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004591/0.725, allocations: 1.712 MB / 0.7752 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002823/0.7278, allocations: 1.085 MB / 0.7762 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003477/0.7313, allocations: 2.949 MB / 0.7791 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.7327, allocations: 1.099 MB / 0.7802 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.7345, allocations: 1.066 MB / 0.7812 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/0.7366, allocations: 1.029 MB / 0.7822 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.7368, allocations: 124 kB / 0.7824 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003126/0.74, allocations: 1.52 MB / 0.7838 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006138/0.7406, allocations: 0.5689 MB / 0.7844 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008286/0.7414, allocations: 0.7273 MB / 0.7851 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003014/0.7444, allocations: 2.415 MB / 0.7875 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7445, allocations: 0 / 0.7875 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7445, allocations: 0 / 0.7875 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.567e-05/0.7445, allocations: 0 / 0.7875 GB, free: 12.81 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.002534/0.747, allocations: 1.628 MB / 0.7891 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.7471, allocations: 8.031 kB / 0.7891 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.7491, allocations: 330.2 kB / 0.7894 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.7504, allocations: 0.8707 MB / 0.7902 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.809e-05/0.7505, allocations: 74 kB / 0.7903 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.7507, allocations: 103.9 kB / 0.7904 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.7526, allocations: 1.085 MB / 0.7915 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.7526, allocations: 4 kB / 0.7915 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.7527, allocations: 40 kB / 0.7915 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.677e-05/0.7528, allocations: 38 kB / 0.7915 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.7545, allocations: 0.9915 MB / 0.7925 GB, free: 7.547 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.005947/0.7605, allocations: 4.239 MB / 0.7966 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008922/0.7614, allocations: 0.6047 MB / 0.7972 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004962/0.7619, allocations: 334.6 kB / 0.7975 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.7621, allocations: 113.5 kB / 0.7977 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.7621, allocations: 43 kB / 0.7977 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 2.655e-06/0.7621, allocations: 0 / 0.7977 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.004123/0.7663, allocations: 2.197 MB / 0.7998 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.7663, allocations: 55.97 kB / 0.7999 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.7674, allocations: 0.8843 MB / 0.8008 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.7675, allocations: 37.7 kB / 0.8008 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/0.7678, allocations: 0.5224 MB / 0.8013 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.768, allocations: 193.2 kB / 0.8015 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.7682, allocations: 126.6 kB / 0.8016 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.7683, allocations: 334 kB / 0.8019 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.7688, allocations: 285.8 kB / 0.8022 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/0.7694, allocations: 450.4 kB / 0.8026 GB, free: 12.62 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.00398/0.7734, allocations: 1.741 MB / 0.8043 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.7734, allocations: 4 kB / 0.8043 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001589/0.775, allocations: 0.9258 MB / 0.8052 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.7751, allocations: 7.938 kB / 0.8052 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.7751, allocations: 4 kB / 0.8053 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/0.7753, allocations: 106.2 kB / 0.8054 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007586/0.7761, allocations: 159.8 kB / 0.8055 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003461/0.7796, allocations: 4.632 MB / 0.81 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.7806, allocations: 70.06 kB / 0.8101 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.7807, allocations: 28.81 kB / 0.8101 GB, free: 4.43 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.0005155/0.7812, allocations: 345.6 kB / 0.8105 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.7814, allocations: 102.8 kB / 0.8105 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.7816, allocations: 113.2 kB / 0.8107 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.7816, allocations: 4 kB / 0.8107 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7816, allocations: 0 / 0.8107 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001138/0.7827, allocations: 0.7691 MB / 0.8114 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/0.7859, allocations: 1.978 MB / 0.8133 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.786, allocations: 7.938 kB / 0.8134 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007163/0.7867, allocations: 148.2 kB / 0.8135 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.7868, allocations: 40.83 kB / 0.8135 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.635e-05/0.7869, allocations: 19.98 kB / 0.8136 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.7881, allocations: 1.606 MB / 0.8151 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.7882, allocations: 4 kB / 0.8151 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.79, allocations: 1.226 MB / 0.8163 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.7904, allocations: 259.9 kB / 0.8166 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.7905, allocations: 19.94 kB / 0.8166 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008231/0.7914, allocations: 77.97 kB / 0.8167 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.7915, allocations: 47.83 kB / 0.8167 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.417e-05/0.7916, allocations: 31.98 kB / 0.8167 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007818/0.7924, allocations: 0.6083 MB / 0.8173 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7924, allocations: 0 / 0.8173 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009892/0.7934, allocations: 316 kB / 0.8176 GB, free: 12.36 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.0004374/0.7938, allocations: 195.9 kB / 0.8178 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001835/0.7957, allocations: 1.121 MB / 0.8189 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.7957, allocations: 1 kB / 0.8189 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006341/0.7963, allocations: 446.8 kB / 0.8193 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/0.7991, allocations: 0.6507 MB / 0.82 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.8026, allocations: 2.514 MB / 0.8224 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007665/0.8033, allocations: 1.174 MB / 0.8236 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009173/0.8043, allocations: 256.4 kB / 0.8238 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.8045, allocations: 75.44 kB / 0.8239 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of SimCode: time 6.82e-07/0.8045, allocations: 0 / 0.8239 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of Templates: time 0.03402/0.8385, allocations: 22.15 MB / 0.8455 GB, free: 0 / 0.6544 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)