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.007811/0.007811, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001919/0.001919, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.763/1.763, allocations: 205.1 MB / 222.5 MB, free: 4.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4528/0.4528, allocations: 54.95 MB / 324.8 MB, free: 16 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.001571/0.001571, allocations: 65.48 kB / 456.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1735, allocations: 59.59 MB / 0.5037 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Storage.Examples.ExpansionVessel): time 0.01411/0.1877, allocations: 14.3 MB / 0.5177 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005156/0.1929, allocations: 3.51 MB / 0.5211 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003828/0.1933, allocations: 19.88 kB / 0.5212 GB, free: 9.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006757/0.194, allocations: 210.7 kB / 0.5214 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.1953, allocations: 0.5947 MB / 0.5219 GB, free: 8.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006936/0.196, allocations: 333.9 kB / 0.5223 GB, free: 7.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.1973, allocations: 1.017 MB / 0.5233 GB, free: 6.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004338/0.1977, allocations: 291.3 kB / 0.5235 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009706/0.1987, allocations: 374.1 kB / 0.5239 GB, free: 6.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.1991, allocations: 290.7 kB / 0.5242 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.1991, allocations: 32 kB / 0.5242 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004994/0.1996, allocations: 283.5 kB / 0.5245 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1997, allocations: 95.66 kB / 0.5246 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.2, allocations: 191.1 kB / 0.5247 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007538/0.2007, allocations: 0.5647 MB / 0.5253 GB, free: 4.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2007, allocations: 0 / 0.5253 GB, free: 4.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2007, allocations: 0 / 0.5253 GB, free: 4.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.2008, allocations: 0 / 0.5253 GB, free: 4.809 MB / 398.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.001219/0.202, allocations: 0.7227 MB / 0.526 GB, free: 4.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.202, allocations: 12.03 kB / 0.526 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.2023, allocations: 52.45 kB / 0.5261 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006376/0.2029, allocations: 399 kB / 0.5264 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.2029, allocations: 24.56 kB / 0.5265 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.203, allocations: 27.94 kB / 0.5265 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.2036, allocations: 298.8 kB / 0.5268 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.2036, allocations: 0 / 0.5268 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.2036, allocations: 12 kB / 0.5268 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.2036, allocations: 11.94 kB / 0.5268 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.2041, allocations: 189.6 kB / 0.527 GB, free: 2.961 MB / 398.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.001648/0.2058, allocations: 1.418 MB / 0.5284 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.2062, allocations: 182.4 kB / 0.5285 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.2064, allocations: 84.75 kB / 0.5286 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.2074, allocations: 0.7716 MB / 0.5294 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.2077, allocations: 135.3 kB / 0.5295 GB, free: 152 kB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.532e-06/0.2078, allocations: 0 / 0.5295 GB, free: 152 kB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006425/0.2084, allocations: 229.2 kB / 0.5297 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.2085, allocations: 55.41 kB / 0.5298 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/0.2088, allocations: 333.7 kB / 0.5301 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.2089, allocations: 37.7 kB / 0.5301 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.209, allocations: 203.8 kB / 0.5303 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.2091, allocations: 51.3 kB / 0.5304 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.998e-05/0.2092, allocations: 53.84 kB / 0.5304 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2094, allocations: 342.8 kB / 0.5308 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.2095, allocations: 68.19 kB / 0.5308 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.2098, allocations: 146.4 kB / 0.531 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.2102, allocations: 246.3 kB / 0.5312 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2102, allocations: 4 kB / 0.5312 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005471/0.2108, allocations: 302.6 kB / 0.5315 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/0.2108, allocations: 35.89 kB / 0.5315 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.2108, allocations: 4 kB / 0.5315 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2109, allocations: 12.25 kB / 0.5315 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.2111, allocations: 51.91 kB / 0.5316 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.2111, allocations: 7.938 kB / 0.5316 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.2113, allocations: 31.73 kB / 0.5316 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.2113, allocations: 8 kB / 0.5316 GB, free: 13.83 MB / 414.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.0001672/0.2115, allocations: 165.6 kB / 0.5318 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.2116, allocations: 35.56 kB / 0.5318 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.212, allocations: 199.7 kB / 0.532 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.212, allocations: 0 / 0.532 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.212, allocations: 0 / 0.532 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005353/0.2126, allocations: 483.7 kB / 0.5325 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.2131, allocations: 372 kB / 0.5328 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2131, allocations: 0 / 0.5328 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.2133, allocations: 43.94 kB / 0.5329 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2133, allocations: 3.938 kB / 0.5329 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.2133, allocations: 8 kB / 0.5329 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2133, allocations: 0 / 0.5329 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2133, allocations: 3.938 kB / 0.5329 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/0.214, allocations: 293.4 kB / 0.5332 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.2141, allocations: 120.7 kB / 0.5333 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.2141, allocations: 3.984 kB / 0.5333 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.2143, allocations: 15.98 kB / 0.5333 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.2144, allocations: 11.98 kB / 0.5333 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.2144, allocations: 11.98 kB / 0.5333 GB, free: 11.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002447/0.2147, allocations: 235.2 kB / 0.5335 GB, free: 11.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2147, allocations: 0 / 0.5335 GB, free: 11.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004079/0.2151, allocations: 123.8 kB / 0.5337 GB, free: 11.55 MB / 414.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.0003429/0.2155, allocations: 203 kB / 0.5339 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005237/0.216, allocations: 223.2 kB / 0.5341 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.216, allocations: 4 kB / 0.5341 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.2162, allocations: 75.83 kB / 0.5341 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009412/0.2171, allocations: 215.2 kB / 0.5344 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.2185, allocations: 0.7394 MB / 0.5351 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.2189, allocations: 0.7795 MB / 0.5358 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.2191, allocations: 63.14 kB / 0.5359 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.668e-05/0.2192, allocations: 43.36 kB / 0.5359 GB, free: 9.152 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2192, allocations: 0 / 0.5359 GB, free: 9.152 MB / 414.1 MB Notification: Performance of Templates: time 0.01314/0.2324, allocations: 7.007 MB / 0.5428 GB, free: 2.199 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.makefile (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)