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.05424/0.05424, allocations: 9.133 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.0009234/0.0009234, allocations: 91.16 kB / 35.33 MB, free: 1.078 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.001515/0.001515, allocations: 167 kB / 38.73 MB, free: 2.516 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.9961/0.9961, allocations: 177.2 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.006485/0.006485, allocations: 0.8263 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.659/1.659, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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 1.353e-06/1.353e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.539e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002919/0.002945, allocations: 1.533 MB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.004425, allocations: 0.8297 MB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.004457, allocations: 0 / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 6.661e-05/0.004524, allocations: 7.938 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.15e-05/0.004575, allocations: 0 / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.005187, allocations: 155.5 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.00534, allocations: 47.92 kB / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.283e-05/0.005413, allocations: 7.984 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.079e-05/0.005474, allocations: 23.97 kB / 0.6405 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.483e-05/0.005528, allocations: 11.98 kB / 0.6405 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.005544, allocations: 4 kB / 0.6405 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004269/0.005971, allocations: 239.6 kB / 0.6407 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.006011, allocations: 11.94 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.00604, allocations: 11.98 kB / 0.6407 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.00636, allocations: 223.4 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.006364, allocations: 8 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.81e-07/0.006365, allocations: 0 / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.006369, allocations: 0 / 0.6409 GB, free: 10.94 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.000407/0.006776, allocations: 323.7 kB / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.00681, allocations: 11.98 kB / 0.6413 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.006846, allocations: 8.922 kB / 0.6413 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.006951, allocations: 129.5 kB / 0.6414 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.006964, allocations: 384 / 0.6414 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.006976, allocations: 4.375 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.00714, allocations: 100.6 kB / 0.6415 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.007148, allocations: 192 / 0.6415 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.007158, allocations: 8.375 kB / 0.6415 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.007171, allocations: 7.922 kB / 0.6415 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.849e-05/0.00723, allocations: 45.69 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.007498, allocations: 156.3 kB / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 9.113e-05/0.007589, allocations: 64.34 kB / 0.6418 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.007643, allocations: 54.53 kB / 0.6418 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.007654, allocations: 0 / 0.6418 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.007679, allocations: 34.56 kB / 0.6418 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.00768, allocations: 0 / 0.6418 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.000233/0.007913, allocations: 170.7 kB / 0.642 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.007954, allocations: 89.12 kB / 0.6421 GB, free: 9.586 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.008039, allocations: 126.6 kB / 0.6422 GB, free: 9.449 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.008054, allocations: 25.7 kB / 0.6422 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.008093, allocations: 84.14 kB / 0.6423 GB, free: 9.332 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.008118, allocations: 7.938 kB / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.008166, allocations: 21.7 kB / 0.6423 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.00826, allocations: 322.8 kB / 0.6427 GB, free: 8.973 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.008338, allocations: 86.16 kB / 0.6427 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.008399, allocations: 83.38 kB / 0.6428 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.008517, allocations: 132.8 kB / 0.6429 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.008519, allocations: 0 / 0.6429 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001737/0.008693, allocations: 196.5 kB / 0.6431 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/0.008746, allocations: 63.41 kB / 0.6432 GB, free: 8.332 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.008751, allocations: 64 / 0.6432 GB, free: 8.332 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.008771, allocations: 15.86 kB / 0.6432 GB, free: 8.316 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.008837, allocations: 4 kB / 0.6432 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.008842, allocations: 3.984 kB / 0.6432 GB, free: 8.309 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.588e-05/0.008878, allocations: 11.88 kB / 0.6432 GB, free: 8.297 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.008891, allocations: 4 kB / 0.6432 GB, free: 8.293 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 9.877e-05/0.008989, allocations: 146.4 kB / 0.6434 GB, free: 8.133 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.009026, allocations: 8 kB / 0.6434 GB, free: 8.125 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.009047, allocations: 4 kB / 0.6434 GB, free: 8.125 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.009051, allocations: 3.938 kB / 0.6434 GB, free: 8.121 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.009053, allocations: 0 / 0.6434 GB, free: 8.121 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.00906, allocations: 4 kB / 0.6434 GB, free: 8.117 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.009188, allocations: 73.83 kB / 0.6435 GB, free: 8.027 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.00919, allocations: 0 / 0.6435 GB, free: 8.027 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.009223, allocations: 7.984 kB / 0.6435 GB, free: 8.02 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.009226, allocations: 0 / 0.6435 GB, free: 8.02 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.009235, allocations: 4 kB / 0.6435 GB, free: 8.016 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.009237, allocations: 0 / 0.6435 GB, free: 8.016 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.009238, allocations: 4 kB / 0.6435 GB, free: 8.012 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.009445, allocations: 230.8 kB / 0.6437 GB, free: 7.758 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.009454, allocations: 4 kB / 0.6437 GB, free: 7.754 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.00947, allocations: 0 / 0.6437 GB, free: 7.754 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-05/0.009539, allocations: 8 kB / 0.6437 GB, free: 7.746 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.00959, allocations: 7.922 kB / 0.6437 GB, free: 7.738 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.009597, allocations: 4 kB / 0.6437 GB, free: 7.734 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.744e-05/0.009625, allocations: 16.84 kB / 0.6437 GB, free: 7.715 MB / 0.6043 GB Notification: Performance of sort global known variables: time 9e-08/0.009625, allocations: 0 / 0.6437 GB, free: 7.715 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0003213/0.009946, allocations: 63.86 kB / 0.6438 GB, free: 7.652 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.0002868/0.01023, allocations: 144.3 kB / 0.6439 GB, free: 7.5 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.01047, allocations: 257 kB / 0.6442 GB, free: 7.203 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.01048, allocations: 7.938 kB / 0.6442 GB, free: 7.195 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.01057, allocations: 116.7 kB / 0.6443 GB, free: 7.059 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.01072, allocations: 0 / 0.6443 GB, free: 7.059 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.01107, allocations: 185.2 kB / 0.6445 GB, free: 6.844 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.676e-05/0.01112, allocations: 59.34 kB / 0.6445 GB, free: 6.766 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.534e-05/0.01114, allocations: 4.062 kB / 0.6445 GB, free: 6.762 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.064e-05/0.01122, allocations: 67.36 kB / 0.6446 GB, free: 6.695 MB / 0.6043 GB Notification: Performance of SimCode: time 8.62e-07/0.01122, allocations: 0 / 0.6446 GB, free: 6.695 MB / 0.6043 GB Notification: Performance of Templates: time 0.004346/0.01557, allocations: 1.993 MB / 0.6465 GB, free: 4.699 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.348627353087068]