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.0007617/0.0007617, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.001784, 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.0007539/0.0007539, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001273/0.002026, 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.056/1.056, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09755/1.154, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.769/0.769, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2653/1.034, allocations: 49.04 MB / 447.8 MB, free: 6.609 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/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.302e-06/1.302e-06, allocations: 0 / 449.1 MB, free: 5.305 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007e-05/1.137e-05, allocations: 7.469 kB / 449.1 MB, free: 5.301 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.0065/0.006512, allocations: 7.306 MB / 456.4 MB, free: 14.03 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003179/0.009691, allocations: 2.516 MB / 459 MB, free: 11.53 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003118/0.01, allocations: 24.97 kB / 459 MB, free: 11.5 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.01029, allocations: 131.1 kB / 459.1 MB, free: 11.38 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008527/0.01115, allocations: 0.5284 MB / 459.6 MB, free: 10.85 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.01168, allocations: 361.6 kB / 460 MB, free: 10.5 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.01284, allocations: 1.087 MB / 461.1 MB, free: 9.41 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006113/0.01345, allocations: 293.2 kB / 461.4 MB, free: 9.125 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007485/0.0142, allocations: 0.5781 MB / 462 MB, free: 8.551 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.01451, allocations: 263.8 kB / 462.2 MB, free: 8.293 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.01455, allocations: 32 kB / 462.2 MB, free: 8.262 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.0148, allocations: 140.3 kB / 462.4 MB, free: 8.125 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.719e-05/0.01488, allocations: 84.28 kB / 462.5 MB, free: 8.043 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.01499, allocations: 123.8 kB / 462.6 MB, free: 7.922 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004308/0.01542, allocations: 367.4 kB / 462.9 MB, free: 7.562 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.01543, allocations: 0 / 462.9 MB, free: 7.562 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01543, allocations: 0.75 kB / 462.9 MB, free: 7.562 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.01544, allocations: 4 kB / 462.9 MB, free: 7.559 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.0007785/0.01622, allocations: 0.7337 MB / 463.7 MB, free: 6.801 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.01625, allocations: 12.03 kB / 463.7 MB, free: 6.789 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.01643, allocations: 134.9 kB / 463.8 MB, free: 6.641 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.01679, allocations: 312.3 kB / 464.1 MB, free: 6.316 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.01681, allocations: 20.88 kB / 464.1 MB, free: 6.297 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.01685, allocations: 32.33 kB / 464.2 MB, free: 6.266 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.01714, allocations: 360.7 kB / 464.5 MB, free: 5.867 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.01715, allocations: 0 / 464.5 MB, free: 5.867 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.01717, allocations: 14.34 kB / 464.5 MB, free: 5.855 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.01719, allocations: 8 kB / 464.6 MB, free: 5.848 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.862e-05/0.01728, allocations: 69.41 kB / 464.6 MB, free: 5.781 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008729/0.01816, allocations: 0.9382 MB / 465.6 MB, free: 4.801 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.0183, allocations: 83.06 kB / 465.6 MB, free: 4.715 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.01833, allocations: 20.86 kB / 465.7 MB, free: 4.691 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.099e-05/0.01838, allocations: 11.98 kB / 465.7 MB, free: 4.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.01854, allocations: 201.2 kB / 465.9 MB, free: 4.449 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.01854, allocations: 0 / 465.9 MB, free: 4.449 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001759/0.01872, allocations: 106.5 kB / 466 MB, free: 4.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.01875, allocations: 55.41 kB / 466 MB, free: 4.273 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.01894, allocations: 296.5 kB / 466.3 MB, free: 3.977 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.01897, allocations: 34.73 kB / 466.3 MB, free: 3.938 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.01909, allocations: 196.9 kB / 466.5 MB, free: 3.738 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.01913, allocations: 57.8 kB / 466.6 MB, free: 3.684 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.01919, allocations: 57.66 kB / 466.7 MB, free: 3.621 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.73e-05/0.01928, allocations: 346.7 kB / 467 MB, free: 3.273 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.01933, allocations: 49.69 kB / 467 MB, free: 3.219 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.577e-05/0.0194, allocations: 127.1 kB / 467.2 MB, free: 3.059 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.0197, allocations: 183.1 kB / 467.3 MB, free: 2.844 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.0197, allocations: 1.031 kB / 467.3 MB, free: 2.844 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001918/0.01989, allocations: 210.1 kB / 467.6 MB, free: 2.621 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.01993, allocations: 39.12 kB / 467.6 MB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.01993, allocations: 0 / 467.6 MB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.01994, allocations: 4 kB / 467.6 MB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.02012, allocations: 66.19 kB / 467.7 MB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.02012, allocations: 7.938 kB / 467.7 MB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.02023, allocations: 35.77 kB / 467.7 MB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.02025, allocations: 8 kB / 467.7 MB, free: 2.461 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.551e-05/0.02033, allocations: 137.6 kB / 467.8 MB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.02049, allocations: 19.98 kB / 467.9 MB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.02062, allocations: 111.3 kB / 468 MB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.02062, allocations: 4 kB / 468 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.02063, allocations: 0.8438 kB / 468 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001527/0.02078, allocations: 404.4 kB / 468.4 MB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.02097, allocations: 173.6 kB / 468.5 MB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.02097, allocations: 0 / 468.5 MB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.02107, allocations: 39.97 kB / 468.6 MB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.945e-05/0.02113, allocations: 36.59 kB / 468.6 MB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.02114, allocations: 0 / 468.6 MB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.02115, allocations: 0.875 kB / 468.6 MB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.02115, allocations: 4 kB / 468.6 MB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02115, allocations: 0 / 468.6 MB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.02139, allocations: 162.7 kB / 468.8 MB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.02141, allocations: 9.188 kB / 468.8 MB, free: 1.246 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-05/0.02151, allocations: 15.98 kB / 468.8 MB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.02155, allocations: 15.97 kB / 468.8 MB, free: 1.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.02156, allocations: 13.48 kB / 468.8 MB, free: 1.203 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.007e-05/0.02165, allocations: 115.4 kB / 468.9 MB, free: 1.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02165, allocations: 0 / 468.9 MB, free: 1.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.02189, allocations: 111.8 kB / 469.1 MB, free: 0.9805 MB / 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.0001648/0.02206, allocations: 123.8 kB / 469.2 MB, free: 0.8555 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.02222, allocations: 184.5 kB / 469.4 MB, free: 0.6602 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.02223, allocations: 4 kB / 469.4 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.761e-05/0.02229, allocations: 50 kB / 469.4 MB, free: 0.6055 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.02341, allocations: 1.325 MB / 470.7 MB, free: 15.06 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.02588, allocations: 0.579 MB / 471.3 MB, free: 14.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.99e-05/0.02593, allocations: 96.61 kB / 471.4 MB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.02609, allocations: 60.8 kB / 471.5 MB, free: 14.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.02634, allocations: 169.2 kB / 471.6 MB, free: 14.13 MB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02634, allocations: 0 / 471.6 MB, free: 14.13 MB / 458.7 MB Notification: Performance of Templates: time 0.00899/0.03533, allocations: 7.545 MB / 479.2 MB, free: 7.113 MB / 458.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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7422208385542035]