Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001073/0.001073, allocations: 92.22 kB / 19.65 MB, free: 280 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.001225/0.001225, allocations: 169 kB / 23.02 MB, free: 1.551 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.003/1.003, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7511/0.7511, allocations: 154.9 MB / 414.8 MB, free: 420 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0.6562 kB / 0.5206 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.771e-05, allocations: 5.922 kB / 0.5206 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.007107/0.007134, allocations: 7.277 MB / 0.5278 GB, free: 9.473 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003187/0.01032, allocations: 2.475 MB / 0.5302 GB, free: 7.004 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.01065, allocations: 23.81 kB / 0.5302 GB, free: 6.98 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004452/0.0111, allocations: 135.9 kB / 0.5303 GB, free: 6.848 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009696/0.01207, allocations: 0.5287 MB / 0.5308 GB, free: 6.32 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.01267, allocations: 374.1 kB / 0.5312 GB, free: 5.957 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.01372, allocations: 1.09 MB / 0.5323 GB, free: 4.859 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.01407, allocations: 273 kB / 0.5325 GB, free: 4.586 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009205/0.015, allocations: 0.5552 MB / 0.5331 GB, free: 4.047 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000356/0.01535, allocations: 279.1 kB / 0.5333 GB, free: 3.773 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.0154, allocations: 32 kB / 0.5334 GB, free: 3.742 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.01566, allocations: 140.9 kB / 0.5335 GB, free: 3.605 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.01575, allocations: 103.6 kB / 0.5336 GB, free: 3.504 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.01588, allocations: 147.6 kB / 0.5337 GB, free: 3.359 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005473/0.01643, allocations: 407.1 kB / 0.5341 GB, free: 2.961 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01643, allocations: 4 kB / 0.5341 GB, free: 2.957 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01643, allocations: 0.7812 kB / 0.5341 GB, free: 2.957 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.01644, allocations: 0 / 0.5341 GB, free: 2.957 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.0008649/0.0173, allocations: 0.7574 MB / 0.5349 GB, free: 2.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.01734, allocations: 8.031 kB / 0.5349 GB, free: 2.152 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.01751, allocations: 76.59 kB / 0.5349 GB, free: 2.078 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.01792, allocations: 362.5 kB / 0.5353 GB, free: 1.703 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.01794, allocations: 16.88 kB / 0.5353 GB, free: 1.688 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.01799, allocations: 28.38 kB / 0.5353 GB, free: 1.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.01839, allocations: 380.7 kB / 0.5357 GB, free: 1.238 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.0184, allocations: 0 / 0.5357 GB, free: 1.238 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.01843, allocations: 12 kB / 0.5357 GB, free: 1.227 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.01846, allocations: 11.94 kB / 0.5357 GB, free: 1.215 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.01862, allocations: 95.83 kB / 0.5358 GB, free: 1.125 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.01972, allocations: 1.292 MB / 0.5371 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.01992, allocations: 96.7 kB / 0.5372 GB, free: 15.67 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.01997, allocations: 31.67 kB / 0.5372 GB, free: 15.63 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.327e-05/0.02006, allocations: 11.98 kB / 0.5372 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.02024, allocations: 209.6 kB / 0.5374 GB, free: 15.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.02024, allocations: 0 / 0.5374 GB, free: 15.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002755/0.02052, allocations: 151.8 kB / 0.5376 GB, free: 15.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.02055, allocations: 59.41 kB / 0.5376 GB, free: 15.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.02087, allocations: 350.2 kB / 0.5379 GB, free: 14.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.02089, allocations: 36.14 kB / 0.538 GB, free: 14.76 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.02102, allocations: 271.1 kB / 0.5382 GB, free: 14.49 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.02106, allocations: 51.59 kB / 0.5383 GB, free: 14.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.02112, allocations: 59.34 kB / 0.5383 GB, free: 14.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.02127, allocations: 0.5157 MB / 0.5388 GB, free: 13.85 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.821e-05/0.02133, allocations: 61.61 kB / 0.5389 GB, free: 13.78 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.02144, allocations: 158.2 kB / 0.5391 GB, free: 13.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.0216, allocations: 207 kB / 0.5393 GB, free: 13.32 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.0216, allocations: 0 / 0.5393 GB, free: 13.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003043/0.0219, allocations: 280.9 kB / 0.5395 GB, free: 13.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.02193, allocations: 33.7 kB / 0.5396 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.02194, allocations: 4.938 kB / 0.5396 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.02196, allocations: 4 kB / 0.5396 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.0221, allocations: 52.62 kB / 0.5396 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.0221, allocations: 10.34 kB / 0.5396 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.02222, allocations: 31.81 kB / 0.5397 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.02224, allocations: 16 kB / 0.5397 GB, free: 12.88 MB / 474.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.841e-05/0.02234, allocations: 176.4 kB / 0.5398 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.02238, allocations: 39.8 kB / 0.5399 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.02256, allocations: 137 kB / 0.54 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.02256, allocations: 2.281 kB / 0.54 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.02257, allocations: 0 / 0.54 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001894/0.02275, allocations: 434 kB / 0.5404 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.02301, allocations: 260.3 kB / 0.5407 GB, free: 11.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.02301, allocations: 0 / 0.5407 GB, free: 11.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.289e-05/0.02311, allocations: 31.97 kB / 0.5407 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.02311, allocations: 1.062 kB / 0.5407 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.02312, allocations: 4 kB / 0.5407 GB, free: 11.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.02312, allocations: 5.719 kB / 0.5407 GB, free: 11.69 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02312, allocations: 0 / 0.5407 GB, free: 11.69 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.02335, allocations: 200 kB / 0.5409 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.02349, allocations: 55.78 kB / 0.541 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.02352, allocations: 0 / 0.541 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.865e-05/0.02362, allocations: 17.45 kB / 0.541 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.02367, allocations: 11.97 kB / 0.541 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.02368, allocations: 8 kB / 0.541 GB, free: 11.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.02382, allocations: 236.2 kB / 0.5412 GB, free: 11.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02382, allocations: 0 / 0.5412 GB, free: 11.15 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002734/0.02409, allocations: 119.7 kB / 0.5413 GB, free: 11.04 MB / 474.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.0002019/0.0243, allocations: 150.4 kB / 0.5415 GB, free: 10.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.02452, allocations: 190.2 kB / 0.5417 GB, free: 10.67 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.02452, allocations: 1.406 kB / 0.5417 GB, free: 10.67 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.968e-05/0.02458, allocations: 45.72 kB / 0.5417 GB, free: 10.62 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.02509, allocations: 217.9 kB / 0.5419 GB, free: 10.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.02618, allocations: 0.6444 MB / 0.5425 GB, free: 9.809 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.352e-05/0.02623, allocations: 92.61 kB / 0.5426 GB, free: 9.699 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.02639, allocations: 58.59 kB / 0.5427 GB, free: 9.652 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.02644, allocations: 38.77 kB / 0.5427 GB, free: 9.617 MB / 474.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02645, allocations: 0 / 0.5427 GB, free: 9.617 MB / 474.7 MB Notification: Performance of Templates: time 0.009326/0.03577, allocations: 7.26 MB / 0.5498 GB, free: 2.586 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.900059724226594]