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.001111/0.001111, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001167/0.001167, allocations: 195.5 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4734/0.4734, allocations: 54.92 MB / 324.3 MB, free: 152 kB / 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.001437/0.001437, allocations: 63.91 kB / 394.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1485, allocations: 59.59 MB / 454.3 MB, free: 0.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4535/0.6021, allocations: 188.2 MB / 0.6274 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01039/0.6125, allocations: 5.687 MB / 0.633 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003134/0.6158, allocations: 39.69 kB / 0.633 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.6178, allocations: 0.5402 MB / 0.6336 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005441/0.6233, allocations: 1.719 MB / 0.6352 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003769/0.627, allocations: 1.151 MB / 0.6364 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.416/1.043, allocations: 4.546 MB / 0.6408 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/1.045, allocations: 1.011 MB / 0.6418 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002799/1.048, allocations: 1.03 MB / 0.6428 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/1.05, allocations: 1.038 MB / 0.6438 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000223/1.051, allocations: 62.31 kB / 0.6439 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/1.054, allocations: 1.233 MB / 0.6451 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007558/1.054, allocations: 0.5659 MB / 0.6456 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/1.056, allocations: 0.7023 MB / 0.6463 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003741/1.059, allocations: 2.383 MB / 0.6486 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.059, allocations: 3.562 kB / 0.6486 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/1.059, allocations: 1.844 kB / 0.6486 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.011e-05/1.059, allocations: 0 / 0.6486 GB, free: 3.453 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.004193/1.064, allocations: 1.672 MB / 0.6503 GB, free: 18.65 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/1.064, allocations: 9.531 kB / 0.6503 GB, free: 18.65 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/1.066, allocations: 303.9 kB / 0.6506 GB, free: 18.58 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/1.067, allocations: 0.8673 MB / 0.6514 GB, free: 18.24 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.515e-05/1.067, allocations: 85.42 kB / 0.6515 GB, free: 18.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/1.068, allocations: 107.5 kB / 0.6516 GB, free: 18.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/1.07, allocations: 1.156 MB / 0.6527 GB, free: 18.15 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/1.07, allocations: 1.203 kB / 0.6527 GB, free: 18.15 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.07, allocations: 49.83 kB / 0.6528 GB, free: 18.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.67e-05/1.07, allocations: 43.14 kB / 0.6528 GB, free: 18.15 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/1.072, allocations: 1.039 MB / 0.6538 GB, free: 18.13 MB / 0.5137 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.008254/1.08, allocations: 4.395 MB / 0.6581 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/1.081, allocations: 0.5914 MB / 0.6587 GB, free: 16.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006557/1.082, allocations: 318.5 kB / 0.659 GB, free: 16.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.347e-05/1.082, allocations: 14.09 kB / 0.659 GB, free: 16.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/1.082, allocations: 40.47 kB / 0.6591 GB, free: 16.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=50): time 2.976e-06/1.082, allocations: 0 / 0.6591 GB, free: 16.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52): time 0.005085/1.087, allocations: 2.121 MB / 0.6611 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/1.087, allocations: 61.62 kB / 0.6612 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/1.089, allocations: 0.9735 MB / 0.6621 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.688e-05/1.089, allocations: 41.73 kB / 0.6622 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004547/1.09, allocations: 0.5321 MB / 0.6627 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/1.09, allocations: 186.7 kB / 0.6629 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/1.09, allocations: 135.5 kB / 0.663 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.09, allocations: 335.8 kB / 0.6633 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/1.091, allocations: 282.2 kB / 0.6636 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007024/1.092, allocations: 449.1 kB / 0.664 GB, free: 14.29 MB / 0.5137 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.004025/1.096, allocations: 1.674 MB / 0.6657 GB, free: 14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/1.096, allocations: 3.281 kB / 0.6657 GB, free: 14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002006/1.098, allocations: 0.9271 MB / 0.6666 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/1.098, allocations: 6.719 kB / 0.6666 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/1.098, allocations: 4.938 kB / 0.6666 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/1.098, allocations: 100.2 kB / 0.6667 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007919/1.099, allocations: 171.1 kB / 0.6668 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/1.103, allocations: 4.286 MB / 0.671 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/1.104, allocations: 65.19 kB / 0.6711 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/1.104, allocations: 29.03 kB / 0.6711 GB, free: 10.07 MB / 0.5137 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: 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 (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.000816/1.105, allocations: 363.6 kB / 0.6715 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/1.105, allocations: 113.7 kB / 0.6716 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/1.105, allocations: 110.2 kB / 0.6717 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/1.105, allocations: 5.406 kB / 0.6717 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/1.105, allocations: 0.5625 kB / 0.6717 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001255/1.107, allocations: 0.7335 MB / 0.6724 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/1.11, allocations: 1.894 MB / 0.6742 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/1.11, allocations: 2.656 kB / 0.6742 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006782/1.111, allocations: 141.2 kB / 0.6744 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/1.111, allocations: 43.09 kB / 0.6744 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/1.111, allocations: 16.59 kB / 0.6744 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/1.113, allocations: 1.483 MB / 0.6759 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.113, allocations: 3.422 kB / 0.6759 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/1.115, allocations: 1.17 MB / 0.677 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006829/1.115, allocations: 277.4 kB / 0.6773 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/1.115, allocations: 12.08 kB / 0.6773 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008794/1.116, allocations: 79.33 kB / 0.6774 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/1.116, allocations: 48.7 kB / 0.6774 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.666e-05/1.117, allocations: 36.88 kB / 0.6775 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001194/1.118, allocations: 0.6755 MB / 0.6781 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/1.118, allocations: 0 / 0.6781 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001354/1.119, allocations: 302.9 kB / 0.6784 GB, free: 7.359 MB / 0.5137 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 (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.0005141/1.12, allocations: 196.5 kB / 0.6786 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001606/1.121, allocations: 0.9855 MB / 0.6796 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.121, allocations: 3.625 kB / 0.6796 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005553/1.122, allocations: 431.1 kB / 0.68 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/1.125, allocations: 0.6571 MB / 0.6806 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004691/1.129, allocations: 2.562 MB / 0.6831 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/1.131, allocations: 1.193 MB / 0.6843 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001209/1.132, allocations: 257.7 kB / 0.6845 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/1.132, allocations: 75.19 kB / 0.6846 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/1.132, allocations: 4 kB / 0.6846 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of Templates: time 0.03943/1.171, allocations: 22.98 MB / 0.707 GB, free: 8.895 MB / 0.5294 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (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)