Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009416/0.0009414, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001204, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.594/1.594, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005841/0.0005842, allocations: 13.69 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.238, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001802/0.2399, allocations: 1.149 MB / 0.7884 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.2412, allocations: 0.7826 MB / 0.7892 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.487e-05/0.2413, allocations: 0 / 0.7892 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.72e-05/0.2414, allocations: 3.984 kB / 0.7892 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.29e-05/0.2414, allocations: 7.938 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.242, allocations: 127.4 kB / 0.7893 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.207e-05/0.2421, allocations: 27.98 kB / 0.7893 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.334e-05/0.2422, allocations: 15.92 kB / 0.7894 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.379e-05/0.2423, allocations: 8 kB / 0.7894 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.2423, allocations: 19.92 kB / 0.7894 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.2423, allocations: 3.984 kB / 0.7894 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.2427, allocations: 179.7 kB / 0.7896 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.2427, allocations: 11.92 kB / 0.7896 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.2428, allocations: 33.64 kB / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.243, allocations: 136 kB / 0.7897 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.243, allocations: 0 / 0.7897 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.452e-06/0.243, allocations: 4 kB / 0.7897 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.243, allocations: 0 / 0.7897 GB, free: 9.414 MB / 0.6075 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.0004896/0.2435, allocations: 418.7 kB / 0.7901 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2435, allocations: 8.031 kB / 0.7901 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.2436, allocations: 7.906 kB / 0.7901 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2437, allocations: 175 kB / 0.7903 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.2437, allocations: 0 / 0.7903 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.2438, allocations: 4 kB / 0.7903 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.244, allocations: 77.67 kB / 0.7904 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.244, allocations: 0 / 0.7904 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.244, allocations: 0 / 0.7904 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.244, allocations: 0 / 0.7904 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.2441, allocations: 55.89 kB / 0.7904 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.2445, allocations: 284.8 kB / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.2447, allocations: 54.56 kB / 0.7908 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.245e-05/0.2448, allocations: 52.91 kB / 0.7908 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.2448, allocations: 0 / 0.7908 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.2448, allocations: 38.56 kB / 0.7909 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.916e-06/0.2448, allocations: 7.984 kB / 0.7909 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003595/0.2452, allocations: 187.2 kB / 0.791 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.2452, allocations: 81.11 kB / 0.7911 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.428e-05/0.2453, allocations: 133.7 kB / 0.7912 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.2454, allocations: 33.64 kB / 0.7913 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.2454, allocations: 88.05 kB / 0.7914 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.2454, allocations: 11.94 kB / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.2455, allocations: 4 kB / 0.7914 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2456, allocations: 314.8 kB / 0.7917 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.2457, allocations: 59.97 kB / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.848e-05/0.2458, allocations: 59.95 kB / 0.7918 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.2459, allocations: 115.4 kB / 0.7919 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2459, allocations: 0 / 0.7919 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002896/0.2462, allocations: 225 kB / 0.7921 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/0.2463, allocations: 63.39 kB / 0.7922 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2463, allocations: 0 / 0.7922 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2463, allocations: 4 kB / 0.7922 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.785e-05/0.2463, allocations: 4 kB / 0.7922 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2464, allocations: 0 / 0.7922 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.2464, allocations: 7.906 kB / 0.7922 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.2464, allocations: 15.94 kB / 0.7922 GB, free: 6.598 MB / 0.6075 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.0001051/0.2465, allocations: 143.5 kB / 0.7923 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.2466, allocations: 4 kB / 0.7923 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.2466, allocations: 7.891 kB / 0.7924 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.2466, allocations: 0 / 0.7924 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2466, allocations: 0 / 0.7924 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2466, allocations: 0 / 0.7924 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.2468, allocations: 177.6 kB / 0.7925 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2468, allocations: 0 / 0.7925 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.899e-05/0.2468, allocations: 8 kB / 0.7925 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2468, allocations: 0 / 0.7925 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2469, allocations: 0 / 0.7925 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.2469, allocations: 3.938 kB / 0.7925 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2469, allocations: 0 / 0.7925 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.2471, allocations: 257.1 kB / 0.7928 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.2472, allocations: 89.06 kB / 0.7929 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.2472, allocations: 4 kB / 0.7929 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.2473, allocations: 4 kB / 0.7929 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.2474, allocations: 11.98 kB / 0.7929 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.2474, allocations: 4.062 kB / 0.7929 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.686e-05/0.2475, allocations: 95.27 kB / 0.793 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2475, allocations: 0 / 0.793 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003124/0.2478, allocations: 59.91 kB / 0.793 GB, free: 5.633 MB / 0.6075 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.0002924/0.2481, allocations: 159.1 kB / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003131/0.2484, allocations: 242.7 kB / 0.7934 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2484, allocations: 0 / 0.7934 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.2486, allocations: 107.3 kB / 0.7935 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.2488, allocations: 11.94 kB / 0.7935 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.2491, allocations: 180.7 kB / 0.7937 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.2494, allocations: 0.6848 MB / 0.7944 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.477e-05/0.2494, allocations: 0 / 0.7944 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.418e-05/0.2494, allocations: 7.438 kB / 0.7944 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of SimCode: time 2.514e-06/0.2494, allocations: 0 / 0.7944 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of Templates: time 0.004028/0.2534, allocations: 1.642 MB / 0.796 GB, free: 2.535 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) Environment - environmentSimulation: