Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.0463/0.0463, allocations: 9.129 MB / 28.99 MB, free: 0.8281 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.0009906/0.0009906, allocations: 87.28 kB / 35.33 MB, free: 1.09 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.001116/0.001116, allocations: 164.7 kB / 38.73 MB, free: 2.5 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.9839/0.9839, allocations: 177.1 MB / 219.2 MB, free: 10.11 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.003946/0.003946, allocations: 0.825 MB / 276.5 MB, free: 0.7461 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.635/1.635, allocations: 274.9 MB / 0.5419 GB, free: 0.6094 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.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.607e-05/3.835e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.008647/0.008686, allocations: 1.494 MB / 0.6393 GB, free: 12.59 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.01007, allocations: 0.8258 MB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.0101, allocations: 0 / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 7.24e-05/0.01017, allocations: 4 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.478e-05/0.01023, allocations: 0 / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006523/0.01088, allocations: 191.4 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.01098, allocations: 39.97 kB / 0.6404 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.602e-05/0.01105, allocations: 4 kB / 0.6404 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.191e-05/0.0111, allocations: 27.91 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.023e-05/0.01115, allocations: 19.97 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.01117, allocations: 4 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.01149, allocations: 211.7 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/0.01153, allocations: 11.94 kB / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.01156, allocations: 11.98 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.01185, allocations: 219.4 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.01185, allocations: 0 / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01185, allocations: 4 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.01185, allocations: 0 / 0.6408 GB, free: 11.03 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00038/0.01223, allocations: 327.7 kB / 0.6412 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.01227, allocations: 11.98 kB / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.01231, allocations: 12.86 kB / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.01254, allocations: 125.6 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.01256, allocations: 8.359 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.01257, allocations: 4.375 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.01272, allocations: 92.64 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.01272, allocations: 192 / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.01273, allocations: 4.375 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.01274, allocations: 3.938 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.023e-05/0.01278, allocations: 45.69 kB / 0.6415 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.013, allocations: 160.2 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.122e-05/0.01307, allocations: 60.31 kB / 0.6417 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.972e-05/0.01311, allocations: 54.62 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.01312, allocations: 4 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.01314, allocations: 34.56 kB / 0.6418 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/0.01315, allocations: 0 / 0.6418 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001976/0.01334, allocations: 178.6 kB / 0.6419 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.01338, allocations: 81.09 kB / 0.642 GB, free: 9.672 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/0.01346, allocations: 126.6 kB / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.01347, allocations: 25.7 kB / 0.6421 GB, free: 9.504 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.0135, allocations: 80.14 kB / 0.6422 GB, free: 9.422 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.01352, allocations: 15.94 kB / 0.6422 GB, free: 9.406 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.01356, allocations: 21.7 kB / 0.6423 GB, free: 9.379 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.003091/0.01665, allocations: 318.8 kB / 0.6426 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.307e-05/0.01672, allocations: 86.25 kB / 0.6426 GB, free: 8.961 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.268e-05/0.01677, allocations: 79.38 kB / 0.6427 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.01688, allocations: 140.8 kB / 0.6429 GB, free: 8.711 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.01688, allocations: 0 / 0.6429 GB, free: 8.711 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001524/0.01703, allocations: 196.4 kB / 0.643 GB, free: 8.488 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/0.01707, allocations: 59.41 kB / 0.6431 GB, free: 8.418 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.01708, allocations: 0 / 0.6431 GB, free: 8.418 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.01709, allocations: 7.922 kB / 0.6431 GB, free: 8.41 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.386e-05/0.01715, allocations: 8 kB / 0.6431 GB, free: 8.402 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-06/0.01715, allocations: 3.938 kB / 0.6431 GB, free: 8.398 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.65e-05/0.01718, allocations: 11.94 kB / 0.6431 GB, free: 8.387 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.01718, allocations: 0 / 0.6431 GB, free: 8.387 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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 7.968e-05/0.01726, allocations: 146.4 kB / 0.6433 GB, free: 8.227 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.01729, allocations: 4.062 kB / 0.6433 GB, free: 8.223 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.01731, allocations: 12 kB / 0.6433 GB, free: 8.211 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01731, allocations: 3.938 kB / 0.6433 GB, free: 8.207 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01732, allocations: 0 / 0.6433 GB, free: 8.207 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01732, allocations: 0 / 0.6433 GB, free: 8.207 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.01743, allocations: 77.83 kB / 0.6434 GB, free: 8.113 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.01743, allocations: 0 / 0.6434 GB, free: 8.113 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.655e-05/0.01745, allocations: 8 kB / 0.6434 GB, free: 8.105 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01745, allocations: 3.984 kB / 0.6434 GB, free: 8.102 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-06/0.01746, allocations: 0 / 0.6434 GB, free: 8.102 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.01746, allocations: 11.92 kB / 0.6434 GB, free: 8.09 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01746, allocations: 0 / 0.6434 GB, free: 8.09 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.01763, allocations: 231.1 kB / 0.6436 GB, free: 7.836 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-06/0.01763, allocations: 4 kB / 0.6436 GB, free: 7.832 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.01765, allocations: 0 / 0.6436 GB, free: 7.832 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.001e-05/0.0177, allocations: 4 kB / 0.6436 GB, free: 7.828 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.01774, allocations: 7.922 kB / 0.6436 GB, free: 7.82 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.01775, allocations: 8 kB / 0.6436 GB, free: 7.812 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.064e-05/0.01777, allocations: 20.88 kB / 0.6436 GB, free: 7.789 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.01777, allocations: 0 / 0.6436 GB, free: 7.789 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002821/0.01805, allocations: 59.86 kB / 0.6437 GB, free: 7.73 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0002312/0.01828, allocations: 140.3 kB / 0.6438 GB, free: 7.582 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.01849, allocations: 260.7 kB / 0.6441 GB, free: 7.281 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.01849, allocations: 4 kB / 0.6441 GB, free: 7.277 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/0.01856, allocations: 112.8 kB / 0.6442 GB, free: 7.145 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.0187, allocations: 7.938 kB / 0.6442 GB, free: 7.137 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.019, allocations: 189.1 kB / 0.6444 GB, free: 6.918 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.01904, allocations: 59.34 kB / 0.6444 GB, free: 6.84 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.856e-05/0.01905, allocations: 0 / 0.6444 GB, free: 6.84 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.01912, allocations: 63.36 kB / 0.6445 GB, free: 6.777 MB / 0.6043 GB Notification: Performance of SimCode: time 7.31e-07/0.01912, allocations: 0 / 0.6445 GB, free: 6.777 MB / 0.6043 GB Notification: Performance of Templates: time 0.00451/0.02363, allocations: 1.993 MB / 0.6465 GB, free: 4.781 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.580739158671349]