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.0009383/0.0009383, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009378/0.0009378, allocations: 177 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.071/1.071, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7579/0.7579, allocations: 154.9 MB / 415.1 MB, free: 232 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.182e-06/1.182e-06, allocations: 0 / 480.3 MB, free: 6.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.852e-05, allocations: 2.875 kB / 480.3 MB, free: 6.566 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.007306/0.007325, allocations: 7.231 MB / 487.6 MB, free: 15.37 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.01058, allocations: 2.519 MB / 490.1 MB, free: 12.86 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.01084, allocations: 27.75 kB / 490.1 MB, free: 12.84 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.01122, allocations: 123.8 kB / 490.2 MB, free: 12.71 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009132/0.01213, allocations: 0.5326 MB / 490.8 MB, free: 12.18 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005785/0.01271, allocations: 370.9 kB / 491.1 MB, free: 11.82 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009982/0.01371, allocations: 1.089 MB / 492.2 MB, free: 10.73 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/0.01402, allocations: 285.6 kB / 492.5 MB, free: 10.45 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008107/0.01483, allocations: 0.5441 MB / 493 MB, free: 9.91 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.01515, allocations: 267.2 kB / 493.3 MB, free: 9.648 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.0152, allocations: 32.69 kB / 493.3 MB, free: 9.617 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.01541, allocations: 135.7 kB / 493.5 MB, free: 9.484 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.726e-05/0.0155, allocations: 104.8 kB / 493.6 MB, free: 9.383 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.01565, allocations: 143.7 kB / 493.7 MB, free: 9.242 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004798/0.01613, allocations: 406.5 kB / 494.1 MB, free: 8.844 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.01613, allocations: 1.031 kB / 494.1 MB, free: 8.844 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01613, allocations: 0 / 494.1 MB, free: 8.844 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.01613, allocations: 0 / 494.1 MB, free: 8.844 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.0007514/0.01689, allocations: 0.6389 MB / 494.7 MB, free: 8.176 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.01692, allocations: 8.031 kB / 494.7 MB, free: 8.168 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.01708, allocations: 61.38 kB / 494.8 MB, free: 8.109 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.01748, allocations: 312.8 kB / 495.1 MB, free: 7.785 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.01751, allocations: 16.88 kB / 495.1 MB, free: 7.77 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/0.01755, allocations: 39.41 kB / 495.2 MB, free: 7.734 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.0179, allocations: 352.4 kB / 495.5 MB, free: 7.344 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.01792, allocations: 4 kB / 495.5 MB, free: 7.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.01794, allocations: 9 kB / 495.5 MB, free: 7.332 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.01796, allocations: 8 kB / 495.5 MB, free: 7.324 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.01808, allocations: 70.86 kB / 495.6 MB, free: 7.258 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.01909, allocations: 0.926 MB / 496.5 MB, free: 6.289 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.01925, allocations: 74.53 kB / 496.6 MB, free: 6.207 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.01929, allocations: 24.86 kB / 496.6 MB, free: 6.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.385e-05/0.01935, allocations: 11.98 kB / 496.6 MB, free: 6.168 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.01952, allocations: 198.8 kB / 496.8 MB, free: 5.938 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.01952, allocations: 1.031 kB / 496.8 MB, free: 5.938 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001893/0.01971, allocations: 105.6 kB / 496.9 MB, free: 5.828 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.01974, allocations: 55.41 kB / 497 MB, free: 5.762 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.01996, allocations: 298.4 kB / 497.3 MB, free: 5.465 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.01999, allocations: 33.7 kB / 497.3 MB, free: 5.426 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.738e-05/0.02008, allocations: 193 kB / 497.5 MB, free: 5.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.02012, allocations: 55.58 kB / 497.6 MB, free: 5.176 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.848e-05/0.02019, allocations: 53.67 kB / 497.6 MB, free: 5.117 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.02029, allocations: 347.4 kB / 497.9 MB, free: 4.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.614e-05/0.02035, allocations: 52.88 kB / 498 MB, free: 4.715 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.346e-05/0.02044, allocations: 135.6 kB / 498.1 MB, free: 4.543 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.0206, allocations: 170.5 kB / 498.3 MB, free: 4.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.0206, allocations: 0 / 498.3 MB, free: 4.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002286/0.02083, allocations: 213.5 kB / 498.5 MB, free: 4.117 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.02086, allocations: 40.77 kB / 498.5 MB, free: 4.074 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.02086, allocations: 0 / 498.5 MB, free: 4.074 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.02088, allocations: 5.547 kB / 498.6 MB, free: 4.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.02103, allocations: 57.03 kB / 498.6 MB, free: 4.016 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.02104, allocations: 7.938 kB / 498.6 MB, free: 4.008 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.02118, allocations: 36.52 kB / 498.7 MB, free: 3.973 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.0212, allocations: 12.53 kB / 498.7 MB, free: 3.961 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.722e-05/0.0213, allocations: 125.5 kB / 498.8 MB, free: 3.828 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.02134, allocations: 27.97 kB / 498.8 MB, free: 3.801 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.02149, allocations: 115.4 kB / 498.9 MB, free: 3.684 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.02149, allocations: 0 / 498.9 MB, free: 3.684 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.02149, allocations: 0 / 498.9 MB, free: 3.684 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001811/0.02167, allocations: 400.7 kB / 499.3 MB, free: 3.207 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.02189, allocations: 176.4 kB / 499.5 MB, free: 3.016 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.0219, allocations: 3.938 kB / 499.5 MB, free: 3.012 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.633e-05/0.02199, allocations: 28.95 kB / 499.5 MB, free: 2.984 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.02199, allocations: 4 kB / 499.5 MB, free: 2.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.02201, allocations: 9.234 kB / 499.5 MB, free: 2.973 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.02201, allocations: 4 kB / 499.5 MB, free: 2.969 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.02201, allocations: 0 / 499.5 MB, free: 2.969 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.02219, allocations: 147.9 kB / 499.7 MB, free: 2.809 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.02227, allocations: 43.67 kB / 499.7 MB, free: 2.766 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.0223, allocations: 9.109 kB / 499.7 MB, free: 2.758 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.02242, allocations: 16.83 kB / 499.8 MB, free: 2.742 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.02245, allocations: 8.984 kB / 499.8 MB, free: 2.734 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.02247, allocations: 11.98 kB / 499.8 MB, free: 2.723 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.02258, allocations: 111.4 kB / 499.9 MB, free: 2.613 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02258, allocations: 0.6562 kB / 499.9 MB, free: 2.613 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003037/0.02288, allocations: 114.1 kB / 500 MB, free: 2.504 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.0001809/0.02306, allocations: 129.6 kB / 0.4884 GB, free: 2.371 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.02325, allocations: 175.7 kB / 0.4886 GB, free: 2.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.02326, allocations: 4 kB / 0.4886 GB, free: 2.176 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.859e-05/0.02332, allocations: 45.27 kB / 0.4886 GB, free: 2.129 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.02383, allocations: 199.8 kB / 0.4888 GB, free: 1.953 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.02485, allocations: 0.6076 MB / 0.4894 GB, free: 1.344 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.023e-05/0.02491, allocations: 100.6 kB / 0.4895 GB, free: 1.227 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.02506, allocations: 45.19 kB / 0.4895 GB, free: 1.191 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.02537, allocations: 174.2 kB / 0.4897 GB, free: 1.02 MB / 458.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02537, allocations: 4 kB / 0.4897 GB, free: 1.016 MB / 458.7 MB Notification: Performance of Templates: time 0.01051/0.03588, allocations: 7.235 MB / 0.4968 GB, free: 10.25 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.8356515229679644]