Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.07499/0.07499, allocations: 9.129 MB / 28.99 MB, free: 0.8125 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008787/0.0008787, allocations: 103 kB / 35.33 MB, free: 1.066 MB / 24.77 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.001034/0.001034, allocations: 165.5 kB / 38.73 MB, free: 2.508 MB / 24.77 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 0.975/0.975, allocations: 177.2 MB / 219.2 MB, free: 10.09 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003925/0.003925, allocations: 0.8255 MB / 276.5 MB, free: 0.7188 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.669/1.669, allocations: 274.9 MB / 0.5419 GB, free: 0.625 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel") translateModel(AixLib.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.408e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Storage.Examples.ExpansionVessel): time 0.007803/0.007827, allocations: 7.295 MB / 0.645 GB, free: 6.781 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.004019/0.01185, allocations: 2.524 MB / 0.6475 GB, free: 4.25 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004667/0.01231, allocations: 23.81 kB / 0.6475 GB, free: 4.227 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0004379/0.01275, allocations: 123.1 kB / 0.6476 GB, free: 4.105 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.0139, allocations: 0.5321 MB / 0.6481 GB, free: 3.57 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007344/0.01464, allocations: 367 kB / 0.6485 GB, free: 3.211 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.001182/0.01582, allocations: 1.094 MB / 0.6495 GB, free: 2.105 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008116/0.01663, allocations: 297.5 kB / 0.6498 GB, free: 1.812 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000833/0.01746, allocations: 0.5413 MB / 0.6504 GB, free: 1.27 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.01785, allocations: 271.1 kB / 0.6506 GB, free: 1.004 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.0179, allocations: 32 kB / 0.6506 GB, free: 0.9727 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.01822, allocations: 135.7 kB / 0.6508 GB, free: 0.8398 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 8.157e-05/0.0183, allocations: 99.59 kB / 0.6509 GB, free: 0.7422 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.01842, allocations: 151.6 kB / 0.651 GB, free: 0.5938 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000535/0.01896, allocations: 406.5 kB / 0.6514 GB, free: 200 kB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.01896, allocations: 0 / 0.6514 GB, free: 200 kB / 0.6043 GB Notification: Performance of FrontEnd: time 1.143e-06/0.01896, allocations: 0 / 0.6514 GB, free: 200 kB / 0.6043 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.01897, allocations: 0 / 0.6514 GB, free: 200 kB / 0.6043 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.001013/0.01998, allocations: 0.6409 MB / 0.652 GB, free: 15.52 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.02002, allocations: 11.98 kB / 0.652 GB, free: 15.51 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.02026, allocations: 64.81 kB / 0.6521 GB, free: 15.45 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.02066, allocations: 300.4 kB / 0.6524 GB, free: 15.13 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.02068, allocations: 20.88 kB / 0.6524 GB, free: 15.11 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.02072, allocations: 44.23 kB / 0.6524 GB, free: 15.07 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.02107, allocations: 351.9 kB / 0.6528 GB, free: 14.67 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.02108, allocations: 0 / 0.6528 GB, free: 14.67 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.02111, allocations: 12 kB / 0.6528 GB, free: 14.66 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.02113, allocations: 7.938 kB / 0.6528 GB, free: 14.65 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.02126, allocations: 81.33 kB / 0.6529 GB, free: 14.57 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.02235, allocations: 0.9265 MB / 0.6538 GB, free: 13.6 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.02253, allocations: 74.48 kB / 0.6539 GB, free: 13.52 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.038e-05/0.02257, allocations: 28.84 kB / 0.6539 GB, free: 13.49 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 7.806e-05/0.02265, allocations: 15.98 kB / 0.6539 GB, free: 13.47 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.02284, allocations: 198.1 kB / 0.6541 GB, free: 13.24 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=15): time 2.485e-06/0.02284, allocations: 0 / 0.6541 GB, free: 13.24 MB / 0.6199 GB Notification: Performance of matching and sorting (n=15): time 0.0002117/0.02305, allocations: 109.5 kB / 0.6542 GB, free: 13.13 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.02309, allocations: 59.39 kB / 0.6542 GB, free: 13.06 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.02329, allocations: 296.5 kB / 0.6545 GB, free: 12.75 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.02331, allocations: 29.7 kB / 0.6546 GB, free: 12.72 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.02342, allocations: 201 kB / 0.6548 GB, free: 12.51 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.02346, allocations: 51.58 kB / 0.6548 GB, free: 12.46 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/0.02352, allocations: 49.69 kB / 0.6548 GB, free: 12.41 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0003195/0.02384, allocations: 354.7 kB / 0.6552 GB, free: 12.05 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.917e-05/0.0239, allocations: 45.69 kB / 0.6552 GB, free: 12 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.593e-05/0.02398, allocations: 139.1 kB / 0.6554 GB, free: 11.82 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.02413, allocations: 169.1 kB / 0.6555 GB, free: 11.62 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.02414, allocations: 0 / 0.6555 GB, free: 11.62 MB / 0.6199 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002071/0.02434, allocations: 208.8 kB / 0.6557 GB, free: 11.4 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.02439, allocations: 41.69 kB / 0.6558 GB, free: 11.35 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.02439, allocations: 4 kB / 0.6558 GB, free: 11.35 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.02441, allocations: 4.312 kB / 0.6558 GB, free: 11.34 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.0246, allocations: 59.91 kB / 0.6558 GB, free: 11.29 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.02461, allocations: 4 kB / 0.6558 GB, free: 11.28 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.02474, allocations: 35.77 kB / 0.6559 GB, free: 11.25 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.02476, allocations: 8 kB / 0.6559 GB, free: 11.24 MB / 0.6199 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.0001227/0.02488, allocations: 136.5 kB / 0.656 GB, free: 11.09 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.02492, allocations: 23.98 kB / 0.656 GB, free: 11.07 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.02508, allocations: 104.5 kB / 0.6561 GB, free: 10.96 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.02509, allocations: 15.86 kB / 0.6561 GB, free: 10.95 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.02509, allocations: 0 / 0.6561 GB, free: 10.95 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001724/0.02526, allocations: 407.7 kB / 0.6565 GB, free: 10.46 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.02551, allocations: 172.5 kB / 0.6567 GB, free: 10.27 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.02551, allocations: 4 kB / 0.6567 GB, free: 10.27 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.02562, allocations: 31.97 kB / 0.6567 GB, free: 10.24 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.02563, allocations: 4 kB / 0.6567 GB, free: 10.23 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.02564, allocations: 4 kB / 0.6567 GB, free: 10.23 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.02564, allocations: 0 / 0.6567 GB, free: 10.23 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.02564, allocations: 4 kB / 0.6567 GB, free: 10.23 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.02584, allocations: 160.5 kB / 0.6569 GB, free: 10.05 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.02591, allocations: 31.8 kB / 0.6569 GB, free: 10.02 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.02593, allocations: 8 kB / 0.6569 GB, free: 10.01 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.02604, allocations: 11.98 kB / 0.6569 GB, free: 10 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.02608, allocations: 15.97 kB / 0.657 GB, free: 9.984 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.02609, allocations: 0 / 0.657 GB, free: 9.984 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 9.652e-05/0.02619, allocations: 115.4 kB / 0.6571 GB, free: 9.871 MB / 0.6199 GB Notification: Performance of sort global known variables: time 6e-08/0.02619, allocations: 4 kB / 0.6571 GB, free: 9.867 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0002895/0.02648, allocations: 111.8 kB / 0.6572 GB, free: 9.758 MB / 0.6199 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.0002241/0.0267, allocations: 144.2 kB / 0.6573 GB, free: 9.605 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001966/0.0269, allocations: 174.2 kB / 0.6575 GB, free: 9.414 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.02691, allocations: 8.062 kB / 0.6575 GB, free: 9.406 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/0.02696, allocations: 44.84 kB / 0.6575 GB, free: 9.359 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.02741, allocations: 200.6 kB / 0.6577 GB, free: 9.168 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.02845, allocations: 0.597 MB / 0.6583 GB, free: 8.543 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.02869, allocations: 92.61 kB / 0.6584 GB, free: 8.434 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001875/0.02888, allocations: 59.19 kB / 0.6585 GB, free: 8.375 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.02915, allocations: 173.2 kB / 0.6586 GB, free: 8.203 MB / 0.6199 GB Notification: Performance of SimCode: time 1.573e-06/0.02915, allocations: 3.938 kB / 0.6586 GB, free: 8.199 MB / 0.6199 GB Notification: Performance of Templates: time 0.01009/0.03924, allocations: 7.223 MB / 0.6657 GB, free: 0.957 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel.sim & ./AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6896240040659904]