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.001831/0.001831, allocations: 81.5 kB / 19.44 MB, free: 344 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.00206/0.00206, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.61/1.61, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.336/1.336, allocations: 154.8 MB / 414.4 MB, free: 432 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 178] 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.613e-06/1.613e-06, allocations: 0 / 0.5198 GB, free: 2.309 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.127e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.305 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.02848/0.02851, allocations: 14.89 MB / 0.5344 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.009454/0.03797, allocations: 3.708 MB / 0.538 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000806/0.03877, allocations: 24.91 kB / 0.538 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000989/0.03976, allocations: 202.7 kB / 0.5382 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.04207, allocations: 0.6545 MB / 0.5389 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.04347, allocations: 404.2 kB / 0.5392 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001842/0.04531, allocations: 1.107 MB / 0.5403 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004419/0.04575, allocations: 278.2 kB / 0.5406 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.04711, allocations: 0.5673 MB / 0.5411 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004909/0.0476, allocations: 280.6 kB / 0.5414 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.155e-05/0.04767, allocations: 32 kB / 0.5414 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005409/0.04821, allocations: 223.4 kB / 0.5416 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.04836, allocations: 104.1 kB / 0.5417 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.04859, allocations: 155.7 kB / 0.5419 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.0496, allocations: 0.6084 MB / 0.5425 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.04961, allocations: 3.938 kB / 0.5425 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/0.04961, allocations: 2.562 kB / 0.5425 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.04962, allocations: 4 kB / 0.5425 GB, free: 11.11 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.001345/0.05097, allocations: 0.8031 MB / 0.5433 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.051, allocations: 15.97 kB / 0.5433 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.05126, allocations: 77.17 kB / 0.5434 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008053/0.05206, allocations: 406.5 kB / 0.5438 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.05209, allocations: 22.16 kB / 0.5438 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.425e-05/0.05215, allocations: 28.38 kB / 0.5438 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007085/0.05286, allocations: 430.6 kB / 0.5442 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.05288, allocations: 4.438 kB / 0.5442 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.05292, allocations: 13.53 kB / 0.5442 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.05294, allocations: 8 kB / 0.5442 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.0534, allocations: 173.8 kB / 0.5444 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.05554, allocations: 1.432 MB / 0.5458 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.05596, allocations: 143.6 kB / 0.5459 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.05613, allocations: 56.81 kB / 0.546 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.05623, allocations: 12.23 kB / 0.546 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003638/0.0566, allocations: 233.5 kB / 0.5462 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.0566, allocations: 0 / 0.5462 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0006069/0.05721, allocations: 211.7 kB / 0.5464 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.05725, allocations: 52.47 kB / 0.5465 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005033/0.05775, allocations: 434.2 kB / 0.5469 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.05779, allocations: 29.7 kB / 0.5469 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.05803, allocations: 284.4 kB / 0.5472 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.118e-05/0.05812, allocations: 67.5 kB / 0.5473 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.05824, allocations: 67.36 kB / 0.5473 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000362/0.0586, allocations: 0.5319 MB / 0.5478 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.0588, allocations: 89.66 kB / 0.5479 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.05911, allocations: 203.4 kB / 0.5481 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.05956, allocations: 266.6 kB / 0.5484 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.05956, allocations: 1.094 kB / 0.5484 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006594/0.06022, allocations: 341 kB / 0.5487 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.06027, allocations: 33.58 kB / 0.5487 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.06028, allocations: 7.984 kB / 0.5487 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.06029, allocations: 4 kB / 0.5488 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.06053, allocations: 59.91 kB / 0.5488 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.06054, allocations: 9.75 kB / 0.5488 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.06078, allocations: 27.84 kB / 0.5488 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.0608, allocations: 15.92 kB / 0.5489 GB, free: 4.199 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.0002187/0.06102, allocations: 203 kB / 0.5491 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.06109, allocations: 35.75 kB / 0.5491 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.06153, allocations: 176.4 kB / 0.5493 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.06153, allocations: 4 kB / 0.5493 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.06154, allocations: 0 / 0.5493 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005614/0.0621, allocations: 466.2 kB / 0.5497 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.06259, allocations: 324.4 kB / 0.55 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.06259, allocations: 0 / 0.55 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.06275, allocations: 27.92 kB / 0.55 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.06276, allocations: 4 kB / 0.55 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.06278, allocations: 0 / 0.55 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.06278, allocations: 1.344 kB / 0.55 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.06278, allocations: 0 / 0.55 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000618/0.0634, allocations: 278.6 kB / 0.5503 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.06352, allocations: 43.73 kB / 0.5504 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.06357, allocations: 8.5 kB / 0.5504 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.06377, allocations: 12.48 kB / 0.5504 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.06385, allocations: 24.84 kB / 0.5504 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.06388, allocations: 11.98 kB / 0.5504 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003107/0.06419, allocations: 277.4 kB / 0.5507 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.06419, allocations: 4 kB / 0.5507 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000484/0.06468, allocations: 131.6 kB / 0.5508 GB, free: 2.059 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.0004896/0.06517, allocations: 178.1 kB / 0.551 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005293/0.0657, allocations: 262.8 kB / 0.5512 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.0657, allocations: 4 kB / 0.5512 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.06589, allocations: 72.42 kB / 0.5513 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.06689, allocations: 206.5 kB / 0.5515 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.06828, allocations: 0.6637 MB / 0.5521 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.06849, allocations: 183.2 kB / 0.5523 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002311/0.06872, allocations: 61.69 kB / 0.5524 GB, free: 456 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.303e-05/0.06881, allocations: 28.5 kB / 0.5524 GB, free: 428 kB / 0.5105 GB Notification: Performance of SimCode: time 7.91e-07/0.06881, allocations: 0 / 0.5524 GB, free: 428 kB / 0.5105 GB Notification: Performance of Templates: time 0.01513/0.08394, allocations: 7.238 MB / 0.5595 GB, free: 9.375 MB / 0.5261 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: 6.516362703987397]