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.002314/0.002314, allocations: 85.48 kB / 19.44 MB, free: 344 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.002467/0.002467, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.404/1.404, allocations: 154.6 MB / 414.2 MB, free: 0.6289 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 178] 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.673e-06/1.673e-06, allocations: 0 / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.021e-05/3.188e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.02105/0.02108, allocations: 14.89 MB / 0.5341 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007207/0.02829, allocations: 3.712 MB / 0.5378 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006659/0.02896, allocations: 23.81 kB / 0.5378 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000797/0.02975, allocations: 199.7 kB / 0.538 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.03166, allocations: 0.6499 MB / 0.5386 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.03296, allocations: 412.6 kB / 0.539 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001716/0.03468, allocations: 1.112 MB / 0.5401 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004965/0.03517, allocations: 273 kB / 0.5404 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.03671, allocations: 0.5735 MB / 0.5409 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005188/0.03723, allocations: 275.1 kB / 0.5412 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.774e-05/0.03731, allocations: 36 kB / 0.5412 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006472/0.03795, allocations: 220.5 kB / 0.5414 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.0381, allocations: 107.5 kB / 0.5415 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.03833, allocations: 143.7 kB / 0.5417 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.03939, allocations: 0.6204 MB / 0.5423 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.03939, allocations: 0 / 0.5423 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.023e-06/0.03939, allocations: 0 / 0.5423 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.0394, allocations: 0.9688 kB / 0.5423 GB, free: 11.35 MB / 0.5105 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.00146/0.04086, allocations: 0.8097 MB / 0.5431 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.0409, allocations: 8.031 kB / 0.5431 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/0.04118, allocations: 77.09 kB / 0.5431 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008543/0.04203, allocations: 410.7 kB / 0.5435 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.04206, allocations: 17.84 kB / 0.5435 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-05/0.04213, allocations: 36.31 kB / 0.5436 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006948/0.04283, allocations: 429.1 kB / 0.544 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.04285, allocations: 4 kB / 0.544 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.04288, allocations: 8 kB / 0.544 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.0429, allocations: 8 kB / 0.544 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004615/0.04336, allocations: 181.8 kB / 0.5442 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.04549, allocations: 1.421 MB / 0.5456 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.04594, allocations: 150.3 kB / 0.5457 GB, free: 7.637 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.04611, allocations: 55.66 kB / 0.5458 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.04622, allocations: 12.25 kB / 0.5458 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/0.0466, allocations: 235.7 kB / 0.546 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 2.425e-06/0.04661, allocations: 0 / 0.546 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0006293/0.04724, allocations: 211.3 kB / 0.5462 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.04729, allocations: 56.31 kB / 0.5463 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005089/0.0478, allocations: 430.2 kB / 0.5467 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.04784, allocations: 30.95 kB / 0.5467 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.04811, allocations: 287.1 kB / 0.547 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.04818, allocations: 55.53 kB / 0.547 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.0483, allocations: 71.34 kB / 0.5471 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003518/0.04865, allocations: 0.5334 MB / 0.5476 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.04887, allocations: 89.67 kB / 0.5477 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.0492, allocations: 202.1 kB / 0.5479 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.04968, allocations: 268.1 kB / 0.5482 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.04968, allocations: 0 / 0.5482 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007082/0.05039, allocations: 335.1 kB / 0.5485 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.05044, allocations: 33.7 kB / 0.5485 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.05045, allocations: 9.453 kB / 0.5485 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.05048, allocations: 4 kB / 0.5485 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.05073, allocations: 55.91 kB / 0.5486 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.05075, allocations: 12.59 kB / 0.5486 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.051, allocations: 24.91 kB / 0.5486 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.05103, allocations: 12 kB / 0.5486 GB, free: 4.445 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.0002359/0.05127, allocations: 214.5 kB / 0.5488 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.272e-05/0.05134, allocations: 35.81 kB / 0.5489 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/0.05181, allocations: 182.6 kB / 0.549 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.05181, allocations: 0 / 0.549 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.05182, allocations: 4 kB / 0.549 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006303/0.05245, allocations: 472.9 kB / 0.5495 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005402/0.05299, allocations: 308.4 kB / 0.5498 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.05299, allocations: 3.938 kB / 0.5498 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.05316, allocations: 41.06 kB / 0.5498 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.05316, allocations: 0 / 0.5498 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.05318, allocations: 4 kB / 0.5498 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.05318, allocations: 0.5 kB / 0.5498 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.05318, allocations: 1.344 kB / 0.5498 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005994/0.05378, allocations: 272 kB / 0.5501 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.05394, allocations: 54.05 kB / 0.5501 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.05399, allocations: 4 kB / 0.5501 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.05419, allocations: 11.98 kB / 0.5502 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.05426, allocations: 15.97 kB / 0.5502 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.05429, allocations: 11.98 kB / 0.5502 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003155/0.0546, allocations: 279 kB / 0.5504 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.05461, allocations: 0.5 kB / 0.5504 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004999/0.0551, allocations: 128.7 kB / 0.5506 GB, free: 2.297 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.0003683/0.05547, allocations: 187.3 kB / 0.5507 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005545/0.05603, allocations: 259.8 kB / 0.551 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.05603, allocations: 1.375 kB / 0.551 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.05621, allocations: 71.59 kB / 0.5511 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.05721, allocations: 209.2 kB / 0.5513 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.0586, allocations: 0.6563 MB / 0.5519 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.05882, allocations: 181.1 kB / 0.5521 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002336/0.05905, allocations: 58.97 kB / 0.5521 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.549e-05/0.05915, allocations: 37.42 kB / 0.5522 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of SimCode: time 8.51e-07/0.05915, allocations: 0 / 0.5522 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of Templates: time 0.01546/0.07461, allocations: 7.243 MB / 0.5592 GB, free: 9.625 MB / 0.5261 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: 6.3670677449554205]