Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.703/1.703, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.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.001034/0.001034, allocations: 179.5 kB / 393.1 MB, free: 4.051 MB / 314.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 1.371/1.371, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007913/0.0007913, allocations: 94.67 kB / 0.7935 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 16 kB / 0.9224 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5252/0.5255, allocations: 121.3 MB / 1.041 GB, free: 58.98 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001291/0.5269, allocations: 1.155 MB / 1.042 GB, free: 58.22 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.528, allocations: 1.236 MB / 1.043 GB, free: 57.15 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.252e-05/0.528, allocations: 0.5938 kB / 1.043 GB, free: 57.15 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.145e-05/0.5281, allocations: 0.6562 kB / 1.043 GB, free: 57.15 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.043e-05/0.5281, allocations: 7.547 kB / 1.043 GB, free: 57.15 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.5286, allocations: 128.4 kB / 1.043 GB, free: 57.1 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.456e-05/0.5287, allocations: 32.36 kB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.959e-05/0.5288, allocations: 18.28 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.385e-05/0.5288, allocations: 11.44 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.467e-05/0.5289, allocations: 21.86 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.5289, allocations: 1 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.5292, allocations: 179.3 kB / 1.044 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.587e-05/0.5292, allocations: 4.797 kB / 1.044 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.5293, allocations: 52.12 kB / 1.044 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.5295, allocations: 182 kB / 1.044 GB, free: 56.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5295, allocations: 4 kB / 1.044 GB, free: 56.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5295, allocations: 6 kB / 1.044 GB, free: 56.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.5295, allocations: 0 / 1.044 GB, free: 56.93 MB / 0.698 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.0003542/0.5299, allocations: 429.3 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.5299, allocations: 9.594 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.53, allocations: 7.078 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.135e-05/0.53, allocations: 169.6 kB / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.5301, allocations: 3.594 kB / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.5301, allocations: 7.25 kB / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.5302, allocations: 85.38 kB / 1.045 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.5303, allocations: 0.75 kB / 1.045 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.5303, allocations: 1.5 kB / 1.045 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.5303, allocations: 0.6562 kB / 1.045 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.5304, allocations: 50.31 kB / 1.045 GB, free: 56.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.5307, allocations: 281.2 kB / 1.045 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.5308, allocations: 64.56 kB / 1.045 GB, free: 55.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.178e-05/0.5309, allocations: 48.42 kB / 1.045 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.5309, allocations: 0.6875 kB / 1.045 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.531, allocations: 32.62 kB / 1.045 GB, free: 55.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.531, allocations: 0 / 1.045 GB, free: 55.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003445/0.5313, allocations: 194.4 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.5314, allocations: 82.62 kB / 1.045 GB, free: 55.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.042e-05/0.5314, allocations: 119.2 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.5315, allocations: 30.95 kB / 1.045 GB, free: 55.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.5315, allocations: 86.22 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.5315, allocations: 12.11 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.5315, allocations: 5.25 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.424e-05/0.5316, allocations: 321 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.659e-05/0.5317, allocations: 58.94 kB / 1.046 GB, free: 55.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.755e-05/0.5318, allocations: 61.69 kB / 1.046 GB, free: 55.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.532, allocations: 197.4 kB / 1.046 GB, free: 54.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.532, allocations: 0 / 1.046 GB, free: 54.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002367/0.5322, allocations: 224.4 kB / 1.046 GB, free: 54.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.5323, allocations: 64.77 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.5323, allocations: 0 / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5323, allocations: 64 / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-05/0.5324, allocations: 9.328 kB / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.5324, allocations: 6.094 kB / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.5324, allocations: 12 kB / 1.046 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.5324, allocations: 4.719 kB / 1.046 GB, free: 54.75 MB / 0.698 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 6.865e-05/0.5325, allocations: 158 kB / 1.047 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.5325, allocations: 7.844 kB / 1.047 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.582e-05/0.5326, allocations: 5.969 kB / 1.047 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.5326, allocations: 0.6875 kB / 1.047 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5326, allocations: 4.328 kB / 1.047 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.5326, allocations: 1.781 kB / 1.047 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.5327, allocations: 175.4 kB / 1.047 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5327, allocations: 1.453 kB / 1.047 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.801e-05/0.5327, allocations: 2.422 kB / 1.047 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5328, allocations: 5.953 kB / 1.047 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.5328, allocations: 3.875 kB / 1.047 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5328, allocations: 0 / 1.047 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5328, allocations: 0 / 1.047 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.533, allocations: 261.4 kB / 1.047 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.533, allocations: 77.11 kB / 1.047 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.5331, allocations: 7.656 kB / 1.047 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.5331, allocations: 4.25 kB / 1.047 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/0.5332, allocations: 10.05 kB / 1.047 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.5332, allocations: 0 / 1.047 GB, free: 54.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.5333, allocations: 104.6 kB / 1.047 GB, free: 54 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5333, allocations: 0 / 1.047 GB, free: 54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002732/0.5336, allocations: 53.47 kB / 1.047 GB, free: 54 MB / 0.698 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.0002198/0.5338, allocations: 164.5 kB / 1.047 GB, free: 53.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000278/0.5341, allocations: 242.3 kB / 1.048 GB, free: 53.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5341, allocations: 0 / 1.048 GB, free: 53.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.5342, allocations: 104.4 kB / 1.048 GB, free: 53.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.5344, allocations: 4.188 kB / 1.048 GB, free: 53.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.5347, allocations: 196.8 kB / 1.048 GB, free: 53.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.5348, allocations: 0.6859 MB / 1.049 GB, free: 52.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.632e-05/0.5348, allocations: 0 / 1.049 GB, free: 52.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.151e-05/0.5349, allocations: 8.875 kB / 1.049 GB, free: 52.81 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.5349, allocations: 0 / 1.049 GB, free: 52.81 MB / 0.698 GB Notification: Performance of Templates: time 0.003564/0.5384, allocations: 1.657 MB / 1.05 GB, free: 52.68 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)