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.001609/0.001609, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.65/1.65, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.95 MB / 324.7 MB, free: 8 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.001693/0.001694, allocations: 75.89 kB / 395.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1479, allocations: 59.59 MB / 455 MB, free: 128 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5183/0.6662, allocations: 190.3 MB / 0.6302 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.6766, allocations: 5.612 MB / 0.6357 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.6782, allocations: 39.75 kB / 0.6357 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.6801, allocations: 0.6292 MB / 0.6363 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005131/0.6852, allocations: 1.649 MB / 0.6379 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.3768/1.062, allocations: 1.202 MB / 0.6391 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005059/1.067, allocations: 2.806 MB / 0.6418 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/1.069, allocations: 1.044 MB / 0.6429 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/1.071, allocations: 1.058 MB / 0.6439 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/1.073, allocations: 0.88 MB / 0.6447 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002129/1.073, allocations: 114.2 kB / 0.6449 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/1.076, allocations: 1.314 MB / 0.6461 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005623/1.076, allocations: 0.5344 MB / 0.6467 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000882/1.077, allocations: 0.6713 MB / 0.6473 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003001/1.08, allocations: 2.158 MB / 0.6494 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.08, allocations: 1.656 kB / 0.6494 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.08, allocations: 1.062 kB / 0.6494 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.124e-05/1.08, allocations: 0 / 0.6494 GB, free: 3.301 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.002827/1.083, allocations: 1.53 MB / 0.6509 GB, free: 18.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/1.083, allocations: 11.31 kB / 0.6509 GB, free: 18.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/1.085, allocations: 293.5 kB / 0.6512 GB, free: 18.46 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/1.086, allocations: 0.7859 MB / 0.652 GB, free: 18.14 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/1.086, allocations: 122.9 kB / 0.6521 GB, free: 18.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/1.087, allocations: 89.16 kB / 0.6522 GB, free: 18.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/1.088, allocations: 1.154 MB / 0.6533 GB, free: 17.99 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/1.088, allocations: 7.016 kB / 0.6533 GB, free: 17.99 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.767e-05/1.089, allocations: 38.94 kB / 0.6533 GB, free: 17.99 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-05/1.089, allocations: 38.31 kB / 0.6534 GB, free: 17.99 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/1.09, allocations: 0.8827 MB / 0.6542 GB, free: 17.98 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.005997/1.096, allocations: 4.461 MB / 0.6586 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/1.097, allocations: 354.2 kB / 0.6589 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/1.097, allocations: 195.9 kB / 0.6591 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/1.097, allocations: 5.469 kB / 0.6591 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/1.097, allocations: 43.59 kB / 0.6592 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 3.095e-06/1.097, allocations: 1 kB / 0.6592 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.002581/1.1, allocations: 1.256 MB / 0.6604 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/1.1, allocations: 60.73 kB / 0.6605 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/1.102, allocations: 1.09 MB / 0.6615 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.088e-05/1.102, allocations: 37.02 kB / 0.6616 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/1.102, allocations: 0.5095 MB / 0.6621 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/1.102, allocations: 135.2 kB / 0.6622 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/1.103, allocations: 127.4 kB / 0.6623 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.103, allocations: 331.6 kB / 0.6626 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005647/1.103, allocations: 238.7 kB / 0.6629 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/1.104, allocations: 445.2 kB / 0.6633 GB, free: 14.05 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.002562/1.107, allocations: 1.212 MB / 0.6645 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/1.107, allocations: 2.281 kB / 0.6645 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001802/1.108, allocations: 0.7932 MB / 0.6652 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/1.108, allocations: 8.469 kB / 0.6652 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/1.108, allocations: 6.938 kB / 0.6653 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.534e-05/1.109, allocations: 9.125 kB / 0.6653 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007466/1.109, allocations: 152.3 kB / 0.6654 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.53e-05/1.109, allocations: 14.39 kB / 0.6654 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.11, allocations: 60.53 kB / 0.6655 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/1.111, allocations: 26.81 kB / 0.6655 GB, free: 13.64 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: 27 * 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 (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007015/1.111, allocations: 324.7 kB / 0.6658 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/1.112, allocations: 108.8 kB / 0.6659 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/1.112, allocations: 106 kB / 0.666 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/1.112, allocations: 4.625 kB / 0.666 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/1.112, allocations: 1.281 kB / 0.666 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007912/1.113, allocations: 0.6545 MB / 0.6667 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/1.115, allocations: 1.495 MB / 0.6681 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.115, allocations: 3.656 kB / 0.6681 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/1.116, allocations: 85.97 kB / 0.6682 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/1.116, allocations: 10.03 kB / 0.6682 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/1.116, allocations: 10.78 kB / 0.6682 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/1.116, allocations: 6.5 kB / 0.6682 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/1.116, allocations: 9.625 kB / 0.6682 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/1.117, allocations: 0.8009 MB / 0.669 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004697/1.118, allocations: 260.8 kB / 0.6693 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/1.118, allocations: 15.39 kB / 0.6693 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007603/1.118, allocations: 45.05 kB / 0.6693 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/1.119, allocations: 33.67 kB / 0.6694 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.655e-05/1.119, allocations: 30.64 kB / 0.6694 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001387/1.12, allocations: 0.7692 MB / 0.6701 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/1.12, allocations: 0 / 0.6701 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001107/1.121, allocations: 257.1 kB / 0.6704 GB, free: 12.02 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004919/1.122, allocations: 188.6 kB / 0.6706 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001197/1.123, allocations: 0.5255 MB / 0.6711 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.123, allocations: 1.938 kB / 0.6711 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002907/1.123, allocations: 177.4 kB / 0.6713 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/1.126, allocations: 0.6575 MB / 0.6719 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005126/1.131, allocations: 1.891 MB / 0.6737 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/1.133, allocations: 1.114 MB / 0.6748 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001881/1.135, allocations: 259 kB / 0.6751 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/1.135, allocations: 78.06 kB / 0.6752 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of SimCode: time 1.322e-06/1.135, allocations: 0 / 0.6752 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of Templates: time 0.03883/1.174, allocations: 21.1 MB / 0.6958 GB, free: 3.5 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (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)