Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009962/0.0009962, allocations: 177.5 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007237/0.0007236, allocations: 95.02 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003455, allocations: 12 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2115, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001487/0.2131, allocations: 1.161 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.2142, allocations: 0.868 MB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.2143, allocations: 0 / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.007e-05/0.2144, allocations: 0 / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.643e-05/0.2144, allocations: 7.922 kB / 0.8987 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.2149, allocations: 137.6 kB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.247e-05/0.215, allocations: 35.97 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.768e-05/0.2151, allocations: 8 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.183e-05/0.2151, allocations: 11.98 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.551e-05/0.2152, allocations: 23.86 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.2152, allocations: 3.984 kB / 0.899 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.2154, allocations: 191.7 kB / 0.8991 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.571e-05/0.2155, allocations: 7.938 kB / 0.8991 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.2155, allocations: 19.92 kB / 0.8992 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.2157, allocations: 127.8 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2157, allocations: 0 / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2157, allocations: 3.938 kB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2157, allocations: 3.938 kB / 0.8993 GB, free: 65.54 MB / 0.6042 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.0004179/0.2161, allocations: 429.2 kB / 0.8997 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2162, allocations: 8.031 kB / 0.8997 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.2162, allocations: 8.922 kB / 0.8997 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.045e-05/0.2163, allocations: 172.3 kB / 0.8999 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.2163, allocations: 384 / 0.8999 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.2164, allocations: 4.375 kB / 0.8999 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.2165, allocations: 77.97 kB / 0.9 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2165, allocations: 0 / 0.9 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2166, allocations: 4 kB / 0.9 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2166, allocations: 0 / 0.9 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.2167, allocations: 59.91 kB / 0.9 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.217, allocations: 284.8 kB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.2171, allocations: 58.55 kB / 0.9003 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.181e-05/0.2172, allocations: 44.92 kB / 0.9004 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.2172, allocations: 4 kB / 0.9004 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.2172, allocations: 34.55 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.966e-06/0.2173, allocations: 3.984 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003224/0.2176, allocations: 191.2 kB / 0.9006 GB, free: 64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.2176, allocations: 85.11 kB / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.569e-05/0.2177, allocations: 129.8 kB / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.2177, allocations: 25.7 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.2178, allocations: 88.14 kB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.2178, allocations: 11.8 kB / 0.9009 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.2178, allocations: 17.66 kB / 0.901 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.2179, allocations: 318.8 kB / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-05/0.2179, allocations: 59.95 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.556e-05/0.218, allocations: 63.97 kB / 0.9014 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.2182, allocations: 201.8 kB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2182, allocations: 0 / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002145/0.2184, allocations: 217 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.2185, allocations: 67.39 kB / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2185, allocations: 0 / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2185, allocations: 4 kB / 0.9018 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.562e-05/0.2186, allocations: 4 kB / 0.9018 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2186, allocations: 0 / 0.9018 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.2186, allocations: 11.98 kB / 0.9019 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.2187, allocations: 0 / 0.9019 GB, free: 62.62 MB / 0.6042 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.246e-05/0.2187, allocations: 155.4 kB / 0.902 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.2188, allocations: 7.906 kB / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.824e-05/0.2188, allocations: 3.906 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2188, allocations: 4 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2188, allocations: 7.938 kB / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2188, allocations: 0 / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.2189, allocations: 177.6 kB / 0.9022 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2189, allocations: 3.938 kB / 0.9022 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/0.219, allocations: 4 kB / 0.9022 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.219, allocations: 0 / 0.9022 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.219, allocations: 4 kB / 0.9022 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.219, allocations: 3.984 kB / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.219, allocations: 0 / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.2192, allocations: 257 kB / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.2192, allocations: 81.11 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.2193, allocations: 4.062 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.579e-05/0.2193, allocations: 4 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.2194, allocations: 8.016 kB / 0.9026 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.2195, allocations: 8 kB / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.707e-05/0.2195, allocations: 99.2 kB / 0.9027 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2195, allocations: 0 / 0.9027 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002662/0.2198, allocations: 59.98 kB / 0.9027 GB, free: 61.63 MB / 0.6042 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.0002212/0.22, allocations: 155.2 kB / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.2203, allocations: 246.7 kB / 0.9031 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2203, allocations: 0 / 0.9031 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.253e-05/0.2204, allocations: 103.4 kB / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.2206, allocations: 11.94 kB / 0.9032 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.2209, allocations: 204.9 kB / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.2211, allocations: 0.6888 MB / 0.9041 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.337e-05/0.2211, allocations: 7.438 kB / 0.9041 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2211, allocations: 0 / 0.9041 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of Templates: time 0.002592/0.2237, allocations: 1.494 MB / 0.9055 GB, free: 58.64 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)