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.0008175/0.0008175, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005189/0.005189, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.642/1.642, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4158/0.4158, allocations: 55.01 MB / 325.7 MB, free: 0.5781 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.000557/0.0005571, allocations: 16 kB / 397.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3956, allocations: 60.71 MB / 458 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Storage.Examples.ExpansionVessel): time 0.01152/0.4072, allocations: 13.76 MB / 471.7 MB, free: 31.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004511/0.4117, allocations: 3.481 MB / 475.2 MB, free: 29.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005128/0.4123, allocations: 16.72 kB / 475.2 MB, free: 29.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006623/0.413, allocations: 168.9 kB / 475.4 MB, free: 29.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.4143, allocations: 0.5257 MB / 475.9 MB, free: 29.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007698/0.4151, allocations: 300.3 kB / 476.2 MB, free: 28.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.4162, allocations: 1.397 MB / 477.6 MB, free: 28.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.4166, allocations: 242.2 kB / 477.8 MB, free: 28.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.4169, allocations: 299.5 kB / 478.1 MB, free: 28.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.4173, allocations: 286.4 kB / 478.4 MB, free: 28.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.4173, allocations: 11 kB / 478.4 MB, free: 28.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004998/0.4178, allocations: 262.9 kB / 478.7 MB, free: 27.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.513e-05/0.4179, allocations: 77.72 kB / 478.8 MB, free: 27.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.4181, allocations: 196.4 kB / 478.9 MB, free: 27.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006193/0.4188, allocations: 0.5458 MB / 479.5 MB, free: 27.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4188, allocations: 0 / 479.5 MB, free: 27.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4188, allocations: 0 / 479.5 MB, free: 27.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.4188, allocations: 0 / 479.5 MB, free: 27.62 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.001002/0.4198, allocations: 0.6603 MB / 480.2 MB, free: 27.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.4198, allocations: 8.469 kB / 480.2 MB, free: 27.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.42, allocations: 43.78 kB / 480.2 MB, free: 27.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.4206, allocations: 433.5 kB / 480.6 MB, free: 26.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.4206, allocations: 22.94 kB / 480.6 MB, free: 26.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.4207, allocations: 26.06 kB / 480.7 MB, free: 26.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/0.4212, allocations: 300.8 kB / 481 MB, free: 26.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.4212, allocations: 3.938 kB / 481 MB, free: 26.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.4212, allocations: 14.81 kB / 481 MB, free: 26.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.4212, allocations: 5.75 kB / 481 MB, free: 26.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.4217, allocations: 200.8 kB / 481.2 MB, free: 26.48 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.001293/0.423, allocations: 1.431 MB / 482.6 MB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.4234, allocations: 188.9 kB / 482.8 MB, free: 25.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.4236, allocations: 89.3 kB / 482.9 MB, free: 25.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.4246, allocations: 0.7661 MB / 483.7 MB, free: 24.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.4249, allocations: 122.4 kB / 483.8 MB, free: 24.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.4249, allocations: 6.844 kB / 483.8 MB, free: 24.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006464/0.4256, allocations: 247.1 kB / 484 MB, free: 24.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.4256, allocations: 62.72 kB / 484.1 MB, free: 24.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.4259, allocations: 318.5 kB / 484.4 MB, free: 24.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.426, allocations: 36.69 kB / 484.4 MB, free: 24.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.4261, allocations: 202.8 kB / 484.6 MB, free: 23.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.4261, allocations: 54.02 kB / 484.7 MB, free: 23.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.4262, allocations: 28.16 kB / 484.7 MB, free: 23.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.296e-05/0.4262, allocations: 342.3 kB / 485 MB, free: 23.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.4264, allocations: 72.83 kB / 485.1 MB, free: 23.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.4266, allocations: 151 kB / 485.3 MB, free: 23.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.427, allocations: 258.6 kB / 485.5 MB, free: 23.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.427, allocations: 2.781 kB / 485.5 MB, free: 23.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005177/0.4276, allocations: 317.4 kB / 485.8 MB, free: 23.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.4276, allocations: 39.8 kB / 485.9 MB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4276, allocations: 7.75 kB / 485.9 MB, free: 22.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4276, allocations: 2.969 kB / 485.9 MB, free: 22.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.4278, allocations: 54.25 kB / 485.9 MB, free: 22.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.4278, allocations: 9.5 kB / 485.9 MB, free: 22.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.4281, allocations: 33.73 kB / 486 MB, free: 22.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.4281, allocations: 15.83 kB / 486 MB, free: 22.96 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.4282, allocations: 158.8 kB / 486.1 MB, free: 22.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.4283, allocations: 36.66 kB / 486.2 MB, free: 22.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.4287, allocations: 200.4 kB / 486.4 MB, free: 22.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4288, allocations: 7.875 kB / 486.4 MB, free: 22.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4288, allocations: 1.312 kB / 486.4 MB, free: 22.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003854/0.4292, allocations: 0.4884 MB / 486.9 MB, free: 22.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.4295, allocations: 368.2 kB / 487.2 MB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4295, allocations: 3.938 kB / 487.2 MB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.4297, allocations: 41.97 kB / 487.3 MB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.4297, allocations: 1.062 kB / 487.3 MB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.4297, allocations: 12.06 kB / 487.3 MB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4298, allocations: 0 / 487.3 MB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4298, allocations: 0 / 487.3 MB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005593/0.4303, allocations: 308.1 kB / 487.6 MB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.852e-05/0.4304, allocations: 127 kB / 487.7 MB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.4305, allocations: 9.703 kB / 487.7 MB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.4307, allocations: 18.5 kB / 487.7 MB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.4308, allocations: 21.02 kB / 487.8 MB, free: 21.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.4308, allocations: 5.531 kB / 487.8 MB, free: 21.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.431, allocations: 232.3 kB / 488 MB, free: 21.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.431, allocations: 0 / 488 MB, free: 21.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004039/0.4314, allocations: 113.6 kB / 488.1 MB, free: 21.49 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 (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.000283/0.4317, allocations: 180.9 kB / 488.3 MB, free: 21.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004388/0.4322, allocations: 233.1 kB / 488.5 MB, free: 21.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4322, allocations: 2.344 kB / 488.5 MB, free: 21.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.4324, allocations: 83.05 kB / 488.6 MB, free: 21.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009887/0.4334, allocations: 207.7 kB / 488.8 MB, free: 21.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.4346, allocations: 0.9189 MB / 489.7 MB, free: 20.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.4348, allocations: 0.7891 MB / 490.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002418/0.4351, allocations: 67.11 kB / 490.6 MB, free: 19.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.4352, allocations: 32.05 kB / 490.6 MB, free: 19.88 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4352, allocations: 0 / 490.6 MB, free: 19.88 MB / 382.1 MB Notification: Performance of Templates: time 0.01249/0.4477, allocations: 6.379 MB / 497 MB, free: 19.34 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: