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.001266/0.001266, allocations: 104.6 kB / 16.27 MB, free: 6.004 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.001367/0.001367, allocations: 183.3 kB / 17.19 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.855/1.855, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001588/0.001588, allocations: 63.91 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2386, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003202/0.2418, allocations: 1.435 MB / 0.7854 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.2433, allocations: 0.8277 MB / 0.7862 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.304e-05/0.2434, allocations: 0 / 0.7862 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.237e-05/0.2435, allocations: 0 / 0.7862 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/0.2436, allocations: 7.938 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000777/0.2444, allocations: 163.9 kB / 0.7864 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.2445, allocations: 55.84 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2446, allocations: 11.92 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.075e-05/0.2447, allocations: 19.98 kB / 0.7865 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.836e-05/0.2447, allocations: 15.92 kB / 0.7865 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.2448, allocations: 4 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.2451, allocations: 199.7 kB / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.2452, allocations: 15.97 kB / 0.7867 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.2453, allocations: 19.88 kB / 0.7867 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.2456, allocations: 187.6 kB / 0.7869 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2456, allocations: 3.938 kB / 0.7869 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2456, allocations: 0 / 0.7869 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2456, allocations: 0 / 0.7869 GB, free: 0.8906 MB / 0.6544 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.0005754/0.2462, allocations: 434.7 kB / 0.7873 GB, free: 416 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2463, allocations: 8.031 kB / 0.7873 GB, free: 408 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.2463, allocations: 4.938 kB / 0.7873 GB, free: 404 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.2465, allocations: 172.2 kB / 0.7875 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.2465, allocations: 4.375 kB / 0.7875 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.2465, allocations: 4.125 kB / 0.7875 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.2467, allocations: 77.66 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2467, allocations: 3.938 kB / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2468, allocations: 0 / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.2468, allocations: 3.984 kB / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.2469, allocations: 47.97 kB / 0.7876 GB, free: 44 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.386/0.6329, allocations: 276.6 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.633, allocations: 60.41 kB / 0.788 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.665e-05/0.6331, allocations: 48.86 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.6331, allocations: 0 / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.6332, allocations: 31.59 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.6332, allocations: 2.625 kB / 0.788 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0003765/0.6336, allocations: 187.1 kB / 0.7882 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.6336, allocations: 84.36 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.6337, allocations: 124 kB / 0.7884 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.6337, allocations: 25.7 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.6338, allocations: 86.08 kB / 0.7885 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.6338, allocations: 15.58 kB / 0.7885 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.6338, allocations: 23.41 kB / 0.7886 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.6339, allocations: 318.1 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-05/0.634, allocations: 54.62 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.071e-05/0.6341, allocations: 60.22 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.6343, allocations: 192.8 kB / 0.7892 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6343, allocations: 0 / 0.7892 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002259/0.6345, allocations: 219.7 kB / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.6346, allocations: 67.69 kB / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6346, allocations: 2.5 kB / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.6346, allocations: 3.875 kB / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.6347, allocations: 2.656 kB / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.6347, allocations: 3.375 kB / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.361e-05/0.6347, allocations: 7.625 kB / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.6347, allocations: 4 kB / 0.7895 GB, free: 47.58 MB / 0.6544 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.834e-05/0.6348, allocations: 147.3 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.6349, allocations: 11.44 kB / 0.7896 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.6349, allocations: 7.844 kB / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6349, allocations: 1.938 kB / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6349, allocations: 2.969 kB / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6349, allocations: 3.094 kB / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.635, allocations: 166.5 kB / 0.7898 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.635, allocations: 0 / 0.7898 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.6351, allocations: 8.266 kB / 0.7898 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.6351, allocations: 6.562 kB / 0.7898 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.6351, allocations: 0.5938 kB / 0.7898 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6351, allocations: 0 / 0.7898 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6351, allocations: 3.812 kB / 0.7898 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.6353, allocations: 244.7 kB / 0.79 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.6354, allocations: 90.53 kB / 0.7901 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.6354, allocations: 3.125 kB / 0.7901 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.605e-05/0.6355, allocations: 8.5 kB / 0.7901 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.03e-05/0.6355, allocations: 7.781 kB / 0.7901 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.6356, allocations: 4.438 kB / 0.7901 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.065e-05/0.6356, allocations: 102.8 kB / 0.7902 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6356, allocations: 0 / 0.7902 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003277/0.6359, allocations: 61.94 kB / 0.7903 GB, free: 46.89 MB / 0.6544 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.0002516/0.6362, allocations: 148.8 kB / 0.7904 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.6365, allocations: 241.4 kB / 0.7907 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6365, allocations: 1.688 kB / 0.7907 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.6366, allocations: 104.4 kB / 0.7908 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.6369, allocations: 4.344 kB / 0.7908 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.6372, allocations: 196.1 kB / 0.791 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.6374, allocations: 0.689 MB / 0.7916 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.6374, allocations: 10.19 kB / 0.7917 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.6374, allocations: 4.016 kB / 0.7917 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.00304/0.6404, allocations: 1.493 MB / 0.7931 GB, free: 45.74 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (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)