Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001021/0.001021, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001172/0.001172, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4639/0.4639, allocations: 55.01 MB / 325.4 MB, free: 0.6562 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006096/0.0006097, allocations: 20 kB / 396.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4592, allocations: 60.72 MB / 457.4 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2192/0.6784, allocations: 173.3 MB / 0.6159 GB, free: 10.06 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009796/0.6883, allocations: 5.3 MB / 0.6211 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.6901, allocations: 35.75 kB / 0.6211 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.6917, allocations: 429.3 kB / 0.6215 GB, free: 4.297 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004865/0.6966, allocations: 1.38 MB / 0.6229 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003064/0.6997, allocations: 0.8978 MB / 0.6237 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005289/0.705, allocations: 3.857 MB / 0.6275 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.7066, allocations: 0.8474 MB / 0.6283 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/0.7093, allocations: 1.004 MB / 0.6293 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.7112, allocations: 0.9613 MB / 0.6303 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.7114, allocations: 52 kB / 0.6303 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.7132, allocations: 0.5457 MB / 0.6308 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00061/0.7138, allocations: 0.5375 MB / 0.6314 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004989/0.7143, allocations: 301.1 kB / 0.6317 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.7164, allocations: 1.699 MB / 0.6333 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.7165, allocations: 0 / 0.6333 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7165, allocations: 7.938 kB / 0.6333 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.98e-05/0.7165, allocations: 0 / 0.6333 GB, free: 8.18 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.002795/0.7193, allocations: 1.403 MB / 0.6347 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.7194, allocations: 8.031 kB / 0.6347 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.7212, allocations: 310.1 kB / 0.635 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.7227, allocations: 0.8324 MB / 0.6358 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.006e-05/0.7228, allocations: 78.09 kB / 0.6359 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.7229, allocations: 104 kB / 0.636 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.7249, allocations: 1.164 MB / 0.6371 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.725, allocations: 0.875 kB / 0.6371 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.7251, allocations: 51.98 kB / 0.6372 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.7251, allocations: 38.09 kB / 0.6372 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.727, allocations: 1.043 MB / 0.6382 GB, free: 3.02 MB / 0.4981 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.3752/1.102, allocations: 4.401 MB / 0.6425 GB, free: 58.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008416/1.103, allocations: 0.5918 MB / 0.6431 GB, free: 58.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004306/1.104, allocations: 317.8 kB / 0.6434 GB, free: 58.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.596e-05/1.104, allocations: 10.91 kB / 0.6434 GB, free: 58.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/1.104, allocations: 46.12 kB / 0.6435 GB, free: 58.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=50): time 2.324e-06/1.104, allocations: 3.969 kB / 0.6435 GB, free: 58.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=52): time 0.00376/1.107, allocations: 2.148 MB / 0.6456 GB, free: 57.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/1.107, allocations: 59.31 kB / 0.6456 GB, free: 57.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/1.109, allocations: 0.9635 MB / 0.6466 GB, free: 57.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/1.109, allocations: 41.98 kB / 0.6466 GB, free: 57.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/1.109, allocations: 0.531 MB / 0.6471 GB, free: 57.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/1.109, allocations: 183.1 kB / 0.6473 GB, free: 57.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/1.109, allocations: 14.88 kB / 0.6473 GB, free: 57.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.109, allocations: 331.4 kB / 0.6476 GB, free: 56.76 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004927/1.11, allocations: 285.2 kB / 0.6479 GB, free: 56.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005872/1.11, allocations: 452.6 kB / 0.6483 GB, free: 56.58 MB / 0.4981 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.002532/1.113, allocations: 1.05 MB / 0.6493 GB, free: 56.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.113, allocations: 2 kB / 0.6493 GB, free: 56.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001552/1.115, allocations: 0.9312 MB / 0.6503 GB, free: 56.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.115, allocations: 10.89 kB / 0.6503 GB, free: 56.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.115, allocations: 5.344 kB / 0.6503 GB, free: 56.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002251/1.115, allocations: 99.27 kB / 0.6504 GB, free: 56.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/1.116, allocations: 176.2 kB / 0.6505 GB, free: 56.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/1.119, allocations: 4.287 MB / 0.6547 GB, free: 52.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/1.12, allocations: 71.81 kB / 0.6548 GB, free: 52.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/1.12, allocations: 29.39 kB / 0.6548 GB, free: 52.57 MB / 0.4981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001007/1.121, allocations: 365.1 kB / 0.6552 GB, free: 52.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/1.121, allocations: 110.3 kB / 0.6553 GB, free: 52.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/1.122, allocations: 109.8 kB / 0.6554 GB, free: 52.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.122, allocations: 5.188 kB / 0.6554 GB, free: 52.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/1.122, allocations: 2.531 kB / 0.6554 GB, free: 52.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001211/1.123, allocations: 0.7417 MB / 0.6561 GB, free: 52.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/1.126, allocations: 1.894 MB / 0.658 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/1.126, allocations: 5.281 kB / 0.658 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/1.127, allocations: 153.2 kB / 0.6581 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/1.127, allocations: 44.95 kB / 0.6582 GB, free: 51.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/1.127, allocations: 22.08 kB / 0.6582 GB, free: 51.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009563/1.128, allocations: 1.48 MB / 0.6596 GB, free: 50.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.128, allocations: 8.609 kB / 0.6596 GB, free: 50.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/1.129, allocations: 1.176 MB / 0.6608 GB, free: 50.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004126/1.13, allocations: 283.9 kB / 0.661 GB, free: 50.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.13, allocations: 13.16 kB / 0.6611 GB, free: 50.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007341/1.131, allocations: 75.78 kB / 0.6611 GB, free: 50.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/1.131, allocations: 43.52 kB / 0.6612 GB, free: 50.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/1.131, allocations: 36.64 kB / 0.6612 GB, free: 50.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008815/1.132, allocations: 0.6677 MB / 0.6619 GB, free: 49.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.563e-06/1.132, allocations: 3.75 kB / 0.6619 GB, free: 49.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001195/1.133, allocations: 304.1 kB / 0.6622 GB, free: 49.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004558/1.133, allocations: 170.2 kB / 0.6623 GB, free: 49.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001709/1.135, allocations: 0.9864 MB / 0.6633 GB, free: 49.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.135, allocations: 6.531 kB / 0.6633 GB, free: 49.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006711/1.136, allocations: 430.6 kB / 0.6637 GB, free: 49.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/1.139, allocations: 0.6563 MB / 0.6643 GB, free: 49.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/1.142, allocations: 2.564 MB / 0.6668 GB, free: 48.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009622/1.143, allocations: 1.192 MB / 0.668 GB, free: 47.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001163/1.145, allocations: 262.4 kB / 0.6683 GB, free: 47.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/1.145, allocations: 77.39 kB / 0.6683 GB, free: 47.27 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/1.145, allocations: 0 / 0.6683 GB, free: 47.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.04613/1.191, allocations: 22.11 MB / 0.6899 GB, free: 39.04 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) Environment - environmentSimulation: