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.001499/0.001499, 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.001262/0.001262, allocations: 193 kB / 16.25 MB, free: 6.629 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.365/1.365, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7676/0.7676, allocations: 132.2 MB / 422.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 60.28 kB / 0.5013 GB, free: 9.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1583, allocations: 80.2 MB / 0.5796 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4523/0.6107, allocations: 188 MB / 0.7632 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01085/0.6216, allocations: 5.642 MB / 0.7687 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.6238, allocations: 39.75 kB / 0.7687 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.6258, allocations: 0.5052 MB / 0.7692 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005986/0.6318, allocations: 1.72 MB / 0.7709 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003665/0.6354, allocations: 1.092 MB / 0.772 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004372/0.6398, allocations: 2.953 MB / 0.7748 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.6418, allocations: 1.09 MB / 0.7759 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/0.6441, allocations: 1.066 MB / 0.7769 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.6462, allocations: 1.032 MB / 0.778 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002906/0.6465, allocations: 124 kB / 0.7781 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003141/0.6496, allocations: 1.516 MB / 0.7796 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006837/0.6503, allocations: 0.5728 MB / 0.7801 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009316/0.6513, allocations: 0.7234 MB / 0.7808 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003425/0.6547, allocations: 2.415 MB / 0.7832 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.6547, allocations: 7.984 kB / 0.7832 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6547, allocations: 3.938 kB / 0.7832 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.6548, allocations: 0 / 0.7832 GB, free: 2.691 MB / 0.5919 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.002618/0.6574, allocations: 1.626 MB / 0.7848 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.6575, allocations: 8.031 kB / 0.7848 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.6594, allocations: 322.2 kB / 0.7851 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.6607, allocations: 0.8824 MB / 0.786 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/0.6607, allocations: 70 kB / 0.786 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.6609, allocations: 99.94 kB / 0.7861 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.6627, allocations: 1.085 MB / 0.7872 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.6627, allocations: 0 / 0.7872 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.6628, allocations: 47.98 kB / 0.7872 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/0.6629, allocations: 37.98 kB / 0.7873 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.6645, allocations: 0.9953 MB / 0.7882 GB, free: 13.43 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.005661/0.6702, allocations: 4.235 MB / 0.7924 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008799/0.6711, allocations: 0.597 MB / 0.7929 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.6716, allocations: 346.5 kB / 0.7933 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/0.6718, allocations: 101.5 kB / 0.7934 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.6718, allocations: 43 kB / 0.7934 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 2.294e-06/0.6718, allocations: 0 / 0.7934 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.00395/0.6758, allocations: 2.197 MB / 0.7956 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.6759, allocations: 63.97 kB / 0.7956 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.6769, allocations: 0.8765 MB / 0.7965 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.031e-05/0.677, allocations: 45.7 kB / 0.7965 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.6774, allocations: 0.5223 MB / 0.797 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.6776, allocations: 193.2 kB / 0.7972 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.6778, allocations: 130.6 kB / 0.7973 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6779, allocations: 330 kB / 0.7977 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005413/0.6785, allocations: 289.8 kB / 0.7979 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/0.6791, allocations: 450.6 kB / 0.7984 GB, free: 2.504 MB / 0.6075 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.003793/0.6829, allocations: 1.742 MB / 0.8001 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6829, allocations: 0 / 0.8001 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001529/0.6845, allocations: 0.9296 MB / 0.801 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.6845, allocations: 12.44 kB / 0.801 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.6845, allocations: 8 kB / 0.801 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.6848, allocations: 94.52 kB / 0.8011 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.6855, allocations: 162.3 kB / 0.8012 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003604/0.6891, allocations: 4.629 MB / 0.8058 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.6902, allocations: 74.34 kB / 0.8058 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/0.6903, allocations: 31.94 kB / 0.8059 GB, free: 10.31 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.0005868/0.6909, allocations: 344.7 kB / 0.8062 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.691, allocations: 94.88 kB / 0.8063 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.6912, allocations: 109.2 kB / 0.8064 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.6912, allocations: 8 kB / 0.8064 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.6912, allocations: 11.92 kB / 0.8064 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001093/0.6923, allocations: 0.7652 MB / 0.8071 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.6955, allocations: 1.98 MB / 0.8091 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6956, allocations: 4 kB / 0.8091 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006763/0.6962, allocations: 147.8 kB / 0.8092 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.797e-05/0.6964, allocations: 40.77 kB / 0.8093 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.6964, allocations: 16 kB / 0.8093 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.6976, allocations: 1.606 MB / 0.8108 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6976, allocations: 8.062 kB / 0.8109 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.6995, allocations: 1.23 MB / 0.8121 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005337/0.7, allocations: 251.9 kB / 0.8123 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.7002, allocations: 15.98 kB / 0.8123 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008005/0.701, allocations: 72.53 kB / 0.8124 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.7011, allocations: 51.81 kB / 0.8124 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/0.7012, allocations: 28.22 kB / 0.8125 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008346/0.702, allocations: 0.62 MB / 0.8131 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.702, allocations: 0 / 0.8131 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009908/0.703, allocations: 304 kB / 0.8134 GB, free: 2.266 MB / 0.6231 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.00047/0.7035, allocations: 211.2 kB / 0.8136 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001734/0.7053, allocations: 1.111 MB / 0.8146 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.7053, allocations: 0 / 0.8146 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006467/0.7059, allocations: 446.4 kB / 0.8151 GB, free: 472 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/0.7086, allocations: 0.6518 MB / 0.8157 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.712, allocations: 2.507 MB / 0.8181 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/0.7128, allocations: 1.174 MB / 0.8193 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009235/0.7137, allocations: 244.4 kB / 0.8195 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.714, allocations: 79.42 kB / 0.8196 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of SimCode: time 1.463e-06/0.714, allocations: 0 / 0.8196 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of Templates: time 0.03656/0.7505, allocations: 22.16 MB / 0.8412 GB, free: 5.953 MB / 0.6544 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)