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.001362/0.001362, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001711/0.001711, allocations: 177 kB / 23.36 MB, free: 1.133 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 0.9577/0.9577, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.7829/0.7829, allocations: 154.6 MB / 414.8 MB, free: 0.5391 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.643e-06/1.643e-06, allocations: 0 / 480 MB, free: 6.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.54e-05, allocations: 12.69 kB / 480 MB, free: 6.98 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.007229/0.007255, allocations: 7.226 MB / 487.2 MB, free: 15.79 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003638/0.01089, allocations: 2.514 MB / 489.7 MB, free: 13.29 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005377/0.01143, allocations: 23.81 kB / 489.7 MB, free: 13.26 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.01183, allocations: 131.8 kB / 489.9 MB, free: 13.13 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.01292, allocations: 0.542 MB / 490.4 MB, free: 12.59 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.01366, allocations: 362.5 kB / 490.8 MB, free: 12.24 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.01485, allocations: 1.094 MB / 491.9 MB, free: 11.15 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004209/0.01527, allocations: 286.5 kB / 492.1 MB, free: 10.86 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.01628, allocations: 0.5389 MB / 492.7 MB, free: 10.33 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004219/0.01671, allocations: 267.1 kB / 492.9 MB, free: 10.07 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.478e-05/0.01676, allocations: 32 kB / 493 MB, free: 10.04 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.01706, allocations: 132.3 kB / 493.1 MB, free: 9.906 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.359e-05/0.01716, allocations: 103.5 kB / 493.2 MB, free: 9.805 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.01731, allocations: 148.7 kB / 493.3 MB, free: 9.66 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005854/0.01789, allocations: 406.6 kB / 493.7 MB, free: 9.262 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.01789, allocations: 1.75 kB / 493.7 MB, free: 9.262 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01789, allocations: 0 / 493.7 MB, free: 9.262 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.0179, allocations: 0 / 493.7 MB, free: 9.262 MB / 458.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.0007261/0.01863, allocations: 0.6339 MB / 494.4 MB, free: 8.594 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.01866, allocations: 14.31 kB / 494.4 MB, free: 8.582 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.01881, allocations: 68.81 kB / 494.5 MB, free: 8.516 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.01922, allocations: 306.6 kB / 494.8 MB, free: 8.195 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.01924, allocations: 22.25 kB / 494.8 MB, free: 8.176 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.01928, allocations: 36.25 kB / 494.8 MB, free: 8.141 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.01956, allocations: 343.9 kB / 495.1 MB, free: 7.758 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.01958, allocations: 4.75 kB / 495.2 MB, free: 7.754 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.01959, allocations: 8 kB / 495.2 MB, free: 7.746 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.01961, allocations: 9.625 kB / 495.2 MB, free: 7.738 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.892e-05/0.01971, allocations: 73.39 kB / 495.2 MB, free: 7.672 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000901/0.02061, allocations: 0.9295 MB / 496.2 MB, free: 6.699 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.02075, allocations: 78.48 kB / 496.2 MB, free: 6.613 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/0.02079, allocations: 24.84 kB / 496.3 MB, free: 6.586 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-05/0.02085, allocations: 12.92 kB / 496.3 MB, free: 6.574 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.021, allocations: 196.1 kB / 496.5 MB, free: 6.348 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/0.021, allocations: 0 / 496.5 MB, free: 6.348 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001951/0.02119, allocations: 108.5 kB / 496.6 MB, free: 6.238 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.02123, allocations: 55.41 kB / 496.6 MB, free: 6.172 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.02142, allocations: 300.5 kB / 496.9 MB, free: 5.871 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.02144, allocations: 34.98 kB / 497 MB, free: 5.832 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.02159, allocations: 193 kB / 497.2 MB, free: 5.637 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.02162, allocations: 51.58 kB / 497.2 MB, free: 5.586 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.02168, allocations: 53.67 kB / 497.3 MB, free: 5.527 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.02176, allocations: 351.6 kB / 497.6 MB, free: 5.176 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-05/0.02181, allocations: 45.69 kB / 497.6 MB, free: 5.125 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.083e-05/0.02189, allocations: 131.1 kB / 497.8 MB, free: 4.961 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.02202, allocations: 172.2 kB / 497.9 MB, free: 4.758 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.02202, allocations: 0 / 497.9 MB, free: 4.758 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001878/0.02221, allocations: 215.4 kB / 498.1 MB, free: 4.531 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.02224, allocations: 33.7 kB / 498.2 MB, free: 4.492 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.02224, allocations: 0 / 498.2 MB, free: 4.492 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.02226, allocations: 4.812 kB / 498.2 MB, free: 4.488 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.02239, allocations: 55.91 kB / 498.2 MB, free: 4.434 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.02239, allocations: 4.781 kB / 498.2 MB, free: 4.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.02252, allocations: 36.61 kB / 498.3 MB, free: 4.395 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.02254, allocations: 15.94 kB / 498.3 MB, free: 4.379 MB / 458.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.99e-05/0.02263, allocations: 134.2 kB / 498.4 MB, free: 4.238 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.02265, allocations: 24.67 kB / 498.5 MB, free: 4.215 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.0228, allocations: 112.5 kB / 498.6 MB, free: 4.094 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.0228, allocations: 1 kB / 498.6 MB, free: 4.094 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.0228, allocations: 3.938 kB / 498.6 MB, free: 4.09 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001516/0.02295, allocations: 399.8 kB / 499 MB, free: 3.613 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.02315, allocations: 181.1 kB / 499.1 MB, free: 3.418 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.02315, allocations: 4 kB / 499.1 MB, free: 3.414 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-05/0.02323, allocations: 24.8 kB / 499.2 MB, free: 3.391 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.02323, allocations: 2.203 kB / 499.2 MB, free: 3.391 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.02325, allocations: 12.98 kB / 499.2 MB, free: 3.379 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.02325, allocations: 0 / 499.2 MB, free: 3.379 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02325, allocations: 1.344 kB / 499.2 MB, free: 3.379 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.02342, allocations: 146 kB / 499.3 MB, free: 3.219 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.246e-05/0.02348, allocations: 43.73 kB / 499.4 MB, free: 3.176 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.02351, allocations: 0 / 499.4 MB, free: 3.176 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.02359, allocations: 16.73 kB / 499.4 MB, free: 3.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.02364, allocations: 13.41 kB / 499.4 MB, free: 3.148 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.02365, allocations: 11.98 kB / 499.4 MB, free: 3.137 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.381e-05/0.02374, allocations: 111.4 kB / 499.5 MB, free: 3.027 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02374, allocations: 0 / 499.5 MB, free: 3.027 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002594/0.024, allocations: 112.9 kB / 499.6 MB, free: 2.918 MB / 458.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.0001858/0.02419, allocations: 131.6 kB / 499.8 MB, free: 2.785 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.02436, allocations: 181 kB / 499.9 MB, free: 2.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.02437, allocations: 4 kB / 499.9 MB, free: 2.586 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.911e-05/0.02441, allocations: 40.78 kB / 500 MB, free: 2.543 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.02486, allocations: 201.2 kB / 0.4884 GB, free: 2.363 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.026, allocations: 0.602 MB / 0.489 GB, free: 1.758 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.254e-05/0.02605, allocations: 96.61 kB / 0.4891 GB, free: 1.645 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000161/0.02621, allocations: 52.53 kB / 0.4892 GB, free: 1.605 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.02647, allocations: 179 kB / 0.4893 GB, free: 1.43 MB / 458.7 MB Notification: Performance of SimCode: time 9.21e-07/0.02647, allocations: 0 / 0.4893 GB, free: 1.43 MB / 458.7 MB Notification: Performance of Templates: time 0.009698/0.03617, allocations: 7.22 MB / 0.4964 GB, free: 10.66 MB / 474.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.7739554150030017]