Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel") translateModel(Annex60.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009664/0.0009664, 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.0009987/0.0009988, 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.399/1.399, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3742/0.3742, allocations: 54.99 MB / 325.4 MB, free: 0.8398 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.00055/0.0005502, allocations: 16 kB / 396.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3758, allocations: 60.72 MB / 457.3 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Storage.Examples.ExpansionVessel): time 0.0111/0.387, allocations: 12.01 MB / 469.3 MB, free: 33.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004294/0.3913, allocations: 3.059 MB / 472.4 MB, free: 31.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004743/0.3919, allocations: 20.62 kB / 472.4 MB, free: 31.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006419/0.3925, allocations: 196.3 kB / 472.6 MB, free: 31.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.3939, allocations: 0.5535 MB / 473.1 MB, free: 30.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.3949, allocations: 364.6 kB / 473.5 MB, free: 30.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000851/0.3958, allocations: 0.6323 MB / 474.1 MB, free: 30.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.3962, allocations: 214.1 kB / 474.3 MB, free: 30.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003508/0.3965, allocations: 262.1 kB / 474.6 MB, free: 30.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.3968, allocations: 179.2 kB / 474.8 MB, free: 30.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.3968, allocations: 15.03 kB / 474.8 MB, free: 30.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.3973, allocations: 175.1 kB / 474.9 MB, free: 30.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/0.3974, allocations: 56.39 kB / 475 MB, free: 30 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.826e-05/0.3975, allocations: 100.9 kB / 475.1 MB, free: 29.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.398, allocations: 391.3 kB / 475.5 MB, free: 29.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.398, allocations: 0 / 475.5 MB, free: 29.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.398, allocations: 0 / 475.5 MB, free: 29.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.398, allocations: 0 / 475.5 MB, free: 29.84 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0009697/0.399, allocations: 0.6683 MB / 476.2 MB, free: 29.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.399, allocations: 9.531 kB / 476.2 MB, free: 29.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.3992, allocations: 46.38 kB / 476.2 MB, free: 29.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005227/0.3997, allocations: 391.8 kB / 476.6 MB, free: 28.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.3998, allocations: 17.48 kB / 476.6 MB, free: 28.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.3998, allocations: 27.19 kB / 476.6 MB, free: 28.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.4003, allocations: 309.2 kB / 476.9 MB, free: 28.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.4004, allocations: 0 / 476.9 MB, free: 28.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.4004, allocations: 10.94 kB / 476.9 MB, free: 28.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.4004, allocations: 5.906 kB / 477 MB, free: 28.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.4008, allocations: 203 kB / 477.1 MB, free: 28.71 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.001346/0.4022, allocations: 1.432 MB / 478.6 MB, free: 27.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.4026, allocations: 185.8 kB / 478.8 MB, free: 27.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009235/0.4035, allocations: 0.7769 MB / 479.5 MB, free: 26.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002642/0.4038, allocations: 121.7 kB / 479.7 MB, free: 26.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.4038, allocations: 0 / 479.7 MB, free: 26.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005979/0.4044, allocations: 252.6 kB / 479.9 MB, free: 26.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.4045, allocations: 54.06 kB / 480 MB, free: 26.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.4048, allocations: 338.4 kB / 480.3 MB, free: 26.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.4048, allocations: 28.52 kB / 480.3 MB, free: 26.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.4049, allocations: 211.9 kB / 480.5 MB, free: 26.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.405, allocations: 55.81 kB / 480.6 MB, free: 26.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.405, allocations: 6.875 kB / 480.6 MB, free: 26.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.4051, allocations: 335.2 kB / 480.9 MB, free: 25.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.4052, allocations: 70.05 kB / 481 MB, free: 25.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.4054, allocations: 156.1 kB / 481.1 MB, free: 25.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.4056, allocations: 119.7 kB / 481.2 MB, free: 25.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4057, allocations: 0 / 481.2 MB, free: 25.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005353/0.4062, allocations: 319.6 kB / 481.6 MB, free: 25.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.4062, allocations: 33.89 kB / 481.6 MB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4063, allocations: 2.75 kB / 481.6 MB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4063, allocations: 3.031 kB / 481.6 MB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.4065, allocations: 60.03 kB / 481.7 MB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4065, allocations: 5.25 kB / 481.7 MB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.4067, allocations: 33.36 kB / 481.7 MB, free: 25.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.4068, allocations: 24.27 kB / 481.7 MB, free: 25.35 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.4069, allocations: 156.9 kB / 481.9 MB, free: 25.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.407, allocations: 32.55 kB / 481.9 MB, free: 25.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.4074, allocations: 203.4 kB / 482.1 MB, free: 25.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.4074, allocations: 6.188 kB / 482.1 MB, free: 25.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4074, allocations: 0 / 482.1 MB, free: 25.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000401/0.4079, allocations: 492.9 kB / 482.6 MB, free: 24.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.4082, allocations: 379.1 kB / 483 MB, free: 24.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4082, allocations: 3.844 kB / 483 MB, free: 24.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.4084, allocations: 41.77 kB / 483 MB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4084, allocations: 3.312 kB / 483 MB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.4084, allocations: 4 kB / 483 MB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4085, allocations: 0 / 483 MB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4085, allocations: 2.969 kB / 483 MB, free: 24.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.409, allocations: 325.8 kB / 483.3 MB, free: 24.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.4092, allocations: 126.9 kB / 483.5 MB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.4092, allocations: 7.031 kB / 483.5 MB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.4094, allocations: 17.64 kB / 483.5 MB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/0.4095, allocations: 22.34 kB / 483.5 MB, free: 24.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.4095, allocations: 7.922 kB / 483.5 MB, free: 24.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.4097, allocations: 239.2 kB / 483.7 MB, free: 23.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4097, allocations: 0 / 483.7 MB, free: 23.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004428/0.4102, allocations: 118.4 kB / 483.9 MB, free: 23.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002575/0.4104, allocations: 182.4 kB / 484 MB, free: 23.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004505/0.4109, allocations: 236.5 kB / 484.3 MB, free: 23.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4109, allocations: 0.75 kB / 484.3 MB, free: 23.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.4111, allocations: 85.83 kB / 484.4 MB, free: 23.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009019/0.412, allocations: 197.3 kB / 484.5 MB, free: 23.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.4134, allocations: 0.9471 MB / 485.5 MB, free: 22.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.4136, allocations: 0.796 MB / 486.3 MB, free: 22.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003/0.4139, allocations: 55.86 kB / 486.3 MB, free: 22.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.414, allocations: 36.39 kB / 486.4 MB, free: 22.26 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.414, allocations: 0 / 486.4 MB, free: 22.26 MB / 382.1 MB Notification: Performance of Templates: time 0.01244/0.4265, allocations: 6.433 MB / 492.8 MB, free: 21.71 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.sim & ./Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) Environment - environmentSimulation: