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.001379/0.001379, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001757/0.001757, allocations: 169 kB / 23.02 MB, free: 1.547 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.048/1.048, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7993/0.7993, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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.763e-06/1.763e-06, allocations: 0 / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.737e-05, allocations: 3.719 kB / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.008534/0.008562, allocations: 7.26 MB / 0.5274 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004203/0.01276, allocations: 2.49 MB / 0.5298 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004758/0.01324, allocations: 24.84 kB / 0.5298 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005963/0.01384, allocations: 123.1 kB / 0.53 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.01518, allocations: 0.5327 MB / 0.5305 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008177/0.016, allocations: 369.5 kB / 0.5308 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.01741, allocations: 1.088 MB / 0.5319 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.01789, allocations: 269 kB / 0.5322 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.01899, allocations: 0.5232 MB / 0.5327 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004529/0.01944, allocations: 279.1 kB / 0.5329 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.293e-05/0.01951, allocations: 33.03 kB / 0.533 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.01984, allocations: 147.6 kB / 0.5331 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.01996, allocations: 104.5 kB / 0.5332 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.02014, allocations: 143.7 kB / 0.5333 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006629/0.02081, allocations: 414.5 kB / 0.5337 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.02081, allocations: 1.562 kB / 0.5337 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.423e-06/0.02081, allocations: 0 / 0.5337 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.02082, allocations: 0 / 0.5337 GB, free: 4.473 MB / 0.4948 GB 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.001046/0.02186, allocations: 0.7749 MB / 0.5345 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.0219, allocations: 8.031 kB / 0.5345 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.02207, allocations: 73.16 kB / 0.5346 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.02259, allocations: 423.2 kB / 0.535 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.02261, allocations: 16.88 kB / 0.535 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.02265, allocations: 28.97 kB / 0.535 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.02304, allocations: 376.1 kB / 0.5354 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.02306, allocations: 0 / 0.5354 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.02308, allocations: 13.03 kB / 0.5354 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.02311, allocations: 11.98 kB / 0.5354 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.02327, allocations: 91.69 kB / 0.5355 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.0244, allocations: 1.293 MB / 0.5368 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.02463, allocations: 97.94 kB / 0.5368 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.069e-05/0.02469, allocations: 35.7 kB / 0.5369 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.352e-05/0.02479, allocations: 15.92 kB / 0.5369 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.02499, allocations: 206.4 kB / 0.5371 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/0.02499, allocations: 0 / 0.5371 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002765/0.02527, allocations: 149.3 kB / 0.5372 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.0253, allocations: 59.41 kB / 0.5373 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.02554, allocations: 358.2 kB / 0.5376 GB, free: 240 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.02556, allocations: 29.7 kB / 0.5377 GB, free: 204 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.0257, allocations: 276.6 kB / 0.5379 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.02574, allocations: 51.59 kB / 0.538 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/0.0258, allocations: 59.31 kB / 0.538 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.02594, allocations: 0.5194 MB / 0.5385 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.914e-05/0.02601, allocations: 54.41 kB / 0.5386 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.02612, allocations: 162.2 kB / 0.5387 GB, free: 15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.02628, allocations: 209.9 kB / 0.5389 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.02629, allocations: 0 / 0.5389 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000278/0.02656, allocations: 278.1 kB / 0.5392 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.02659, allocations: 37.69 kB / 0.5392 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.0266, allocations: 0 / 0.5392 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.02662, allocations: 6.375 kB / 0.5393 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.02675, allocations: 55.91 kB / 0.5393 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.02676, allocations: 4 kB / 0.5393 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.02687, allocations: 31.78 kB / 0.5393 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.02689, allocations: 23.91 kB / 0.5394 GB, free: 14.3 MB / 0.5105 GB 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 0.0001003/0.02699, allocations: 173.7 kB / 0.5395 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.02703, allocations: 35.81 kB / 0.5396 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.02721, allocations: 147.8 kB / 0.5397 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.02722, allocations: 0 / 0.5397 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.02722, allocations: 0 / 0.5397 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002103/0.02743, allocations: 425.3 kB / 0.5401 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.0277, allocations: 260.4 kB / 0.5404 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.0277, allocations: 0 / 0.5404 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-05/0.02778, allocations: 37.89 kB / 0.5404 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.02779, allocations: 0 / 0.5404 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.0278, allocations: 3.938 kB / 0.5404 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.0278, allocations: 4 kB / 0.5404 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.02781, allocations: 7.922 kB / 0.5404 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.02805, allocations: 203.1 kB / 0.5406 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/0.02812, allocations: 43.78 kB / 0.5406 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.02815, allocations: 4 kB / 0.5406 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.02825, allocations: 17.55 kB / 0.5407 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.0283, allocations: 11.97 kB / 0.5407 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.02831, allocations: 11.98 kB / 0.5407 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002171/0.02853, allocations: 235 kB / 0.5409 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/0.02853, allocations: 0.5 kB / 0.5409 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004199/0.02895, allocations: 117.2 kB / 0.541 GB, free: 12.45 MB / 0.5105 GB 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.0002579/0.02921, allocations: 153.3 kB / 0.5412 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000321/0.02953, allocations: 195.5 kB / 0.5414 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02953, allocations: 0 / 0.5414 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.911e-05/0.02962, allocations: 51.53 kB / 0.5414 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007665/0.03039, allocations: 194.5 kB / 0.5416 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.03179, allocations: 0.6317 MB / 0.5422 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.144e-05/0.03185, allocations: 92.61 kB / 0.5423 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001362/0.03198, allocations: 74.39 kB / 0.5424 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.03204, allocations: 36.44 kB / 0.5424 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of SimCode: time 7.11e-07/0.03204, allocations: 1.719 kB / 0.5424 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of Templates: time 0.01152/0.04356, allocations: 6.61 MB / 0.5489 GB, free: 4.66 MB / 0.5105 GB " [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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.295516290701926]