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.001003/0.001003, allocations: 82.02 kB / 19.87 MB, free: 4.621 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.0011/0.0011, allocations: 174 kB / 23.28 MB, free: 1.223 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.039/1.039, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.7518/0.7518, allocations: 154.9 MB / 415.1 MB, free: 252 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.783e-06/1.783e-06, allocations: 0 / 0.5211 GB, free: 1.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.651e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.00719/0.007216, allocations: 7.189 MB / 0.5281 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003412/0.01063, allocations: 2.458 MB / 0.5305 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004318/0.01106, allocations: 27.75 kB / 0.5306 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.01144, allocations: 128.3 kB / 0.5307 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.01248, allocations: 0.5332 MB / 0.5312 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007276/0.01321, allocations: 368.8 kB / 0.5315 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.01457, allocations: 1.091 MB / 0.5326 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004787/0.01505, allocations: 265.1 kB / 0.5329 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.01625, allocations: 0.549 MB / 0.5334 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004525/0.01671, allocations: 287.1 kB / 0.5337 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.01676, allocations: 32 kB / 0.5337 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.01707, allocations: 139.7 kB / 0.5338 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.01716, allocations: 95.61 kB / 0.5339 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.01729, allocations: 147.6 kB / 0.5341 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.01791, allocations: 410.6 kB / 0.5345 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.01791, allocations: 0 / 0.5345 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.01791, allocations: 2.781 kB / 0.5345 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.01792, allocations: 0 / 0.5345 GB, free: 3.859 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.0008717/0.01879, allocations: 0.762 MB / 0.5352 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.01884, allocations: 12.03 kB / 0.5352 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.01903, allocations: 77.12 kB / 0.5353 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.01944, allocations: 359.5 kB / 0.5356 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.01947, allocations: 20.88 kB / 0.5357 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.01951, allocations: 32.33 kB / 0.5357 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.01986, allocations: 367.1 kB / 0.536 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.01988, allocations: 6.438 kB / 0.536 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.0199, allocations: 8 kB / 0.536 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.01993, allocations: 8 kB / 0.5361 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.02005, allocations: 73.38 kB / 0.5361 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.0212, allocations: 1.305 MB / 0.5374 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.02137, allocations: 87.16 kB / 0.5375 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.02142, allocations: 31.66 kB / 0.5375 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.65e-05/0.02149, allocations: 12.56 kB / 0.5375 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.02167, allocations: 196.3 kB / 0.5377 GB, free: 316 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 3.196e-06/0.02167, allocations: 0.8125 kB / 0.5377 GB, free: 316 kB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002422/0.02192, allocations: 137.4 kB / 0.5378 GB, free: 172 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.02195, allocations: 55.41 kB / 0.5379 GB, free: 104 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.02218, allocations: 362.5 kB / 0.5382 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.0222, allocations: 31.2 kB / 0.5383 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.02234, allocations: 275 kB / 0.5385 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.02237, allocations: 51.58 kB / 0.5386 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.02244, allocations: 59.33 kB / 0.5386 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.02258, allocations: 0.5206 MB / 0.5392 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.147e-05/0.02263, allocations: 49.69 kB / 0.5392 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.623e-05/0.02272, allocations: 158.2 kB / 0.5393 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.02288, allocations: 194.9 kB / 0.5395 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.02288, allocations: 0 / 0.5395 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002497/0.02313, allocations: 261.4 kB / 0.5398 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.02317, allocations: 37.69 kB / 0.5398 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.02317, allocations: 5.062 kB / 0.5398 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.02319, allocations: 7.938 kB / 0.5398 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.02332, allocations: 53.81 kB / 0.5399 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.02333, allocations: 11.88 kB / 0.5399 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.02345, allocations: 31.81 kB / 0.5399 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.02347, allocations: 8 kB / 0.5399 GB, free: 13.85 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.0001153/0.02358, allocations: 189.7 kB / 0.5401 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.02362, allocations: 35.77 kB / 0.5401 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.0238, allocations: 134.7 kB / 0.5403 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.0238, allocations: 0.5 kB / 0.5403 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.02381, allocations: 0.9375 kB / 0.5403 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001955/0.024, allocations: 427.7 kB / 0.5407 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.02423, allocations: 205 kB / 0.5409 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.02423, allocations: 1.281 kB / 0.5409 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.161e-05/0.02431, allocations: 31.97 kB / 0.5409 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.02431, allocations: 0 / 0.5409 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.02432, allocations: 4.531 kB / 0.5409 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.02433, allocations: 0.6875 kB / 0.5409 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.02433, allocations: 0 / 0.5409 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.02457, allocations: 202.8 kB / 0.5411 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.02464, allocations: 43.78 kB / 0.5412 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.02467, allocations: 8 kB / 0.5412 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.218e-05/0.02476, allocations: 8.609 kB / 0.5412 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.0248, allocations: 20.53 kB / 0.5412 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.02481, allocations: 4 kB / 0.5412 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001238/0.02494, allocations: 229.1 kB / 0.5414 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.02494, allocations: 0 / 0.5414 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002954/0.02523, allocations: 111.8 kB / 0.5415 GB, free: 12.09 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.0002381/0.02547, allocations: 149.8 kB / 0.5417 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.02568, allocations: 195.1 kB / 0.5418 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02569, allocations: 0 / 0.5418 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.112e-05/0.02574, allocations: 36.8 kB / 0.5419 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.02624, allocations: 207.1 kB / 0.5421 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.02728, allocations: 0.6402 MB / 0.5427 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.33e-05/0.02734, allocations: 96.47 kB / 0.5428 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.02752, allocations: 62.06 kB / 0.5429 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.02779, allocations: 218.7 kB / 0.5431 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of SimCode: time 9.92e-07/0.02779, allocations: 0.6562 kB / 0.5431 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of Templates: time 0.01028/0.03807, allocations: 7.291 MB / 0.5502 GB, free: 3.461 MB / 0.5105 GB " [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.792118634097278]