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.0009825/0.0009825, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001019/0.001019, allocations: 177.3 kB / 15.94 MB, free: 228 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.405/1.405, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.597/1.597, allocations: 292.5 MB / 0.5497 GB, free: 14.68 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.0004888/0.000489, allocations: 10.94 kB / 0.6736 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 116.3 MB / 0.7871 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001736/0.2247, allocations: 1.145 MB / 0.7882 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.2259, allocations: 0.771 MB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.2259, allocations: 0 / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.379e-05/0.226, allocations: 4 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.76e-05/0.226, allocations: 7.938 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.2266, allocations: 119.3 kB / 0.7891 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.672e-05/0.2267, allocations: 31.89 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.208e-05/0.2268, allocations: 4 kB / 0.7892 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.2268, allocations: 11.98 kB / 0.7892 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.2269, allocations: 15.92 kB / 0.7892 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.2269, allocations: 4 kB / 0.7892 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.2272, allocations: 171.7 kB / 0.7893 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.2272, allocations: 11.94 kB / 0.7894 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.2273, allocations: 29.7 kB / 0.7894 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.2275, allocations: 132 kB / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.2275, allocations: 0 / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2275, allocations: 0 / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.2275, allocations: 0 / 0.7895 GB, free: 9.539 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.0004867/0.228, allocations: 430.6 kB / 0.7899 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.228, allocations: 12.03 kB / 0.7899 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.2281, allocations: 3.906 kB / 0.7899 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2282, allocations: 175 kB / 0.7901 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.2282, allocations: 11.94 kB / 0.7901 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.2283, allocations: 0 / 0.7901 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.2285, allocations: 73.67 kB / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.2285, allocations: 0 / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2285, allocations: 0 / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2285, allocations: 0 / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.2286, allocations: 55.95 kB / 0.7902 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.229, allocations: 280.8 kB / 0.7905 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.2291, allocations: 66.48 kB / 0.7906 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.2292, allocations: 4 kB / 0.7906 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.2292, allocations: 30.56 kB / 0.7906 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2292, allocations: 3.938 kB / 0.7906 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000419/0.2296, allocations: 264.5 kB / 0.7909 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.2297, allocations: 81.05 kB / 0.7909 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.2298, allocations: 137.7 kB / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.2298, allocations: 29.73 kB / 0.7911 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.2299, allocations: 88.05 kB / 0.7912 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.2299, allocations: 11.89 kB / 0.7912 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.2299, allocations: 0 / 0.7912 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.642e-05/0.23, allocations: 318.8 kB / 0.7915 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.2e-05/0.2301, allocations: 55.97 kB / 0.7915 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.644e-05/0.2302, allocations: 63.95 kB / 0.7916 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.2303, allocations: 123.4 kB / 0.7917 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2303, allocations: 0 / 0.7917 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002683/0.2306, allocations: 217 kB / 0.7919 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.2307, allocations: 63.39 kB / 0.792 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2307, allocations: 0 / 0.792 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.2307, allocations: 0 / 0.792 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/0.2308, allocations: 4 kB / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.2308, allocations: 4 kB / 0.792 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.2308, allocations: 15.89 kB / 0.792 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.2309, allocations: 240 / 0.792 GB, free: 6.676 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.0001054/0.231, allocations: 155.4 kB / 0.7922 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.231, allocations: 4 kB / 0.7922 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.231, allocations: 11.89 kB / 0.7922 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.231, allocations: 4 kB / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.231, allocations: 0 / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.231, allocations: 4 kB / 0.7922 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.2312, allocations: 169.6 kB / 0.7924 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2312, allocations: 0 / 0.7924 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.2312, allocations: 4 kB / 0.7924 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2313, allocations: 0 / 0.7924 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.2313, allocations: 8 kB / 0.7924 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2313, allocations: 3.938 kB / 0.7924 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2313, allocations: 64 / 0.7924 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.2316, allocations: 261 kB / 0.7926 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.2316, allocations: 81.11 kB / 0.7927 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.2316, allocations: 0 / 0.7927 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.2317, allocations: 8 kB / 0.7927 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2318, allocations: 11.92 kB / 0.7927 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.2318, allocations: 4 kB / 0.7927 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.743e-05/0.2319, allocations: 95.3 kB / 0.7928 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2319, allocations: 0 / 0.7928 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003221/0.2322, allocations: 67.89 kB / 0.7929 GB, free: 5.688 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.0002935/0.2325, allocations: 147.2 kB / 0.793 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003108/0.2328, allocations: 246.7 kB / 0.7932 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.2329, allocations: 0 / 0.7932 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.233, allocations: 111.4 kB / 0.7934 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.2331, allocations: 3.953 kB / 0.7934 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.2335, allocations: 184.6 kB / 0.7935 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.2337, allocations: 0.6848 MB / 0.7942 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.577e-05/0.2337, allocations: 12 kB / 0.7942 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/0.2338, allocations: 7.438 kB / 0.7942 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2338, allocations: 0 / 0.7942 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of Templates: time 0.003952/0.2377, allocations: 1.615 MB / 0.7958 GB, free: 2.609 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: