Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.134/2.134, allocations: 254.9 MB / 269.9 MB, free: 9.645 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.001339, allocations: 191.9 kB / 329.5 MB, free: 1.176 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.233/2.233, allocations: 225.6 MB / 0.6001 GB, free: 480 kB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 102 kB / 0.7074 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004706, allocations: 11.59 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2119, allocations: 109.1 MB / 0.9308 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00165/0.2136, allocations: 1.146 MB / 0.9319 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.215, allocations: 0.73 MB / 0.9326 GB, free: 22.99 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.138e-05/0.2151, allocations: 0 / 0.9326 GB, free: 22.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.074e-05/0.2151, allocations: 3.984 kB / 0.9326 GB, free: 22.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.596e-05/0.2152, allocations: 7.938 kB / 0.9326 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006275/0.2158, allocations: 127.8 kB / 0.9327 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.067e-05/0.2159, allocations: 39.92 kB / 0.9328 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.143e-05/0.216, allocations: 3.984 kB / 0.9328 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.2161, allocations: 8 kB / 0.9328 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.241e-05/0.2161, allocations: 23.91 kB / 0.9328 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.2161, allocations: 3.938 kB / 0.9328 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003564/0.2165, allocations: 183.7 kB / 0.933 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.2166, allocations: 11.98 kB / 0.933 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.2166, allocations: 29.64 kB / 0.933 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.2168, allocations: 127.7 kB / 0.9332 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2168, allocations: 4 kB / 0.9332 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2168, allocations: 0 / 0.9332 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2169, allocations: 0 / 0.9332 GB, free: 22.42 MB / 0.5886 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.0004353/0.2173, allocations: 423.1 kB / 0.9336 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2174, allocations: 12.03 kB / 0.9336 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.2174, allocations: 4.844 kB / 0.9336 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.51e-05/0.2175, allocations: 180.3 kB / 0.9337 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.2175, allocations: 384 / 0.9337 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.2176, allocations: 4.375 kB / 0.9338 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.2178, allocations: 81.98 kB / 0.9338 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2178, allocations: 3.938 kB / 0.9338 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.2178, allocations: 3.984 kB / 0.9338 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2178, allocations: 0 / 0.9338 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.218, allocations: 51.97 kB / 0.9339 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.2184, allocations: 280.9 kB / 0.9342 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.2186, allocations: 58.55 kB / 0.9342 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.2188, allocations: 48.91 kB / 0.9343 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.2188, allocations: 0 / 0.9343 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.2188, allocations: 42.5 kB / 0.9343 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.2188, allocations: 0 / 0.9343 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0005119/0.2194, allocations: 191.2 kB / 0.9345 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.2194, allocations: 81.11 kB / 0.9346 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.2195, allocations: 125.8 kB / 0.9347 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.2196, allocations: 29.7 kB / 0.9347 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.2196, allocations: 92.11 kB / 0.9348 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.2196, allocations: 11.84 kB / 0.9348 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.2197, allocations: 0 / 0.9348 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.229e-05/0.2197, allocations: 318.8 kB / 0.9351 GB, free: 20.19 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.2199, allocations: 59.97 kB / 0.9352 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.22, allocations: 59.89 kB / 0.9352 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.2202, allocations: 123.3 kB / 0.9353 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2203, allocations: 4 kB / 0.9353 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003877/0.2206, allocations: 216.9 kB / 0.9356 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.2207, allocations: 67.39 kB / 0.9356 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2207, allocations: 0 / 0.9356 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2208, allocations: 0 / 0.9356 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.2208, allocations: 4 kB / 0.9356 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2209, allocations: 3.938 kB / 0.9356 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.2209, allocations: 15.98 kB / 0.9356 GB, free: 19.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.221, allocations: 0 / 0.9356 GB, free: 19.6 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.985e-05/0.2211, allocations: 147.5 kB / 0.9358 GB, free: 19.44 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.2211, allocations: 7.906 kB / 0.9358 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.2211, allocations: 11.89 kB / 0.9358 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2212, allocations: 0 / 0.9358 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2212, allocations: 0 / 0.9358 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.2212, allocations: 0 / 0.9358 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.2213, allocations: 177.6 kB / 0.936 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2214, allocations: 7.938 kB / 0.936 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.2214, allocations: 4 kB / 0.936 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2214, allocations: 0 / 0.936 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.2214, allocations: 0 / 0.936 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2215, allocations: 4.062 kB / 0.936 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2215, allocations: 4 kB / 0.936 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.2218, allocations: 253 kB / 0.9362 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.2219, allocations: 81.09 kB / 0.9363 GB, free: 18.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.2219, allocations: 8 kB / 0.9363 GB, free: 18.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.222, allocations: 4 kB / 0.9363 GB, free: 18.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.2221, allocations: 7.984 kB / 0.9363 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.2221, allocations: 0 / 0.9363 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.448e-05/0.2222, allocations: 103.2 kB / 0.9364 GB, free: 18.69 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.3e-07/0.2222, allocations: 0 / 0.9364 GB, free: 18.69 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000435/0.2226, allocations: 52 kB / 0.9365 GB, free: 18.64 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003182/0.223, allocations: 171.2 kB / 0.9366 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004041/0.2234, allocations: 234.7 kB / 0.9369 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2234, allocations: 0 / 0.9369 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.2236, allocations: 111.4 kB / 0.937 GB, free: 18.08 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.2239, allocations: 8 kB / 0.937 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.2243, allocations: 180.7 kB / 0.9371 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.2244, allocations: 0.6887 MB / 0.9378 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.279e-05/0.2245, allocations: 0 / 0.9378 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.2245, allocations: 11.44 kB / 0.9378 GB, free: 17.15 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/0.2245, allocations: 0 / 0.9378 GB, free: 17.15 MB / 0.5886 GB Notification: Performance of Templates: time 0.004984/0.2295, allocations: 1.633 MB / 0.9394 GB, free: 15.52 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)