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.001041/0.001041, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001012/0.002053, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007091/0.0007091, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009237/0.001633, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.05/1.05, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1028/1.153, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.7587/0.7587, allocations: 154.6 MB / 398.5 MB, free: 0.5469 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2964/1.055, allocations: 49.04 MB / 447.6 MB, free: 6.727 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.894e-06/1.894e-06, allocations: 0 / 448.9 MB, free: 5.457 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.775e-05, allocations: 6.984 kB / 448.9 MB, free: 5.453 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.008641/0.008669, allocations: 7.298 MB / 456.2 MB, free: 14.2 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004136/0.01281, allocations: 2.522 MB / 458.7 MB, free: 11.69 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006509/0.01346, allocations: 23.81 kB / 458.7 MB, free: 11.67 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004045/0.01386, allocations: 135 kB / 458.8 MB, free: 11.54 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.015, allocations: 0.5286 MB / 459.4 MB, free: 11.01 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007256/0.01573, allocations: 355.4 kB / 459.7 MB, free: 10.66 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.01727, allocations: 1.083 MB / 460.8 MB, free: 9.578 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000744/0.01801, allocations: 303.3 kB / 461.1 MB, free: 9.285 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009214/0.01893, allocations: 0.5938 MB / 461.7 MB, free: 8.699 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/0.01931, allocations: 255.8 kB / 461.9 MB, free: 8.449 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/0.01935, allocations: 32.91 kB / 462 MB, free: 8.418 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.01969, allocations: 151.6 kB / 462.1 MB, free: 8.27 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.01978, allocations: 83.67 kB / 462.2 MB, free: 8.188 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.01992, allocations: 120.6 kB / 462.3 MB, free: 8.07 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006152/0.02053, allocations: 370.7 kB / 462.7 MB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.038e-05/0.02055, allocations: 0.875 kB / 462.7 MB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.02056, allocations: 4 kB / 462.7 MB, free: 7.703 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.02058, allocations: 1.188 kB / 462.7 MB, free: 7.703 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.0009521/0.02153, allocations: 0.7286 MB / 463.4 MB, free: 6.945 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.02157, allocations: 12.62 kB / 463.4 MB, free: 6.934 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.02177, allocations: 137.9 kB / 463.6 MB, free: 6.781 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.02217, allocations: 316 kB / 463.9 MB, free: 6.453 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.02219, allocations: 18 kB / 463.9 MB, free: 6.438 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.02224, allocations: 36.31 kB / 463.9 MB, free: 6.402 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.02259, allocations: 352.7 kB / 464.3 MB, free: 6.012 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.02261, allocations: 3.984 kB / 464.3 MB, free: 6.008 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.02263, allocations: 13.91 kB / 464.3 MB, free: 5.996 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.02266, allocations: 8.938 kB / 464.3 MB, free: 5.988 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.02279, allocations: 69.39 kB / 464.4 MB, free: 5.926 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009944/0.02379, allocations: 0.9299 MB / 465.3 MB, free: 4.953 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.02396, allocations: 76.25 kB / 465.4 MB, free: 4.871 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/0.024, allocations: 37.02 kB / 465.4 MB, free: 4.832 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.647e-05/0.02408, allocations: 12 kB / 465.4 MB, free: 4.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.02426, allocations: 190.1 kB / 465.6 MB, free: 4.598 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 2.525e-06/0.02426, allocations: 1.031 kB / 465.6 MB, free: 4.598 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001937/0.02446, allocations: 109.7 kB / 465.7 MB, free: 4.488 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.02449, allocations: 56.22 kB / 465.8 MB, free: 4.422 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.02469, allocations: 304.5 kB / 466.1 MB, free: 4.113 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.02471, allocations: 33.7 kB / 466.1 MB, free: 4.074 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/0.0248, allocations: 189.7 kB / 466.3 MB, free: 3.883 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.02483, allocations: 55.58 kB / 466.3 MB, free: 3.828 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/0.0249, allocations: 59.62 kB / 466.4 MB, free: 3.766 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.02499, allocations: 346.7 kB / 466.7 MB, free: 3.418 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.795e-05/0.02504, allocations: 47.19 kB / 466.8 MB, free: 3.367 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.843e-05/0.02512, allocations: 124.4 kB / 466.9 MB, free: 3.207 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.02525, allocations: 178.9 kB / 467.1 MB, free: 2.996 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02526, allocations: 1.469 kB / 467.1 MB, free: 2.996 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002007/0.02546, allocations: 210 kB / 467.3 MB, free: 2.773 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.0255, allocations: 34.3 kB / 467.3 MB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.0255, allocations: 5.094 kB / 467.3 MB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.02551, allocations: 7.984 kB / 467.3 MB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.0257, allocations: 64.78 kB / 467.4 MB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.02571, allocations: 4 kB / 467.4 MB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.02585, allocations: 37.17 kB / 467.4 MB, free: 2.621 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.02586, allocations: 12 kB / 467.4 MB, free: 2.609 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 9.327e-05/0.02595, allocations: 128.5 kB / 467.6 MB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.02598, allocations: 24.56 kB / 467.6 MB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.02614, allocations: 117.2 kB / 467.7 MB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.02615, allocations: 0 / 467.7 MB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.02615, allocations: 0.9375 kB / 467.7 MB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002051/0.02635, allocations: 403.8 kB / 468.1 MB, free: 1.844 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.02657, allocations: 174.4 kB / 468.3 MB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.02657, allocations: 0 / 468.3 MB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.02668, allocations: 31.97 kB / 468.3 MB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.02674, allocations: 39.73 kB / 468.3 MB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.02675, allocations: 8 kB / 468.3 MB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.02676, allocations: 1 kB / 468.4 MB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.02676, allocations: 0 / 468.4 MB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.02676, allocations: 0 / 468.4 MB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.02694, allocations: 167.5 kB / 468.5 MB, free: 1.398 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.02697, allocations: 2 kB / 468.5 MB, free: 1.398 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.462e-05/0.02706, allocations: 15.98 kB / 468.5 MB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.0271, allocations: 11.97 kB / 468.5 MB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.02712, allocations: 8 kB / 468.6 MB, free: 1.363 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.082e-05/0.02721, allocations: 111.4 kB / 468.7 MB, free: 1.254 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02721, allocations: 1.062 kB / 468.7 MB, free: 1.254 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003319/0.02754, allocations: 115.8 kB / 468.8 MB, free: 1.141 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.0001993/0.02774, allocations: 119.5 kB / 468.9 MB, free: 1.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.02792, allocations: 189.1 kB / 469.1 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.02793, allocations: 4 kB / 469.1 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.64e-05/0.02798, allocations: 43.95 kB / 469.1 MB, free: 0.7695 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.02845, allocations: 236.2 kB / 469.4 MB, free: 0.5547 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.03107, allocations: 0.5868 MB / 469.9 MB, free: 15.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.145e-05/0.03113, allocations: 96.47 kB / 470 MB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.03133, allocations: 59.25 kB / 470.1 MB, free: 15.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.0316, allocations: 173.2 kB / 470.3 MB, free: 15.61 MB / 458.7 MB Notification: Performance of SimCode: time 1.163e-06/0.0316, allocations: 1.469 kB / 470.3 MB, free: 15.61 MB / 458.7 MB Notification: Performance of Templates: time 0.01083/0.04243, allocations: 7.528 MB / 477.8 MB, free: 8.609 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.7692280039191246]