Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.066/1.066, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8081/0.8081, allocations: 154.6 MB / 414.9 MB, free: 0.5234 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 480 MB, free: 6.898 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.476e-05, allocations: 7.688 kB / 480 MB, free: 6.891 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.006848/0.006863, allocations: 7.27 MB / 487.3 MB, free: 15.66 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.009682, allocations: 2.518 MB / 489.8 MB, free: 13.16 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.00991, allocations: 28.91 kB / 489.8 MB, free: 13.13 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.01025, allocations: 123.1 kB / 490 MB, free: 13.01 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007239/0.01098, allocations: 0.5289 MB / 490.5 MB, free: 12.48 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.01143, allocations: 374.4 kB / 490.9 MB, free: 12.12 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008038/0.01224, allocations: 1.091 MB / 491.9 MB, free: 11.03 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004879/0.01272, allocations: 297.9 kB / 492.2 MB, free: 10.73 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005429/0.01327, allocations: 0.5443 MB / 492.8 MB, free: 10.2 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005396/0.01381, allocations: 263.2 kB / 493 MB, free: 9.938 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.01385, allocations: 32 kB / 493.1 MB, free: 9.906 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.01403, allocations: 136.3 kB / 493.2 MB, free: 9.773 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.524e-05/0.01411, allocations: 104.4 kB / 493.3 MB, free: 9.672 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.01422, allocations: 155.6 kB / 493.5 MB, free: 9.52 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.01463, allocations: 395.9 kB / 493.8 MB, free: 9.133 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01463, allocations: 0 / 493.8 MB, free: 9.133 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01463, allocations: 0 / 493.8 MB, free: 9.133 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.01463, allocations: 0 / 493.8 MB, free: 9.133 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0006433/0.01528, allocations: 0.6431 MB / 494.5 MB, free: 8.457 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.01531, allocations: 15.97 kB / 494.5 MB, free: 8.441 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.01544, allocations: 57.33 kB / 494.6 MB, free: 8.387 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.01577, allocations: 315.9 kB / 494.9 MB, free: 8.062 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.01579, allocations: 16.88 kB / 494.9 MB, free: 8.047 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.01582, allocations: 33.31 kB / 494.9 MB, free: 8.016 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.0161, allocations: 343.9 kB / 495.3 MB, free: 7.633 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.01611, allocations: 0.7188 kB / 495.3 MB, free: 7.633 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.01613, allocations: 12 kB / 495.3 MB, free: 7.621 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.01615, allocations: 13.81 kB / 495.3 MB, free: 7.609 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.01626, allocations: 69.39 kB / 495.3 MB, free: 7.547 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008116/0.01707, allocations: 0.9295 MB / 496.3 MB, free: 6.574 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.0172, allocations: 78.47 kB / 496.4 MB, free: 6.488 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.01724, allocations: 27.98 kB / 496.4 MB, free: 6.461 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.777e-05/0.0173, allocations: 13.11 kB / 496.4 MB, free: 6.449 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.01744, allocations: 194.1 kB / 496.6 MB, free: 6.223 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.01744, allocations: 5.094 kB / 496.6 MB, free: 6.219 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001539/0.01759, allocations: 111.4 kB / 496.7 MB, free: 6.105 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.01762, allocations: 51.41 kB / 496.7 MB, free: 6.043 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.0178, allocations: 305.8 kB / 497 MB, free: 5.738 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.01782, allocations: 29.7 kB / 497.1 MB, free: 5.703 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.0179, allocations: 193 kB / 497.3 MB, free: 5.508 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.01793, allocations: 56.33 kB / 497.3 MB, free: 5.453 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.01799, allocations: 53.67 kB / 497.4 MB, free: 5.395 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.914e-05/0.01806, allocations: 343.2 kB / 497.7 MB, free: 5.051 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.01811, allocations: 49.69 kB / 497.8 MB, free: 4.996 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.546e-05/0.01818, allocations: 131 kB / 497.9 MB, free: 4.832 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.0183, allocations: 175.5 kB / 498.1 MB, free: 4.625 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.0183, allocations: 7.922 kB / 498.1 MB, free: 4.617 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001687/0.01847, allocations: 208.6 kB / 498.3 MB, free: 4.398 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.0185, allocations: 33.7 kB / 498.3 MB, free: 4.359 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.0185, allocations: 4 kB / 498.3 MB, free: 4.355 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.01851, allocations: 4 kB / 498.3 MB, free: 4.352 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.01868, allocations: 65.7 kB / 498.4 MB, free: 4.289 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.01868, allocations: 4 kB / 498.4 MB, free: 4.285 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.01879, allocations: 31.78 kB / 498.4 MB, free: 4.254 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.0188, allocations: 11.98 kB / 498.4 MB, free: 4.242 MB / 458.7 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 (29): * Single equations (assignments): 28 * 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 8.273e-05/0.01888, allocations: 133.6 kB / 498.5 MB, free: 4.105 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.01891, allocations: 27.97 kB / 498.6 MB, free: 4.078 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.01904, allocations: 112 kB / 498.7 MB, free: 3.961 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01904, allocations: 4 kB / 498.7 MB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.01904, allocations: 0.8438 kB / 498.7 MB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001539/0.01919, allocations: 399.8 kB / 499.1 MB, free: 3.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.01937, allocations: 186 kB / 499.3 MB, free: 3.281 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01938, allocations: 0 / 499.3 MB, free: 3.281 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-05/0.01947, allocations: 27.98 kB / 499.3 MB, free: 3.254 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.01947, allocations: 3.938 kB / 499.3 MB, free: 3.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01948, allocations: 8.594 kB / 499.3 MB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01949, allocations: 3.984 kB / 499.3 MB, free: 3.238 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01949, allocations: 0.6562 kB / 499.3 MB, free: 3.238 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.01964, allocations: 149 kB / 499.4 MB, free: 3.078 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.01969, allocations: 39.73 kB / 499.5 MB, free: 3.039 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.01972, allocations: 0 / 499.5 MB, free: 3.039 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.979e-05/0.01981, allocations: 17.05 kB / 499.5 MB, free: 3.023 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.01984, allocations: 11.97 kB / 499.5 MB, free: 3.012 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.01986, allocations: 11.98 kB / 499.5 MB, free: 3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.343e-05/0.01994, allocations: 112.1 kB / 499.6 MB, free: 2.891 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01994, allocations: 1.031 kB / 499.6 MB, free: 2.891 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.02016, allocations: 111.8 kB / 499.7 MB, free: 2.781 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 13 * 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.0001486/0.02031, allocations: 138.9 kB / 499.9 MB, free: 2.641 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.02047, allocations: 179.8 kB / 0.4883 GB, free: 2.445 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.02048, allocations: 4 kB / 0.4883 GB, free: 2.441 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.749e-05/0.02052, allocations: 42.22 kB / 0.4884 GB, free: 2.398 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.02094, allocations: 205.1 kB / 0.4886 GB, free: 2.219 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008917/0.02184, allocations: 0.5946 MB / 0.4892 GB, free: 1.617 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.933e-05/0.02188, allocations: 97.58 kB / 0.4893 GB, free: 1.504 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.02201, allocations: 57.75 kB / 0.4893 GB, free: 1.457 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.02227, allocations: 177.8 kB / 0.4895 GB, free: 1.281 MB / 458.7 MB Notification: Performance of SimCode: time 4.4e-07/0.02227, allocations: 0.6875 kB / 0.4895 GB, free: 1.281 MB / 458.7 MB Notification: Performance of Templates: time 0.008722/0.031, allocations: 7.21 MB / 0.4965 GB, free: 10.52 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8198833470232785]