Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.571/2.571, allocations: 287.3 MB / 302.3 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.00149, allocations: 181 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.226/2.226, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 94.11 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004899, allocations: 12.91 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2136, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001631/0.2153, allocations: 1.141 MB / 0.9793 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.2168, allocations: 0.7709 MB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.479e-05/0.2168, allocations: 4 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.355e-05/0.2169, allocations: 0 / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.417e-05/0.217, allocations: 3.984 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000708/0.2177, allocations: 117.5 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.144e-05/0.2178, allocations: 27.97 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.949e-05/0.2179, allocations: 7.984 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.11e-05/0.2179, allocations: 19.92 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.447e-05/0.218, allocations: 15.92 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.218, allocations: 4 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003369/0.2184, allocations: 167.7 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.2184, allocations: 7.938 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.2184, allocations: 33.7 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.2187, allocations: 128 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2187, allocations: 4 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2187, allocations: 4 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2187, allocations: 0 / 0.9806 GB, free: 25.91 MB / 0.6198 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.0004551/0.2192, allocations: 418.7 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2192, allocations: 12.02 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.2193, allocations: 7.906 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.261e-05/0.2194, allocations: 171 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.2194, allocations: 4 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.2195, allocations: 4 kB / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.2197, allocations: 81.61 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2197, allocations: 0 / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2197, allocations: 0 / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2198, allocations: 0 / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.2199, allocations: 55.95 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.2204, allocations: 284.8 kB / 0.9816 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.2205, allocations: 58.55 kB / 0.9816 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.2206, allocations: 3.938 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.2206, allocations: 30.56 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/0.2206, allocations: 0 / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005712/0.2212, allocations: 276.5 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.2212, allocations: 85.05 kB / 0.982 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.2214, allocations: 129.7 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.2214, allocations: 25.7 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.2214, allocations: 99.97 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.2215, allocations: 3.906 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.2215, allocations: 4.031 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.2215, allocations: 318.8 kB / 0.9826 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.2217, allocations: 63.95 kB / 0.9826 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.2219, allocations: 63.91 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.222, allocations: 111.4 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2221, allocations: 0 / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003869/0.2225, allocations: 221 kB / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.24e-05/0.2225, allocations: 67.39 kB / 0.9831 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2225, allocations: 0 / 0.9831 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2226, allocations: 0 / 0.9831 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.2226, allocations: 4 kB / 0.9831 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2227, allocations: 0 / 0.9831 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.372e-05/0.2228, allocations: 19.84 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.2228, allocations: 4 kB / 0.9831 GB, free: 23.04 MB / 0.6198 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 0.0001014/0.2229, allocations: 147.5 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.2229, allocations: 4 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.223, allocations: 7.906 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.223, allocations: 0 / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.223, allocations: 0 / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.223, allocations: 3.938 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.2232, allocations: 173.6 kB / 0.9834 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2232, allocations: 0 / 0.9834 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.2233, allocations: 8 kB / 0.9834 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2233, allocations: 0 / 0.9834 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.2233, allocations: 4 kB / 0.9834 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2233, allocations: 0 / 0.9834 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2233, allocations: 0 / 0.9834 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.2237, allocations: 261 kB / 0.9837 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.2237, allocations: 81.11 kB / 0.9838 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.2238, allocations: 4.031 kB / 0.9838 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.2239, allocations: 8.062 kB / 0.9838 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.168e-05/0.224, allocations: 7.984 kB / 0.9838 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.224, allocations: 4 kB / 0.9838 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.973e-05/0.2241, allocations: 99.27 kB / 0.9839 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2241, allocations: 0 / 0.9839 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004255/0.2245, allocations: 63.89 kB / 0.9839 GB, free: 22.07 MB / 0.6198 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.0003308/0.2248, allocations: 159.1 kB / 0.9841 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004331/0.2253, allocations: 242.7 kB / 0.9843 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2253, allocations: 0 / 0.9843 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.2255, allocations: 103.4 kB / 0.9844 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.2257, allocations: 12.66 kB / 0.9844 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.2261, allocations: 180.7 kB / 0.9846 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.2263, allocations: 0.6887 MB / 0.9853 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.049e-05/0.2263, allocations: 0 / 0.9853 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.2263, allocations: 11.44 kB / 0.9853 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of SimCode: time 7.71e-07/0.2263, allocations: 7.875 kB / 0.9853 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.005201/0.2315, allocations: 1.618 MB / 0.9869 GB, free: 19 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)