Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001084/0.001084, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001687/0.002771, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007632/0.0007632, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001793, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.03/1.03, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08775/1.117, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7727/0.7727, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2887/1.061, allocations: 49.14 MB / 448.6 MB, free: 5.891 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 449.9 MB, free: 4.602 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.498e-05, allocations: 3.625 kB / 449.9 MB, free: 4.598 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.009917/0.009942, allocations: 7.318 MB / 457.3 MB, free: 13.33 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005264/0.01521, allocations: 2.514 MB / 459.8 MB, free: 10.83 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007319/0.01594, allocations: 27.75 kB / 459.8 MB, free: 10.8 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005051/0.01644, allocations: 135.1 kB / 459.9 MB, free: 10.67 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.01799, allocations: 0.5319 MB / 460.5 MB, free: 10.14 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.01903, allocations: 355.4 kB / 460.8 MB, free: 9.793 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001619/0.02065, allocations: 1.092 MB / 461.9 MB, free: 8.695 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008955/0.02154, allocations: 288.3 kB / 462.2 MB, free: 8.418 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.02264, allocations: 0.5863 MB / 462.8 MB, free: 7.844 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004695/0.02311, allocations: 263.2 kB / 463 MB, free: 7.586 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.034e-05/0.02317, allocations: 32 kB / 463.1 MB, free: 7.555 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.02356, allocations: 139.6 kB / 463.2 MB, free: 7.418 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.02366, allocations: 79.67 kB / 463.3 MB, free: 7.34 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.02384, allocations: 120.5 kB / 463.4 MB, free: 7.223 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008087/0.02465, allocations: 375.7 kB / 463.8 MB, free: 6.855 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.958e-05/0.02467, allocations: 0 / 463.8 MB, free: 6.855 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.02467, allocations: 0 / 463.8 MB, free: 6.855 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.02469, allocations: 0.7188 kB / 463.8 MB, free: 6.855 MB / 442.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.001364/0.02605, allocations: 0.7311 MB / 464.5 MB, free: 6.098 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.02609, allocations: 12.03 kB / 464.5 MB, free: 6.086 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000288/0.02638, allocations: 133.9 kB / 464.6 MB, free: 5.938 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005676/0.02695, allocations: 316 kB / 464.9 MB, free: 5.605 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.02697, allocations: 16.88 kB / 465 MB, free: 5.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.02703, allocations: 36.33 kB / 465 MB, free: 5.555 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.02749, allocations: 352.6 kB / 465.3 MB, free: 5.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.0275, allocations: 1.5 kB / 465.3 MB, free: 5.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.02753, allocations: 12 kB / 465.3 MB, free: 5.148 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.02756, allocations: 8 kB / 465.4 MB, free: 5.141 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.02772, allocations: 70.55 kB / 465.4 MB, free: 5.078 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.029, allocations: 0.9422 MB / 466.4 MB, free: 4.098 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.02916, allocations: 71.86 kB / 466.4 MB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.0292, allocations: 36.83 kB / 466.5 MB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.527e-05/0.02927, allocations: 12.73 kB / 466.5 MB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.02944, allocations: 186.7 kB / 466.7 MB, free: 3.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.02944, allocations: 0.5625 kB / 466.7 MB, free: 3.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001839/0.02962, allocations: 112.5 kB / 466.8 MB, free: 3.637 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.02966, allocations: 55.41 kB / 466.8 MB, free: 3.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.02984, allocations: 305.2 kB / 467.1 MB, free: 3.262 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.02986, allocations: 29.7 kB / 467.2 MB, free: 3.227 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.02994, allocations: 197.9 kB / 467.3 MB, free: 3.031 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.02997, allocations: 55.58 kB / 467.4 MB, free: 2.977 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/0.03004, allocations: 53.67 kB / 467.5 MB, free: 2.918 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.03014, allocations: 351.9 kB / 467.8 MB, free: 2.566 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.493e-05/0.03019, allocations: 45.69 kB / 467.8 MB, free: 2.516 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.03026, allocations: 127.4 kB / 468 MB, free: 2.355 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.03039, allocations: 187.9 kB / 468.2 MB, free: 2.137 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.0304, allocations: 0.8438 kB / 468.2 MB, free: 2.137 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000177/0.03057, allocations: 206.6 kB / 468.4 MB, free: 1.918 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.03061, allocations: 42.52 kB / 468.4 MB, free: 1.871 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.03062, allocations: 0 / 468.4 MB, free: 1.871 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.03063, allocations: 4 kB / 468.4 MB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.0308, allocations: 70.77 kB / 468.5 MB, free: 1.801 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.03081, allocations: 4 kB / 468.5 MB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.03092, allocations: 35.77 kB / 468.5 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.03094, allocations: 12 kB / 468.5 MB, free: 1.75 MB / 442.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.202e-05/0.03102, allocations: 128.5 kB / 468.6 MB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.03105, allocations: 30.14 kB / 468.7 MB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.03118, allocations: 114.6 kB / 468.8 MB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.03119, allocations: 0 / 468.8 MB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.03119, allocations: 0 / 468.8 MB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002573/0.03145, allocations: 402 kB / 469.2 MB, free: 0.9883 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.03164, allocations: 176.4 kB / 469.4 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.03164, allocations: 0.6562 kB / 469.4 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.707e-05/0.03174, allocations: 35.97 kB / 469.4 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.03179, allocations: 32.44 kB / 469.4 MB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.0318, allocations: 1.062 kB / 469.4 MB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.03181, allocations: 7.984 kB / 469.4 MB, free: 0.7227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.03181, allocations: 0 / 469.4 MB, free: 0.7227 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.03181, allocations: 4.516 kB / 469.4 MB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.03202, allocations: 165.1 kB / 469.6 MB, free: 0.5391 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.03206, allocations: 0 / 469.6 MB, free: 0.5391 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.03215, allocations: 15.98 kB / 469.6 MB, free: 0.5234 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.03219, allocations: 16.72 kB / 469.6 MB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.0322, allocations: 8 kB / 469.6 MB, free: 0.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.699e-05/0.03229, allocations: 112.8 kB / 469.7 MB, free: 400 kB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03229, allocations: 0 / 469.7 MB, free: 400 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.03254, allocations: 111.8 kB / 469.9 MB, free: 288 kB / 442.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.0001923/0.03273, allocations: 136.4 kB / 470 MB, free: 148 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.03291, allocations: 180.8 kB / 470.2 MB, free: 15.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/0.03292, allocations: 4 kB / 470.2 MB, free: 15.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.936e-05/0.03298, allocations: 50.97 kB / 470.2 MB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008524/0.03383, allocations: 1.318 MB / 471.5 MB, free: 14.35 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.03639, allocations: 0.5835 MB / 472.1 MB, free: 13.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.102e-05/0.03646, allocations: 93.2 kB / 472.2 MB, free: 13.63 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.03665, allocations: 56.64 kB / 472.3 MB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.03691, allocations: 170.7 kB / 472.4 MB, free: 13.42 MB / 458.7 MB Notification: Performance of SimCode: time 9.12e-07/0.03691, allocations: 0 / 472.4 MB, free: 13.42 MB / 458.7 MB Notification: Performance of Templates: time 0.01204/0.04894, allocations: 7.545 MB / 480 MB, free: 6.406 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7600795850157738]