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.001689/0.001689, allocations: 84.73 kB / 19.44 MB, free: 356 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.002503/0.002503, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.507/1.507, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.244/1.244, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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 178] 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.493e-06/1.493e-06, allocations: 0 / 0.5196 GB, free: 2.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/2.971e-05, allocations: 5.531 kB / 0.5196 GB, free: 2.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.02046/0.02049, allocations: 13.41 MB / 0.5327 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006747/0.02723, allocations: 3.396 MB / 0.536 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005868/0.02782, allocations: 26.25 kB / 0.536 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008189/0.02864, allocations: 206.6 kB / 0.5362 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.03062, allocations: 0.6457 MB / 0.5369 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.03179, allocations: 408.5 kB / 0.5373 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001845/0.03364, allocations: 1.111 MB / 0.5383 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006577/0.03429, allocations: 273 kB / 0.5386 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.03622, allocations: 0.5677 MB / 0.5392 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000596/0.03681, allocations: 271.1 kB / 0.5394 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.102e-05/0.0369, allocations: 32 kB / 0.5394 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000641/0.03754, allocations: 227.4 kB / 0.5397 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.03773, allocations: 111.5 kB / 0.5398 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.03804, allocations: 144.4 kB / 0.5399 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.03919, allocations: 0.6153 MB / 0.5405 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.03919, allocations: 1.312 kB / 0.5405 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.443e-06/0.0392, allocations: 0 / 0.5405 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.03921, allocations: 0 / 0.5405 GB, free: 13.18 MB / 0.5105 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.001403/0.04061, allocations: 0.6712 MB / 0.5412 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.04066, allocations: 18.08 kB / 0.5412 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002822/0.04095, allocations: 76.58 kB / 0.5413 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008859/0.04183, allocations: 427.7 kB / 0.5417 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.04186, allocations: 20.88 kB / 0.5417 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-05/0.04194, allocations: 32.38 kB / 0.5417 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007625/0.0427, allocations: 417.1 kB / 0.5421 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.04272, allocations: 0 / 0.5421 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.04275, allocations: 10.34 kB / 0.5421 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.04277, allocations: 8 kB / 0.5421 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.04332, allocations: 189.8 kB / 0.5423 GB, free: 11.24 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.04529, allocations: 1.099 MB / 0.5434 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005086/0.0458, allocations: 151.4 kB / 0.5435 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.046, allocations: 67.09 kB / 0.5436 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.04611, allocations: 8 kB / 0.5436 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004142/0.04652, allocations: 230.1 kB / 0.5438 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.04652, allocations: 0 / 0.5438 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0007419/0.04726, allocations: 240.9 kB / 0.5441 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.04731, allocations: 55.41 kB / 0.5441 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004424/0.04776, allocations: 328.4 kB / 0.5444 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.0478, allocations: 33.7 kB / 0.5444 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.04801, allocations: 224.3 kB / 0.5447 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.04807, allocations: 51.59 kB / 0.5447 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.04818, allocations: 57.66 kB / 0.5448 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.04838, allocations: 346.7 kB / 0.5451 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.04865, allocations: 94.75 kB / 0.5452 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.04895, allocations: 171.9 kB / 0.5454 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.04948, allocations: 256.3 kB / 0.5456 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.04948, allocations: 0.875 kB / 0.5456 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007529/0.05024, allocations: 350 kB / 0.5459 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.05028, allocations: 37.69 kB / 0.546 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.05029, allocations: 4 kB / 0.546 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.05031, allocations: 4 kB / 0.546 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.05057, allocations: 57.16 kB / 0.546 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.05058, allocations: 7.984 kB / 0.546 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.05086, allocations: 36.33 kB / 0.5461 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.05089, allocations: 18.5 kB / 0.5461 GB, free: 7.137 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.0002167/0.05111, allocations: 165.1 kB / 0.5462 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.05119, allocations: 35.81 kB / 0.5463 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000621/0.05181, allocations: 199.6 kB / 0.5465 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.05182, allocations: 0 / 0.5465 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.05182, allocations: 3.984 kB / 0.5465 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006456/0.05247, allocations: 486 kB / 0.5469 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.05291, allocations: 261 kB / 0.5472 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.05291, allocations: 0 / 0.5472 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.0531, allocations: 27.98 kB / 0.5472 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.0531, allocations: 1.125 kB / 0.5472 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.05312, allocations: 11.98 kB / 0.5472 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.05312, allocations: 3.938 kB / 0.5472 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.05312, allocations: 1.5 kB / 0.5472 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007691/0.05389, allocations: 289 kB / 0.5475 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.05402, allocations: 44.36 kB / 0.5475 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.05406, allocations: 1.5 kB / 0.5476 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.05432, allocations: 19.97 kB / 0.5476 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.05439, allocations: 15.97 kB / 0.5476 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.05441, allocations: 8.562 kB / 0.5476 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002934/0.05471, allocations: 231 kB / 0.5478 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.05471, allocations: 3.281 kB / 0.5478 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004872/0.0552, allocations: 127.7 kB / 0.5479 GB, free: 5.109 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.00039/0.05559, allocations: 193.2 kB / 0.5481 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000577/0.05616, allocations: 246.7 kB / 0.5484 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.05617, allocations: 5.219 kB / 0.5484 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.05639, allocations: 67.83 kB / 0.5484 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009836/0.05737, allocations: 206.9 kB / 0.5486 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.05888, allocations: 0.6606 MB / 0.5493 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.05915, allocations: 180.7 kB / 0.5494 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002728/0.05942, allocations: 66.84 kB / 0.5495 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.017e-05/0.05951, allocations: 36.5 kB / 0.5495 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of SimCode: time 8.41e-07/0.05951, allocations: 4 kB / 0.5495 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of Templates: time 0.01503/0.07454, allocations: 7.191 MB / 0.5566 GB, free: 12.48 MB / 0.5261 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.207177559961565]