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.37/1.37, allocations: 252 MB / 268 MB, free: 10.88 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.001023/0.001023, allocations: 172.4 kB / 327.6 MB, free: 2.102 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.662/1.662, allocations: 205.4 MB / 0.5786 GB, free: 20.4 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.000869/0.0008692, allocations: 93.31 kB / 0.6832 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003928, allocations: 8.312 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2152, allocations: 106.3 MB / 0.9015 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001599/0.2169, allocations: 1.161 MB / 0.9026 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2182, allocations: 0.8549 MB / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.2182, allocations: 0 / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.513e-05/0.2183, allocations: 0 / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.833e-05/0.2184, allocations: 4 kB / 0.9034 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.219, allocations: 127.8 kB / 0.9036 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.151e-05/0.2191, allocations: 35.91 kB / 0.9036 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.75e-05/0.2192, allocations: 11.98 kB / 0.9036 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.105e-05/0.2193, allocations: 15.92 kB / 0.9036 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.417e-05/0.2193, allocations: 11.98 kB / 0.9036 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.2194, allocations: 4 kB / 0.9036 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003363/0.2197, allocations: 187.7 kB / 0.9038 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.2198, allocations: 11.94 kB / 0.9038 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.2198, allocations: 53.55 kB / 0.9039 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.2201, allocations: 123.8 kB / 0.904 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2201, allocations: 4 kB / 0.904 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2201, allocations: 0 / 0.904 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2201, allocations: 0 / 0.904 GB, free: 61.18 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.0004674/0.2206, allocations: 420.9 kB / 0.9044 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2206, allocations: 12.03 kB / 0.9044 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.2207, allocations: 0.9375 kB / 0.9044 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.2208, allocations: 192 kB / 0.9046 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.2208, allocations: 384 / 0.9046 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.2208, allocations: 4.375 kB / 0.9046 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.221, allocations: 89.95 kB / 0.9047 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2211, allocations: 0 / 0.9047 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.2211, allocations: 0 / 0.9047 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.2211, allocations: 0 / 0.9047 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.2212, allocations: 51.97 kB / 0.9047 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.2216, allocations: 284.9 kB / 0.905 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.2217, allocations: 58.5 kB / 0.9051 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.237e-05/0.2218, allocations: 48.91 kB / 0.9051 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.2218, allocations: 4 kB / 0.9051 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.2219, allocations: 34.56 kB / 0.9051 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.2219, allocations: 0 / 0.9051 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003725/0.2223, allocations: 195.2 kB / 0.9053 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.2223, allocations: 81.05 kB / 0.9054 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.866e-05/0.2224, allocations: 129.8 kB / 0.9055 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.2224, allocations: 29.7 kB / 0.9056 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.2225, allocations: 84.14 kB / 0.9056 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.2225, allocations: 11.81 kB / 0.9056 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-06/0.2225, allocations: 0 / 0.9056 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.2226, allocations: 318.8 kB / 0.906 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.06e-05/0.2226, allocations: 59.97 kB / 0.906 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.2227, allocations: 67.95 kB / 0.9061 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.223, allocations: 193.8 kB / 0.9063 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.223, allocations: 0 / 0.9063 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002337/0.2232, allocations: 221 kB / 0.9065 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.2233, allocations: 67.39 kB / 0.9065 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2233, allocations: 4 kB / 0.9065 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2233, allocations: 4 kB / 0.9065 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.2234, allocations: 4 kB / 0.9065 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2234, allocations: 0 / 0.9065 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.035e-05/0.2235, allocations: 15.92 kB / 0.9066 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.2235, allocations: 0 / 0.9066 GB, free: 58.27 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 8.409e-05/0.2236, allocations: 147.5 kB / 0.9067 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.2236, allocations: 7.906 kB / 0.9067 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.2236, allocations: 11.89 kB / 0.9067 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2236, allocations: 0 / 0.9067 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2236, allocations: 0 / 0.9067 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2237, allocations: 0 / 0.9067 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.2238, allocations: 177.6 kB / 0.9069 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2238, allocations: 0 / 0.9069 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.2238, allocations: 7.938 kB / 0.9069 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2238, allocations: 0 / 0.9069 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.2239, allocations: 0 / 0.9069 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2239, allocations: 0 / 0.9069 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2239, allocations: 4 kB / 0.9069 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.2241, allocations: 261 kB / 0.9072 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.2241, allocations: 85.03 kB / 0.9072 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.2242, allocations: 8.062 kB / 0.9072 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.749e-05/0.2242, allocations: 4 kB / 0.9072 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.2244, allocations: 12.22 kB / 0.9073 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.2244, allocations: 4.031 kB / 0.9073 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.2244, allocations: 95.27 kB / 0.9074 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2244, allocations: 0 / 0.9074 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003013/0.2247, allocations: 56 kB / 0.9074 GB, free: 57.29 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.0002751/0.225, allocations: 155.2 kB / 0.9076 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002704/0.2253, allocations: 246.7 kB / 0.9078 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2253, allocations: 0 / 0.9078 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.2254, allocations: 115.3 kB / 0.9079 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.2257, allocations: 7.094 kB / 0.9079 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.226, allocations: 210.3 kB / 0.9081 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.2262, allocations: 0.6927 MB / 0.9088 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.2262, allocations: 7.438 kB / 0.9088 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.2262, allocations: 0 / 0.9088 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of Templates: time 0.003037/0.2293, allocations: 1.481 MB / 0.9102 GB, free: 54.3 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)