Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Annex60.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001434/0.001434, allocations: 177.3 kB / 15.94 MB, free: 228 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.44/1.44, allocations: 205.4 MB / 222.1 MB, free: 5.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4061/0.4061, allocations: 54.99 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.0005126/0.0005127, allocations: 16 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3219, allocations: 60.72 MB / 457.3 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.ConservationEquation): time 0.01603/0.338, allocations: 17.34 MB / 474.6 MB, free: 29.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005613/0.3437, allocations: 4.008 MB / 478.6 MB, free: 26.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006964/0.3444, allocations: 22.69 kB / 478.7 MB, free: 26.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008368/0.3453, allocations: 299.6 kB / 479 MB, free: 26.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.3469, allocations: 0.716 MB / 479.7 MB, free: 26.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.3486, allocations: 0.6408 MB / 480.3 MB, free: 25.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001438/0.3501, allocations: 1.05 MB / 481.4 MB, free: 25.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000595/0.3507, allocations: 404.7 kB / 481.8 MB, free: 25.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009433/0.3517, allocations: 0.5461 MB / 482.3 MB, free: 24.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000417/0.3521, allocations: 354.4 kB / 482.7 MB, free: 24.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/0.3522, allocations: 23.62 kB / 482.7 MB, free: 24.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.3536, allocations: 0.7923 MB / 483.5 MB, free: 24.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.3537, allocations: 122.8 kB / 483.6 MB, free: 24.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.3539, allocations: 150.2 kB / 483.7 MB, free: 24.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009069/0.3548, allocations: 0.819 MB / 484.6 MB, free: 24.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.3548, allocations: 4 kB / 484.6 MB, free: 24.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3548, allocations: 0 / 484.6 MB, free: 24.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.3548, allocations: 3.156 kB / 484.6 MB, free: 24.24 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001466/0.3563, allocations: 0.924 MB / 485.5 MB, free: 23.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3563, allocations: 8.406 kB / 485.5 MB, free: 23.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009944/0.3573, allocations: 215.7 kB / 485.7 MB, free: 23.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007738/0.3581, allocations: 498.3 kB / 486.2 MB, free: 23.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003394/0.3585, allocations: 98.42 kB / 486.3 MB, free: 23.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.3586, allocations: 48.91 kB / 486.3 MB, free: 23.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.3605, allocations: 0.7819 MB / 487.1 MB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.3605, allocations: 2.938 kB / 487.1 MB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/0.3605, allocations: 21.88 kB / 487.1 MB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.3606, allocations: 11.5 kB / 487.2 MB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.3625, allocations: 0.6518 MB / 487.8 MB, free: 22.57 MB / 382.1 MB 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.002796/0.3653, allocations: 3.178 MB / 491 MB, free: 19.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.3672, allocations: 0.5644 MB / 491.5 MB, free: 19.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.3672, allocations: 6.047 kB / 491.6 MB, free: 19.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001457/0.3687, allocations: 494 kB / 492 MB, free: 19.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.595e-06/0.3687, allocations: 2.906 kB / 492 MB, free: 19.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.00356/0.3723, allocations: 1.104 MB / 493.1 MB, free: 19.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.3724, allocations: 190.4 kB / 493.3 MB, free: 18.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006502/0.373, allocations: 0.5313 MB / 493.9 MB, free: 18.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.3731, allocations: 38.17 kB / 493.9 MB, free: 18.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.3733, allocations: 317.5 kB / 494.2 MB, free: 18.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.444e-05/0.3734, allocations: 111.1 kB / 494.3 MB, free: 18.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.3735, allocations: 10.78 kB / 494.3 MB, free: 18.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.3736, allocations: 371.7 kB / 494.7 MB, free: 17.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007103/0.3743, allocations: 246.8 kB / 494.9 MB, free: 17.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008239/0.3751, allocations: 421.5 kB / 495.3 MB, free: 17.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008083/0.3759, allocations: 314.4 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.376, allocations: 5.062 kB / 495.7 MB, free: 17.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001891/0.3779, allocations: 0.7592 MB / 496.4 MB, free: 17.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003082/0.3782, allocations: 1.343 MB / 497.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.3782, allocations: 5.203 kB / 497.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.3782, allocations: 5.469 kB / 497.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008705/0.3791, allocations: 167.3 kB / 497.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003081/0.3794, allocations: 0.604 MB / 498.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008558/0.3803, allocations: 118.3 kB / 498.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.165e-05/0.3804, allocations: 21.19 kB / 498.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3804, allocations: 3.906 kB / 498.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001275/0.3817, allocations: 0.5837 MB / 499.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3817, allocations: 8.297 kB / 499.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.3817, allocations: 9.781 kB / 499.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.3824, allocations: 137 kB / 499.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003133/0.3827, allocations: 0.6018 MB / 0.4883 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/0.3834, allocations: 90.59 kB / 0.4884 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.3834, allocations: 25.7 kB / 0.4884 GB, free: 14.33 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: dyn.m:VARIABLE(min = max(0.0, 0.0) unit = "kg" fixed = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004707/0.3839, allocations: 319.2 kB / 0.4887 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.82e-05/0.384, allocations: 62.31 kB / 0.4888 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.3859, allocations: 0.7389 MB / 0.4895 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.3859, allocations: 7.188 kB / 0.4895 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.386, allocations: 0.8125 kB / 0.4895 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001802/0.3878, allocations: 0.9041 MB / 0.4904 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/0.3904, allocations: 1.32 MB / 0.4917 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.3904, allocations: 0.5 kB / 0.4917 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006552/0.3911, allocations: 120.8 kB / 0.4918 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.3913, allocations: 30.09 kB / 0.4918 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.3913, allocations: 13.95 kB / 0.4918 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000255/0.3916, allocations: 0.5584 MB / 0.4924 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3916, allocations: 5.125 kB / 0.4924 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/0.3944, allocations: 1.166 MB / 0.4935 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/0.3947, allocations: 193.9 kB / 0.4937 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3949, allocations: 13.09 kB / 0.4937 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006932/0.3956, allocations: 86.62 kB / 0.4938 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.3956, allocations: 21.86 kB / 0.4938 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.3957, allocations: 18.61 kB / 0.4938 GB, free: 11.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005047/0.3962, allocations: 374.4 kB / 0.4942 GB, free: 11.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3962, allocations: 3.938 kB / 0.4942 GB, free: 11.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001301/0.3975, allocations: 343.4 kB / 0.4945 GB, free: 11.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (dyn.U,dyn.m) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006669/0.3982, allocations: 250.5 kB / 0.4948 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002907/0.4011, allocations: 1.067 MB / 0.4958 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4011, allocations: 0 / 0.4958 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008797/0.402, allocations: 390.8 kB / 0.4962 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.4035, allocations: 271.3 kB / 0.4964 GB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.4061, allocations: 1.522 MB / 0.4979 GB, free: 9.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.4065, allocations: 0.9078 MB / 0.4988 GB, free: 8.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006895/0.4072, allocations: 141.5 kB / 0.4989 GB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.4074, allocations: 53.58 kB / 0.499 GB, free: 8.785 MB / 382.1 MB Notification: Performance of SimCode: time 6.22e-07/0.4074, allocations: 0 / 0.499 GB, free: 8.785 MB / 382.1 MB Notification: Performance of Templates: time 0.02281/0.4302, allocations: 11.41 MB / 0.5101 GB, free: 5.23 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) Environment - environmentSimulation: