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.001028/0.001028, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001008/0.001008, allocations: 181 kB / 23.36 MB, free: 1.129 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.096/1.096, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.805/0.805, allocations: 154.9 MB / 415.1 MB, free: 276 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.653e-06/1.653e-06, allocations: 0.6562 kB / 480.4 MB, free: 6.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.291e-05, allocations: 5.047 kB / 480.4 MB, free: 6.586 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.006905/0.006928, allocations: 7.275 MB / 487.6 MB, free: 15.36 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003308/0.01024, allocations: 2.516 MB / 490.2 MB, free: 12.85 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.01055, allocations: 27.81 kB / 490.2 MB, free: 12.82 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.01093, allocations: 119.9 kB / 490.3 MB, free: 12.71 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000883/0.01182, allocations: 0.5341 MB / 490.8 MB, free: 12.18 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.01234, allocations: 370.4 kB / 491.2 MB, free: 11.82 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009004/0.01324, allocations: 1.098 MB / 492.3 MB, free: 10.71 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000571/0.01381, allocations: 301.2 kB / 492.6 MB, free: 10.42 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008467/0.01465, allocations: 0.5339 MB / 493.1 MB, free: 9.891 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.01494, allocations: 272.3 kB / 493.4 MB, free: 9.625 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.01497, allocations: 32 kB / 493.4 MB, free: 9.594 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.01519, allocations: 135.8 kB / 493.6 MB, free: 9.461 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.01526, allocations: 96.39 kB / 493.7 MB, free: 9.367 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.01538, allocations: 151.6 kB / 493.8 MB, free: 9.219 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.01583, allocations: 411.1 kB / 494.2 MB, free: 8.816 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.01583, allocations: 1.094 kB / 494.2 MB, free: 8.816 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01583, allocations: 0 / 494.2 MB, free: 8.816 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.01584, allocations: 0 / 494.2 MB, free: 8.816 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.000659/0.0165, allocations: 0.6317 MB / 494.8 MB, free: 8.156 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.01653, allocations: 12.02 kB / 494.8 MB, free: 8.145 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.01667, allocations: 60.83 kB / 494.9 MB, free: 8.086 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.01702, allocations: 308.2 kB / 495.2 MB, free: 7.766 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.01704, allocations: 20.88 kB / 495.2 MB, free: 7.746 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.01708, allocations: 33.72 kB / 495.3 MB, free: 7.715 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.01737, allocations: 347.9 kB / 495.6 MB, free: 7.328 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.01738, allocations: 0 / 495.6 MB, free: 7.328 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.0174, allocations: 13.64 kB / 495.6 MB, free: 7.316 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.01742, allocations: 8.594 kB / 495.6 MB, free: 7.309 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.01753, allocations: 78.08 kB / 495.7 MB, free: 7.234 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008546/0.01838, allocations: 0.922 MB / 496.6 MB, free: 6.27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.01853, allocations: 88.56 kB / 496.7 MB, free: 6.176 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.01856, allocations: 18.55 kB / 496.7 MB, free: 6.156 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.063e-05/0.01862, allocations: 11.98 kB / 496.7 MB, free: 6.145 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.01878, allocations: 196.2 kB / 496.9 MB, free: 5.918 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.01878, allocations: 1 kB / 496.9 MB, free: 5.918 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.000163/0.01894, allocations: 113.6 kB / 497 MB, free: 5.801 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.01897, allocations: 51.41 kB / 497.1 MB, free: 5.738 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.01915, allocations: 301 kB / 497.4 MB, free: 5.438 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.01917, allocations: 31.92 kB / 497.4 MB, free: 5.402 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.01926, allocations: 201 kB / 497.6 MB, free: 5.199 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.01929, allocations: 51.58 kB / 497.7 MB, free: 5.148 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.01934, allocations: 49.67 kB / 497.7 MB, free: 5.094 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.551e-05/0.01943, allocations: 346.7 kB / 498 MB, free: 4.746 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.607e-05/0.01947, allocations: 52.94 kB / 498.1 MB, free: 4.691 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.641e-05/0.01955, allocations: 127.7 kB / 498.2 MB, free: 4.527 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.01968, allocations: 176.2 kB / 498.4 MB, free: 4.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01968, allocations: 5.469 kB / 498.4 MB, free: 4.316 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001816/0.01986, allocations: 210.9 kB / 498.6 MB, free: 4.094 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.01989, allocations: 33.7 kB / 498.6 MB, free: 4.055 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.0199, allocations: 4 kB / 498.6 MB, free: 4.051 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.01991, allocations: 4 kB / 498.6 MB, free: 4.047 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.02007, allocations: 56.81 kB / 498.7 MB, free: 3.992 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.02007, allocations: 8.891 kB / 498.7 MB, free: 3.984 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.02018, allocations: 31.78 kB / 498.7 MB, free: 3.953 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.0202, allocations: 16.86 kB / 498.8 MB, free: 3.938 MB / 458.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.387e-05/0.02029, allocations: 133 kB / 498.9 MB, free: 3.797 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.02032, allocations: 23.97 kB / 498.9 MB, free: 3.773 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.02046, allocations: 107.2 kB / 499 MB, free: 3.664 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.02046, allocations: 7.938 kB / 499 MB, free: 3.656 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.02046, allocations: 0.9062 kB / 499 MB, free: 3.656 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001629/0.02063, allocations: 399.8 kB / 499.4 MB, free: 3.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.02081, allocations: 176.4 kB / 499.6 MB, free: 2.988 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.02081, allocations: 1.375 kB / 499.6 MB, free: 2.988 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.02092, allocations: 35.91 kB / 499.6 MB, free: 2.953 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.02092, allocations: 0 / 499.6 MB, free: 2.953 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.02093, allocations: 10.03 kB / 499.6 MB, free: 2.945 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.02094, allocations: 0 / 499.6 MB, free: 2.945 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02094, allocations: 0 / 499.6 MB, free: 2.945 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.02112, allocations: 153.9 kB / 499.8 MB, free: 2.777 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.144e-05/0.02118, allocations: 45.42 kB / 499.8 MB, free: 2.734 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.0212, allocations: 4 kB / 499.8 MB, free: 2.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.44e-05/0.0213, allocations: 19.97 kB / 499.9 MB, free: 2.711 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.02134, allocations: 13.38 kB / 499.9 MB, free: 2.699 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.02135, allocations: 11.98 kB / 499.9 MB, free: 2.688 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.02145, allocations: 112.5 kB / 500 MB, free: 2.578 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02145, allocations: 0 / 500 MB, free: 2.578 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.02169, allocations: 111.8 kB / 0.4884 GB, free: 2.469 MB / 458.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.0001792/0.02187, allocations: 131.7 kB / 0.4885 GB, free: 2.336 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.02207, allocations: 176.4 kB / 0.4887 GB, free: 2.145 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.02208, allocations: 4 kB / 0.4887 GB, free: 2.141 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.077e-05/0.02213, allocations: 44.77 kB / 0.4887 GB, free: 2.094 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.02257, allocations: 194.3 kB / 0.4889 GB, free: 1.926 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000932/0.0235, allocations: 0.6082 MB / 0.4895 GB, free: 1.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.02362, allocations: 96.61 kB / 0.4896 GB, free: 1.207 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.02376, allocations: 50.78 kB / 0.4896 GB, free: 1.164 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.02402, allocations: 174.2 kB / 0.4898 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02402, allocations: 7.938 kB / 0.4898 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of Templates: time 0.009259/0.03328, allocations: 7.227 MB / 0.4969 GB, free: 10.21 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8704680860973895]