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.001438/0.001438, allocations: 101.8 kB / 16.27 MB, free: 6.414 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.001671/0.001671, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.523/1.523, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8223/0.8223, allocations: 135.1 MB / 426.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.84 kB / 0.506 GB, free: 8.418 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3601, allocations: 80.91 MB / 0.585 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5345/0.8946, allocations: 190.4 MB / 0.771 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009468/0.9042, allocations: 5.692 MB / 0.7765 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.906, allocations: 40.41 kB / 0.7766 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.9075, allocations: 0.5785 MB / 0.7771 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004933/0.9125, allocations: 1.82 MB / 0.7789 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002992/0.9155, allocations: 1.164 MB / 0.7801 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004157/0.9196, allocations: 2.95 MB / 0.7829 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.9211, allocations: 1.125 MB / 0.784 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.9231, allocations: 1.062 MB / 0.7851 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001996/0.9251, allocations: 0.9595 MB / 0.786 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004443/0.9256, allocations: 126.6 kB / 0.7861 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003515/0.9291, allocations: 1.442 MB / 0.7875 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006334/0.9298, allocations: 0.5672 MB / 0.7881 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009503/0.9307, allocations: 0.7301 MB / 0.7888 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003094/0.9338, allocations: 2.322 MB / 0.7911 GB, free: 1 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.9339, allocations: 0 / 0.7911 GB, free: 1 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9339, allocations: 2.094 kB / 0.7911 GB, free: 1 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.298e-05/0.9339, allocations: 0.9375 kB / 0.7911 GB, free: 1 MB / 0.5762 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.002667/0.9366, allocations: 1.619 MB / 0.7927 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.9366, allocations: 12.11 kB / 0.7927 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/0.9386, allocations: 331 kB / 0.793 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.9399, allocations: 0.8736 MB / 0.7938 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.94, allocations: 70.69 kB / 0.7939 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.9401, allocations: 99.34 kB / 0.794 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.9417, allocations: 1.089 MB / 0.7951 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.9418, allocations: 3.125 kB / 0.7951 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.68e-05/0.9419, allocations: 42.84 kB / 0.7951 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.115e-05/0.9419, allocations: 40.28 kB / 0.7951 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.9434, allocations: 0.9875 MB / 0.7961 GB, free: 15.71 MB / 0.5919 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.005585/0.949, allocations: 4.262 MB / 0.8003 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/0.9498, allocations: 0.5976 MB / 0.8009 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.9502, allocations: 340.8 kB / 0.8012 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.9504, allocations: 109.5 kB / 0.8013 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.9504, allocations: 43.97 kB / 0.8013 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.745e-06/0.9505, allocations: 0.8438 kB / 0.8013 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.003904/0.9544, allocations: 2.2 MB / 0.8035 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.9544, allocations: 61.19 kB / 0.8035 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.9556, allocations: 0.8855 MB / 0.8044 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.962e-05/0.9556, allocations: 42.02 kB / 0.8044 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.956, allocations: 0.5178 MB / 0.8049 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.9562, allocations: 197.8 kB / 0.8051 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.9564, allocations: 132.6 kB / 0.8053 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.9565, allocations: 331.1 kB / 0.8056 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/0.9569, allocations: 288.1 kB / 0.8059 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005417/0.9575, allocations: 445.6 kB / 0.8063 GB, free: 11.95 MB / 0.5919 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.003641/0.9612, allocations: 1.738 MB / 0.808 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.9612, allocations: 5 kB / 0.808 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001552/0.9627, allocations: 0.9211 MB / 0.8089 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.9628, allocations: 6.125 kB / 0.8089 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.9628, allocations: 9.312 kB / 0.8089 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002063/0.963, allocations: 100.3 kB / 0.809 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006958/0.9637, allocations: 161.2 kB / 0.8091 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003578/0.9673, allocations: 4.643 MB / 0.8137 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.9684, allocations: 33.66 kB / 0.8137 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.142e-05/0.9685, allocations: 28.69 kB / 0.8137 GB, free: 7.492 MB / 0.5919 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.0005468/0.969, allocations: 348.2 kB / 0.8141 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.9692, allocations: 101.7 kB / 0.8142 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.9694, allocations: 113.6 kB / 0.8143 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.9694, allocations: 6.312 kB / 0.8143 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.9694, allocations: 0 / 0.8143 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/0.9705, allocations: 0.7594 MB / 0.815 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.9734, allocations: 1.988 MB / 0.817 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.9735, allocations: 6.5 kB / 0.817 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/0.9741, allocations: 146.3 kB / 0.8171 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.616e-05/0.9743, allocations: 41.78 kB / 0.8171 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.9743, allocations: 21.39 kB / 0.8172 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.9755, allocations: 1.604 MB / 0.8187 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.9756, allocations: 6.25 kB / 0.8187 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.9774, allocations: 1.227 MB / 0.8199 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004615/0.9778, allocations: 264.7 kB / 0.8202 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.978, allocations: 15.59 kB / 0.8202 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/0.9787, allocations: 37.73 kB / 0.8202 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.9788, allocations: 50.36 kB / 0.8203 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.816e-05/0.9789, allocations: 34.88 kB / 0.8203 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007714/0.9797, allocations: 0.613 MB / 0.8209 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9797, allocations: 0 / 0.8209 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009839/0.9807, allocations: 305.9 kB / 0.8212 GB, free: 4.488 MB / 0.5919 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.000433/0.9811, allocations: 192.6 kB / 0.8214 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.9828, allocations: 1.113 MB / 0.8225 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.9828, allocations: 1 kB / 0.8225 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005888/0.9834, allocations: 445.1 kB / 0.8229 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/0.9863, allocations: 0.6558 MB / 0.8235 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.9901, allocations: 2.176 MB / 0.8257 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008618/0.991, allocations: 1.166 MB / 0.8268 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.9913, allocations: 84.95 kB / 0.8269 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.9913, allocations: 3.938 kB / 0.8269 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of Templates: time 0.03475/1.026, allocations: 26.99 MB / 0.8533 GB, free: 7.648 MB / 0.6231 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)