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.0009545/0.0009545, allocations: 92.22 kB / 19.65 MB, free: 276 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.001609/0.001609, allocations: 173 kB / 23.03 MB, free: 1.543 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.9617/0.9617, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.752/0.752, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.633e-06/1.633e-06, allocations: 0 / 0.5203 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.922e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.176 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.006809/0.006828, allocations: 7.263 MB / 0.5274 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003317/0.01014, allocations: 2.494 MB / 0.5298 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003504/0.0105, allocations: 27.81 kB / 0.5299 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.01089, allocations: 127 kB / 0.53 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.01191, allocations: 0.5272 MB / 0.5305 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005866/0.0125, allocations: 365.1 kB / 0.5308 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.01352, allocations: 1.093 MB / 0.5319 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.01385, allocations: 269 kB / 0.5322 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008516/0.0147, allocations: 0.5592 MB / 0.5327 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.01508, allocations: 279.1 kB / 0.533 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.01513, allocations: 32 kB / 0.533 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.01539, allocations: 134.2 kB / 0.5331 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.189e-05/0.01548, allocations: 95.61 kB / 0.5332 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.01561, allocations: 159.6 kB / 0.5334 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.01614, allocations: 402.6 kB / 0.5338 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.01615, allocations: 0 / 0.5338 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.452e-06/0.01615, allocations: 0 / 0.5338 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.01616, allocations: 0 / 0.5338 GB, free: 4.41 MB / 0.4948 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.0008695/0.01702, allocations: 0.7597 MB / 0.5345 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.01706, allocations: 13.34 kB / 0.5345 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.01726, allocations: 76.58 kB / 0.5346 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.01766, allocations: 359.7 kB / 0.5349 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.01769, allocations: 28.84 kB / 0.535 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.01773, allocations: 36.33 kB / 0.535 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.01812, allocations: 367.2 kB / 0.5353 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.01814, allocations: 3.938 kB / 0.5354 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.01816, allocations: 13.41 kB / 0.5354 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.01819, allocations: 8 kB / 0.5354 GB, free: 2.652 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.01835, allocations: 98.86 kB / 0.5355 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.0195, allocations: 1.289 MB / 0.5367 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.01971, allocations: 96.39 kB / 0.5368 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.01977, allocations: 35.67 kB / 0.5369 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.443e-05/0.01985, allocations: 13.55 kB / 0.5369 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.02006, allocations: 205.9 kB / 0.5371 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.484e-06/0.02006, allocations: 0 / 0.5371 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002863/0.02035, allocations: 153.3 kB / 0.5372 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.02038, allocations: 52.03 kB / 0.5373 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.02062, allocations: 362.2 kB / 0.5376 GB, free: 236 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.02064, allocations: 26.64 kB / 0.5376 GB, free: 204 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.02078, allocations: 275.2 kB / 0.5379 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.637e-05/0.02086, allocations: 51.58 kB / 0.5379 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.02092, allocations: 56.86 kB / 0.538 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.02105, allocations: 0.5157 MB / 0.5385 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.02112, allocations: 61.67 kB / 0.5386 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.02122, allocations: 154.2 kB / 0.5387 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.02139, allocations: 220.1 kB / 0.5389 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.02139, allocations: 4 kB / 0.5389 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002698/0.02166, allocations: 275.6 kB / 0.5392 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.02169, allocations: 29.7 kB / 0.5392 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.0217, allocations: 7.984 kB / 0.5392 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.02172, allocations: 9.359 kB / 0.5392 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.02186, allocations: 59.91 kB / 0.5393 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.02187, allocations: 7.984 kB / 0.5393 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.02198, allocations: 29.83 kB / 0.5393 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.022, allocations: 12 kB / 0.5393 GB, free: 14.3 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.0001098/0.02211, allocations: 180.4 kB / 0.5395 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.02214, allocations: 36.73 kB / 0.5395 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.02241, allocations: 142.2 kB / 0.5397 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.02241, allocations: 5.438 kB / 0.5397 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.02241, allocations: 0 / 0.5397 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001898/0.0226, allocations: 427.8 kB / 0.5401 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.02285, allocations: 256.4 kB / 0.5403 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.02286, allocations: 1.344 kB / 0.5403 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-05/0.02294, allocations: 31.98 kB / 0.5404 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.02294, allocations: 4 kB / 0.5404 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.02295, allocations: 0 / 0.5404 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.02296, allocations: 0.6875 kB / 0.5404 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.02296, allocations: 5 kB / 0.5404 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.02319, allocations: 210.8 kB / 0.5406 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.02325, allocations: 43.78 kB / 0.5406 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.02328, allocations: 1.125 kB / 0.5406 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.334e-05/0.02337, allocations: 15.98 kB / 0.5406 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.02342, allocations: 13.81 kB / 0.5406 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.02343, allocations: 15.98 kB / 0.5407 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001419/0.02358, allocations: 235 kB / 0.5409 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.02358, allocations: 0 / 0.5409 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002756/0.02385, allocations: 111.8 kB / 0.541 GB, free: 12.45 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.0002139/0.02407, allocations: 146.4 kB / 0.5411 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.02431, allocations: 194.1 kB / 0.5413 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.02431, allocations: 1.156 kB / 0.5413 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/0.02437, allocations: 55.59 kB / 0.5414 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.02489, allocations: 204.3 kB / 0.5416 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.02593, allocations: 0.6297 MB / 0.5422 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.166e-05/0.02599, allocations: 100.5 kB / 0.5423 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.02614, allocations: 56.94 kB / 0.5423 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.02621, allocations: 41.55 kB / 0.5424 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/0.02621, allocations: 4 kB / 0.5424 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of Templates: time 0.009218/0.03542, allocations: 7.257 MB / 0.5495 GB, free: 4.016 MB / 0.5105 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: 3.912963794078678]