Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.04025/0.04025, allocations: 9.13 MB / 28.99 MB, free: 332 kB / 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.0008505/0.0008505, allocations: 99.14 kB / 35.33 MB, free: 0.9258 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.000939/0.000939, allocations: 165.4 kB / 38.73 MB, free: 2.379 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.9679/0.9679, allocations: 177.1 MB / 219.2 MB, free: 10.1 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.005623/0.005623, allocations: 0.8296 MB / 276.5 MB, free: 0.7344 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.639/1.639, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.708e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004798/0.004825, allocations: 4.736 MB / 0.6425 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.005909, allocations: 0.8605 MB / 0.6434 GB, free: 8.453 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/0.005959, allocations: 0 / 0.6434 GB, free: 8.453 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.006104, allocations: 27.84 kB / 0.6434 GB, free: 8.426 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.516e-05/0.006149, allocations: 35.64 kB / 0.6434 GB, free: 8.391 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.006546, allocations: 171.3 kB / 0.6436 GB, free: 8.223 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.006693, allocations: 183.3 kB / 0.6438 GB, free: 8.043 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.075e-05/0.006764, allocations: 21.94 kB / 0.6438 GB, free: 8.02 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.006914, allocations: 115.7 kB / 0.6439 GB, free: 7.906 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.00699, allocations: 59.86 kB / 0.644 GB, free: 7.848 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.00701, allocations: 12 kB / 0.644 GB, free: 7.836 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.007233, allocations: 151.7 kB / 0.6441 GB, free: 7.688 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.007255, allocations: 27.91 kB / 0.6441 GB, free: 7.66 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.007292, allocations: 51.89 kB / 0.6442 GB, free: 7.609 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.007523, allocations: 219.2 kB / 0.6444 GB, free: 7.395 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.007525, allocations: 4 kB / 0.6444 GB, free: 7.391 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.92e-07/0.007525, allocations: 0 / 0.6444 GB, free: 7.391 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.007529, allocations: 0 / 0.6444 GB, free: 7.391 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004873/0.008016, allocations: 372.1 kB / 0.6448 GB, free: 7.004 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.008045, allocations: 11.98 kB / 0.6448 GB, free: 6.992 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.008077, allocations: 20.86 kB / 0.6448 GB, free: 6.973 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.78e-05/0.008154, allocations: 129.5 kB / 0.6449 GB, free: 6.82 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.008166, allocations: 12.38 kB / 0.6449 GB, free: 6.809 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.008178, allocations: 4.375 kB / 0.6449 GB, free: 6.805 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.00831, allocations: 101.6 kB / 0.645 GB, free: 6.695 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.008316, allocations: 192 / 0.645 GB, free: 6.695 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.008325, allocations: 12.12 kB / 0.645 GB, free: 6.684 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.00833, allocations: 4 kB / 0.645 GB, free: 6.68 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.778e-05/0.008398, allocations: 35.97 kB / 0.6451 GB, free: 6.645 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.008822, allocations: 285.7 kB / 0.6454 GB, free: 6.348 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.823e-05/0.008911, allocations: 70.53 kB / 0.6454 GB, free: 6.27 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.008938, allocations: 24.84 kB / 0.6454 GB, free: 6.242 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005227/0.009461, allocations: 430.6 kB / 0.6459 GB, free: 5.809 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.009479, allocations: 34.56 kB / 0.6459 GB, free: 5.766 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=12): time 8.32e-07/0.00948, allocations: 0 / 0.6459 GB, free: 5.766 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12): time 0.0001368/0.009617, allocations: 85.55 kB / 0.646 GB, free: 5.676 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.00964, allocations: 51.41 kB / 0.646 GB, free: 5.613 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.351e-05/0.009723, allocations: 167.2 kB / 0.6462 GB, free: 5.438 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.009734, allocations: 25.7 kB / 0.6462 GB, free: 5.406 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.009774, allocations: 116.5 kB / 0.6463 GB, free: 5.289 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.009791, allocations: 35.69 kB / 0.6463 GB, free: 5.254 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.009842, allocations: 57.61 kB / 0.6464 GB, free: 5.191 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.236e-05/0.009914, allocations: 326.8 kB / 0.6467 GB, free: 4.863 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-05/0.009944, allocations: 16 kB / 0.6467 GB, free: 4.848 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.918e-05/0.009993, allocations: 55.39 kB / 0.6468 GB, free: 4.781 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.806e-05/0.01007, allocations: 83.17 kB / 0.6469 GB, free: 4.688 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01007, allocations: 0 / 0.6469 GB, free: 4.688 MB / 0.6043 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001227/0.0102, allocations: 125.4 kB / 0.647 GB, free: 4.559 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.01021, allocations: 8 kB / 0.647 GB, free: 4.551 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01021, allocations: 3.984 kB / 0.647 GB, free: 4.547 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.01022, allocations: 0 / 0.647 GB, free: 4.547 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.01035, allocations: 55.91 kB / 0.647 GB, free: 4.492 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.01035, allocations: 7.984 kB / 0.6471 GB, free: 4.484 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.291e-05/0.0104, allocations: 23.83 kB / 0.6471 GB, free: 4.461 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.01042, allocations: 4 kB / 0.6471 GB, free: 4.457 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 5.763e-05/0.01048, allocations: 125.8 kB / 0.6472 GB, free: 4.324 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.0105, allocations: 11.98 kB / 0.6472 GB, free: 4.312 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.01061, allocations: 91.05 kB / 0.6473 GB, free: 4.219 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01061, allocations: 0 / 0.6473 GB, free: 4.219 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01061, allocations: 0 / 0.6473 GB, free: 4.219 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01061, allocations: 0 / 0.6473 GB, free: 4.219 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.01072, allocations: 113.7 kB / 0.6474 GB, free: 4.09 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.01072, allocations: 0 / 0.6474 GB, free: 4.09 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.873e-05/0.01078, allocations: 27.97 kB / 0.6474 GB, free: 4.062 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.01078, allocations: 0 / 0.6474 GB, free: 4.062 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.01078, allocations: 4 kB / 0.6474 GB, free: 4.059 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01078, allocations: 7.938 kB / 0.6474 GB, free: 4.051 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.01079, allocations: 0 / 0.6474 GB, free: 4.051 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.01089, allocations: 167.5 kB / 0.6476 GB, free: 3.871 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.01092, allocations: 19.89 kB / 0.6476 GB, free: 3.852 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.01093, allocations: 4 kB / 0.6476 GB, free: 3.848 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.89e-05/0.01098, allocations: 8 kB / 0.6476 GB, free: 3.84 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.01101, allocations: 15.91 kB / 0.6477 GB, free: 3.824 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.01101, allocations: 0 / 0.6477 GB, free: 3.824 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.668e-05/0.01104, allocations: 42.45 kB / 0.6477 GB, free: 3.781 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.01104, allocations: 0 / 0.6477 GB, free: 3.781 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001883/0.01123, allocations: 67.86 kB / 0.6478 GB, free: 3.715 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001562/0.01138, allocations: 132.1 kB / 0.6479 GB, free: 3.574 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.0115, allocations: 77.41 kB / 0.648 GB, free: 3.496 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.0115, allocations: 4 kB / 0.648 GB, free: 3.492 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.233e-05/0.01153, allocations: 36.91 kB / 0.648 GB, free: 3.453 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.01169, allocations: 31.86 kB / 0.648 GB, free: 3.422 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.01209, allocations: 245.3 kB / 0.6483 GB, free: 3.156 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.289e-05/0.01212, allocations: 63.84 kB / 0.6483 GB, free: 3.07 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 5.919e-05/0.01218, allocations: 21.12 kB / 0.6483 GB, free: 3.051 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.01226, allocations: 75.36 kB / 0.6484 GB, free: 2.977 MB / 0.6043 GB Notification: Performance of SimCode: time 6.31e-07/0.01226, allocations: 4 kB / 0.6484 GB, free: 2.973 MB / 0.6043 GB Notification: Performance of Templates: time 0.004186/0.01645, allocations: 2.986 MB / 0.6513 GB, free: 15.98 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.365608086809516]