Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009356/0.0009356, allocations: 184.9 kB / 16.08 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4411/0.4411, allocations: 89.07 MB / 105.9 MB, free: 12.47 MB / 90.72 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.237/1.237, allocations: 225.7 MB / 353.2 MB, free: 1.094 MB / 282.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.0007074/0.0007074, allocations: 89.8 kB / 425.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002773/0.0002774, allocations: 8 kB / 0.4955 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2686, allocations: 71.33 MB / 0.5652 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001279/0.2699, allocations: 1.128 MB / 0.5663 GB, free: 41.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00095/0.2709, allocations: 1.23 MB / 0.5675 GB, free: 39.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.092e-05/0.2709, allocations: 0 / 0.5675 GB, free: 39.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.33e-05/0.271, allocations: 3.938 kB / 0.5675 GB, free: 39.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.094e-05/0.271, allocations: 9.312 kB / 0.5675 GB, free: 39.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.2714, allocations: 133.1 kB / 0.5677 GB, free: 39.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.559e-05/0.2715, allocations: 27.98 kB / 0.5677 GB, free: 39.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.85e-05/0.2716, allocations: 13.33 kB / 0.5677 GB, free: 39.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.153e-05/0.2716, allocations: 11.94 kB / 0.5677 GB, free: 39.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.184e-05/0.2717, allocations: 19.91 kB / 0.5677 GB, free: 39.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.2717, allocations: 5.062 kB / 0.5677 GB, free: 39.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.2719, allocations: 175.7 kB / 0.5679 GB, free: 39.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.272, allocations: 14.78 kB / 0.5679 GB, free: 39.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.272, allocations: 45.62 kB / 0.568 GB, free: 39.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.2722, allocations: 183.6 kB / 0.5681 GB, free: 39.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2722, allocations: 0 / 0.5681 GB, free: 39.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2722, allocations: 3.984 kB / 0.5681 GB, free: 39.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2722, allocations: 0 / 0.5681 GB, free: 39.23 MB / 410.7 MB 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.0003067/0.2726, allocations: 429.4 kB / 0.5685 GB, free: 38.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.2726, allocations: 11.5 kB / 0.5686 GB, free: 38.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.2726, allocations: 4.938 kB / 0.5686 GB, free: 38.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.044e-05/0.2727, allocations: 168.3 kB / 0.5687 GB, free: 38.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.2727, allocations: 384 / 0.5687 GB, free: 38.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.2727, allocations: 4.375 kB / 0.5687 GB, free: 38.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.2729, allocations: 85.91 kB / 0.5688 GB, free: 38.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.2729, allocations: 0 / 0.5688 GB, free: 38.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.2729, allocations: 4 kB / 0.5688 GB, free: 38.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.2729, allocations: 4 kB / 0.5688 GB, free: 38.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.531e-05/0.273, allocations: 47.97 kB / 0.5689 GB, free: 38.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.2733, allocations: 284.8 kB / 0.5691 GB, free: 38.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.82e-05/0.2734, allocations: 66.48 kB / 0.5692 GB, free: 37.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.743e-05/0.2735, allocations: 48.91 kB / 0.5692 GB, free: 37.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.2735, allocations: 0 / 0.5692 GB, free: 37.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.2735, allocations: 34.56 kB / 0.5693 GB, free: 37.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.2735, allocations: 3.938 kB / 0.5693 GB, free: 37.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003012/0.2738, allocations: 195.2 kB / 0.5695 GB, free: 37.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.2739, allocations: 85.09 kB / 0.5695 GB, free: 37.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.619e-05/0.274, allocations: 117.8 kB / 0.5697 GB, free: 37.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/0.274, allocations: 25.7 kB / 0.5697 GB, free: 37.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.444e-05/0.274, allocations: 92.12 kB / 0.5698 GB, free: 37.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.045e-05/0.274, allocations: 3.906 kB / 0.5698 GB, free: 37.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.274, allocations: 3.938 kB / 0.5698 GB, free: 37.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.476e-05/0.2741, allocations: 318.8 kB / 0.5701 GB, free: 37.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.088e-05/0.2741, allocations: 63.98 kB / 0.5701 GB, free: 36.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.172e-05/0.2742, allocations: 59.97 kB / 0.5702 GB, free: 36.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.2744, allocations: 201.8 kB / 0.5704 GB, free: 36.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2744, allocations: 0 / 0.5704 GB, free: 36.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000202/0.2746, allocations: 224.9 kB / 0.5706 GB, free: 36.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.2746, allocations: 71.3 kB / 0.5707 GB, free: 36.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.2746, allocations: 0 / 0.5707 GB, free: 36.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2747, allocations: 0 / 0.5707 GB, free: 36.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.766e-05/0.2747, allocations: 4 kB / 0.5707 GB, free: 36.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2747, allocations: 3.938 kB / 0.5707 GB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.2748, allocations: 19.92 kB / 0.5707 GB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.2748, allocations: 0 / 0.5707 GB, free: 36.32 MB / 410.7 MB 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.299e-05/0.2749, allocations: 155.5 kB / 0.5708 GB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.2749, allocations: 7.906 kB / 0.5709 GB, free: 36.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.611e-05/0.2749, allocations: 3.906 kB / 0.5709 GB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2749, allocations: 4 kB / 0.5709 GB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2749, allocations: 0 / 0.5709 GB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.2749, allocations: 0 / 0.5709 GB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.275, allocations: 177.6 kB / 0.571 GB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.275, allocations: 0 / 0.571 GB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.2751, allocations: 4 kB / 0.571 GB, free: 35.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.2751, allocations: 0 / 0.571 GB, free: 35.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.2751, allocations: 8 kB / 0.571 GB, free: 35.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2751, allocations: 7.922 kB / 0.571 GB, free: 35.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2751, allocations: 0 / 0.571 GB, free: 35.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.2753, allocations: 253 kB / 0.5713 GB, free: 35.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.2753, allocations: 85.05 kB / 0.5714 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.2754, allocations: 0 / 0.5714 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-05/0.2754, allocations: 16.09 kB / 0.5714 GB, free: 35.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.442e-05/0.2755, allocations: 3.984 kB / 0.5714 GB, free: 35.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.2755, allocations: 8 kB / 0.5714 GB, free: 35.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.066e-05/0.2756, allocations: 91.27 kB / 0.5715 GB, free: 35.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2756, allocations: 0 / 0.5715 GB, free: 35.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.2758, allocations: 59.98 kB / 0.5715 GB, free: 35.34 MB / 410.7 MB 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.0001974/0.276, allocations: 151.2 kB / 0.5717 GB, free: 35.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.2763, allocations: 250.7 kB / 0.5719 GB, free: 34.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2763, allocations: 0 / 0.5719 GB, free: 34.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.032e-05/0.2764, allocations: 99.38 kB / 0.572 GB, free: 34.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.2766, allocations: 12.7 kB / 0.572 GB, free: 34.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.2769, allocations: 192.6 kB / 0.5722 GB, free: 34.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.374e-05/0.277, allocations: 0.6891 MB / 0.5729 GB, free: 33.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.363e-05/0.277, allocations: 3.938 kB / 0.5729 GB, free: 33.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.037e-05/0.277, allocations: 7.438 kB / 0.5729 GB, free: 33.85 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.277, allocations: 3.938 kB / 0.5729 GB, free: 33.85 MB / 410.7 MB Notification: Performance of Templates: time 0.00315/0.2802, allocations: 1.643 MB / 0.5745 GB, free: 32.21 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)