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.04142/0.04142, allocations: 9.126 MB / 28.99 MB, free: 0.8086 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.0009388/0.0009388, allocations: 87.28 kB / 35.32 MB, free: 1.074 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.001251/0.001251, allocations: 164.1 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 1.022/1.022, allocations: 177.2 MB / 219.2 MB, free: 10.08 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.004111/0.004111, allocations: 0.8183 MB / 276.5 MB, free: 0.7227 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.737/1.737, 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 2.014e-06/2.014e-06, allocations: 0 / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.502e-05/3.703e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Storage.Examples.ExpansionVessel): time 0.006814/0.006851, allocations: 7.256 MB / 0.6449 GB, free: 6.859 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.003347/0.0102, allocations: 2.524 MB / 0.6474 GB, free: 4.328 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003883/0.01059, allocations: 23.81 kB / 0.6474 GB, free: 4.305 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.011, allocations: 119.1 kB / 0.6475 GB, free: 4.188 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.01206, allocations: 0.5438 MB / 0.648 GB, free: 3.641 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.01272, allocations: 367.1 kB / 0.6484 GB, free: 3.281 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.001112/0.01383, allocations: 1.09 MB / 0.6495 GB, free: 2.18 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/0.01419, allocations: 281.7 kB / 0.6497 GB, free: 1.902 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009031/0.0151, allocations: 0.5531 MB / 0.6503 GB, free: 1.348 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.01545, allocations: 263.2 kB / 0.6505 GB, free: 1.09 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.01549, allocations: 32 kB / 0.6505 GB, free: 1.059 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.01578, allocations: 139.6 kB / 0.6507 GB, free: 0.9219 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 9.783e-05/0.01587, allocations: 95.61 kB / 0.6508 GB, free: 0.8281 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.01601, allocations: 143.7 kB / 0.6509 GB, free: 0.6875 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000574/0.01658, allocations: 414.5 kB / 0.6513 GB, free: 288 kB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.01658, allocations: 0 / 0.6513 GB, free: 288 kB / 0.6043 GB Notification: Performance of FrontEnd: time 1.392e-06/0.01659, allocations: 0 / 0.6513 GB, free: 288 kB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.361e-06/0.01659, allocations: 4 kB / 0.6513 GB, free: 284 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.0007836/0.01737, allocations: 0.633 MB / 0.6519 GB, free: 15.61 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.01741, allocations: 15.98 kB / 0.6519 GB, free: 15.6 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.01757, allocations: 60.81 kB / 0.652 GB, free: 15.54 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006138/0.01818, allocations: 304.3 kB / 0.6523 GB, free: 15.22 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.0182, allocations: 24.86 kB / 0.6523 GB, free: 15.2 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.01825, allocations: 32.33 kB / 0.6523 GB, free: 15.16 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.01856, allocations: 347.9 kB / 0.6527 GB, free: 14.77 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.01857, allocations: 0 / 0.6527 GB, free: 14.77 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.01859, allocations: 16 kB / 0.6527 GB, free: 14.75 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.01861, allocations: 8 kB / 0.6527 GB, free: 14.75 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.01872, allocations: 77.33 kB / 0.6528 GB, free: 14.67 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009581/0.01968, allocations: 0.9267 MB / 0.6537 GB, free: 13.7 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.01987, allocations: 82.47 kB / 0.6538 GB, free: 13.61 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.342e-05/0.01991, allocations: 16.86 kB / 0.6538 GB, free: 13.59 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 7.557e-05/0.01999, allocations: 15.98 kB / 0.6538 GB, free: 13.57 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.02015, allocations: 194.1 kB / 0.654 GB, free: 13.35 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.02015, allocations: 0 / 0.654 GB, free: 13.35 MB / 0.6199 GB Notification: Performance of matching and sorting (n=15): time 0.0001854/0.02034, allocations: 113.5 kB / 0.6541 GB, free: 13.23 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.02037, allocations: 51.41 kB / 0.6541 GB, free: 13.17 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.02055, allocations: 304.5 kB / 0.6544 GB, free: 12.86 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.02057, allocations: 29.7 kB / 0.6544 GB, free: 12.82 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.02082, allocations: 201 kB / 0.6546 GB, free: 12.61 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.02085, allocations: 55.56 kB / 0.6547 GB, free: 12.56 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.02091, allocations: 45.69 kB / 0.6547 GB, free: 12.51 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 9.733e-05/0.021, allocations: 354.6 kB / 0.6551 GB, free: 12.15 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.943e-05/0.02105, allocations: 53.69 kB / 0.6551 GB, free: 12.09 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.02113, allocations: 127.1 kB / 0.6552 GB, free: 11.93 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.02125, allocations: 176.9 kB / 0.6554 GB, free: 11.72 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.02126, allocations: 4 kB / 0.6554 GB, free: 11.71 MB / 0.6199 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001838/0.02144, allocations: 213 kB / 0.6556 GB, free: 11.49 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.02147, allocations: 33.77 kB / 0.6557 GB, free: 11.45 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.02148, allocations: 4 kB / 0.6557 GB, free: 11.45 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.02149, allocations: 4 kB / 0.6557 GB, free: 11.44 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.02163, allocations: 59.91 kB / 0.6557 GB, free: 11.38 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.02163, allocations: 4 kB / 0.6557 GB, free: 11.38 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.02174, allocations: 31.77 kB / 0.6558 GB, free: 11.35 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.02175, allocations: 8 kB / 0.6558 GB, free: 11.34 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 9.719e-05/0.02185, allocations: 132.5 kB / 0.6559 GB, free: 11.2 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.02188, allocations: 27.97 kB / 0.6559 GB, free: 11.17 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.02204, allocations: 116.4 kB / 0.656 GB, free: 11.05 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.02204, allocations: 4 kB / 0.656 GB, free: 11.05 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.02205, allocations: 0 / 0.656 GB, free: 11.05 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001812/0.02223, allocations: 400.5 kB / 0.6564 GB, free: 10.57 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.02246, allocations: 176.5 kB / 0.6566 GB, free: 10.38 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.02247, allocations: 0 / 0.6566 GB, free: 10.38 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.02255, allocations: 31.98 kB / 0.6566 GB, free: 10.35 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.02255, allocations: 0 / 0.6566 GB, free: 10.35 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.02256, allocations: 0 / 0.6566 GB, free: 10.35 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.02257, allocations: 11.92 kB / 0.6566 GB, free: 10.34 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.02257, allocations: 0 / 0.6566 GB, free: 10.34 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.02277, allocations: 155.8 kB / 0.6568 GB, free: 10.16 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.02283, allocations: 31.8 kB / 0.6568 GB, free: 10.13 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.02286, allocations: 4 kB / 0.6568 GB, free: 10.13 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.02296, allocations: 11.98 kB / 0.6568 GB, free: 10.12 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.02301, allocations: 19.97 kB / 0.6568 GB, free: 10.1 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.02302, allocations: 3.984 kB / 0.6568 GB, free: 10.09 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 9.114e-05/0.02311, allocations: 115.4 kB / 0.6569 GB, free: 9.98 MB / 0.6199 GB Notification: Performance of sort global known variables: time 5e-08/0.02311, allocations: 3.938 kB / 0.657 GB, free: 9.977 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0002512/0.02336, allocations: 115.8 kB / 0.6571 GB, free: 9.863 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.000204/0.02357, allocations: 140.2 kB / 0.6572 GB, free: 9.715 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001733/0.02374, allocations: 177.7 kB / 0.6574 GB, free: 9.52 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.02375, allocations: 8 kB / 0.6574 GB, free: 9.512 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 4.64e-05/0.02379, allocations: 36.78 kB / 0.6574 GB, free: 9.473 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.02423, allocations: 209.7 kB / 0.6576 GB, free: 9.273 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.02552, allocations: 0.5892 MB / 0.6582 GB, free: 8.656 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.845e-05/0.02558, allocations: 92.61 kB / 0.6583 GB, free: 8.547 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001658/0.02574, allocations: 59.2 kB / 0.6583 GB, free: 8.488 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.02601, allocations: 185.1 kB / 0.6585 GB, free: 8.305 MB / 0.6199 GB Notification: Performance of SimCode: time 1.493e-06/0.02601, allocations: 0 / 0.6585 GB, free: 8.305 MB / 0.6199 GB Notification: Performance of Templates: time 0.009401/0.03541, allocations: 7.219 MB / 0.6656 GB, free: 1.066 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 -lv LOG_STATS > AixLib_AixLib.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.822154159191996]