Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009461/0.0009462, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001131/0.001131, allocations: 172.7 kB / 15.95 MB, free: 208 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.729/1.729, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4877/0.4877, allocations: 55.01 MB / 325.4 MB, free: 0.6797 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.0006622/0.0006624, allocations: 16 kB / 396.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.4605, allocations: 60.72 MB / 457.4 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2222/0.6827, allocations: 173.2 MB / 0.6157 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.6935, allocations: 5.29 MB / 0.6209 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.6957, allocations: 35.75 kB / 0.6209 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.6978, allocations: 425.3 kB / 0.6213 GB, free: 4.27 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.004407/0.7022, allocations: 1.26 MB / 0.6226 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003221/0.7054, allocations: 0.8849 MB / 0.6234 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004962/0.7104, allocations: 3.269 MB / 0.6266 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.7118, allocations: 0.7303 MB / 0.6273 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.7144, allocations: 0.9142 MB / 0.6282 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.7161, allocations: 0.8533 MB / 0.6291 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.7163, allocations: 40 kB / 0.6291 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.7186, allocations: 0.799 MB / 0.6299 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005819/0.7192, allocations: 470.6 kB / 0.6303 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004298/0.7197, allocations: 261.1 kB / 0.6306 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.7218, allocations: 1.547 MB / 0.6321 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.7219, allocations: 0 / 0.6321 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7219, allocations: 0 / 0.6321 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.587e-05/0.7219, allocations: 0 / 0.6321 GB, free: 9.227 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002624/0.7245, allocations: 1.294 MB / 0.6334 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.7246, allocations: 11.97 kB / 0.6334 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.7264, allocations: 310.3 kB / 0.6337 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.7278, allocations: 0.7584 MB / 0.6344 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003293/0.7281, allocations: 129.9 kB / 0.6345 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.7283, allocations: 92 kB / 0.6346 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.7303, allocations: 1.142 MB / 0.6357 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.7304, allocations: 0 / 0.6357 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.7305, allocations: 40 kB / 0.6358 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.352e-05/0.7306, allocations: 41.92 kB / 0.6358 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.7322, allocations: 0.8822 MB / 0.6367 GB, free: 4.414 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.3156/1.048, allocations: 4.21 MB / 0.6408 GB, free: 160 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007368/1.049, allocations: 353.2 kB / 0.6411 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/1.049, allocations: 196.5 kB / 0.6413 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.473e-05/1.049, allocations: 8.781 kB / 0.6413 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/1.049, allocations: 40.19 kB / 0.6414 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.635e-06/1.049, allocations: 0 / 0.6414 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.002736/1.052, allocations: 1.248 MB / 0.6426 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/1.052, allocations: 55.59 kB / 0.6426 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/1.054, allocations: 1.071 MB / 0.6437 GB, free: 159.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.607e-05/1.054, allocations: 39.17 kB / 0.6437 GB, free: 159.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004259/1.054, allocations: 0.5098 MB / 0.6442 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/1.054, allocations: 123.7 kB / 0.6443 GB, free: 159 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/1.054, allocations: 14.09 kB / 0.6443 GB, free: 159 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.054, allocations: 329.2 kB / 0.6447 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/1.055, allocations: 240.6 kB / 0.6449 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/1.055, allocations: 426.4 kB / 0.6453 GB, free: 158.5 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.001643/1.057, allocations: 0.7175 MB / 0.646 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/1.057, allocations: 3.812 kB / 0.646 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001408/1.058, allocations: 0.7769 MB / 0.6468 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.058, allocations: 7.875 kB / 0.6468 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/1.059, allocations: 6.219 kB / 0.6468 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/1.059, allocations: 8.438 kB / 0.6468 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/1.059, allocations: 147.3 kB / 0.6469 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/1.059, allocations: 15.34 kB / 0.6469 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008886/1.06, allocations: 97.91 kB / 0.647 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/1.06, allocations: 26.31 kB / 0.6471 GB, free: 158.3 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: 24 * 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 (73): * Single equations (assignments): 73 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000536/1.061, allocations: 319.6 kB / 0.6474 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/1.061, allocations: 107.3 kB / 0.6475 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/1.061, allocations: 104 kB / 0.6476 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/1.061, allocations: 5.781 kB / 0.6476 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.061, allocations: 0 / 0.6476 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000592/1.062, allocations: 0.65 MB / 0.6482 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/1.064, allocations: 1.509 MB / 0.6497 GB, free: 157.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/1.064, allocations: 7.875 kB / 0.6497 GB, free: 157.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/1.064, allocations: 82.06 kB / 0.6498 GB, free: 157.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.557e-05/1.064, allocations: 9.562 kB / 0.6498 GB, free: 157.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/1.064, allocations: 13.44 kB / 0.6498 GB, free: 157.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-06/1.065, allocations: 3.875 kB / 0.6498 GB, free: 157.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/1.065, allocations: 6.906 kB / 0.6498 GB, free: 157.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/1.066, allocations: 0.7952 MB / 0.6506 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005097/1.066, allocations: 255.9 kB / 0.6508 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/1.066, allocations: 21.75 kB / 0.6508 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007495/1.067, allocations: 66.95 kB / 0.6509 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/1.067, allocations: 29.36 kB / 0.6509 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.688e-05/1.067, allocations: 28.02 kB / 0.651 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001373/1.069, allocations: 0.759 MB / 0.6517 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.069, allocations: 0 / 0.6517 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001273/1.07, allocations: 250.6 kB / 0.6519 GB, free: 156.3 MB / 0.4981 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 (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007494/1.071, allocations: 190 kB / 0.6521 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001162/1.072, allocations: 486.9 kB / 0.6526 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.515e-06/1.072, allocations: 2.844 kB / 0.6526 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002688/1.072, allocations: 178.7 kB / 0.6528 GB, free: 156 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/1.075, allocations: 0.6192 MB / 0.6534 GB, free: 155.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/1.078, allocations: 2.2 MB / 0.6555 GB, free: 154.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/1.079, allocations: 1.116 MB / 0.6566 GB, free: 153.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001139/1.08, allocations: 245 kB / 0.6568 GB, free: 153.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/1.08, allocations: 75.34 kB / 0.6569 GB, free: 153.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.813e-06/1.08, allocations: 0 / 0.6569 GB, free: 153.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.04135/1.122, allocations: 19.53 MB / 0.676 GB, free: 151.2 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) Environment - environmentSimulation: