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.001567/0.001567, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 195.6 kB / 16.64 MB, free: 6.453 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.397/1.397, allocations: 205.1 MB / 222.5 MB, free: 4.582 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.741/1.741, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001445/0.001445, allocations: 67.03 kB / 0.6723 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.227, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002609/0.2296, allocations: 1.438 MB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.231, allocations: 0.8209 MB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.231, allocations: 0 / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.783e-05/0.2311, allocations: 0 / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.462e-05/0.2312, allocations: 15.86 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.232, allocations: 170.2 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.2321, allocations: 51.86 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2323, allocations: 11.92 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.528e-05/0.2323, allocations: 15.98 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.2324, allocations: 15.92 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.2324, allocations: 4 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003641/0.2328, allocations: 199.7 kB / 0.7868 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.2328, allocations: 19.92 kB / 0.7868 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.2329, allocations: 11.94 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.2332, allocations: 195.6 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2332, allocations: 0 / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.865e-06/0.2332, allocations: 0 / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.2332, allocations: 0 / 0.787 GB, free: 9.762 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.0006456/0.2339, allocations: 438.7 kB / 0.7874 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.2339, allocations: 8.031 kB / 0.7874 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.234, allocations: 4.938 kB / 0.7875 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.2342, allocations: 172.2 kB / 0.7876 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.2342, allocations: 4.375 kB / 0.7876 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.2342, allocations: 8.125 kB / 0.7876 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.2344, allocations: 73.66 kB / 0.7877 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2345, allocations: 0 / 0.7877 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2345, allocations: 0 / 0.7877 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.2345, allocations: 3.984 kB / 0.7877 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.2346, allocations: 43.97 kB / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.2351, allocations: 292.7 kB / 0.788 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.2353, allocations: 62.55 kB / 0.7881 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.085e-05/0.2354, allocations: 44.91 kB / 0.7881 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.2354, allocations: 0 / 0.7881 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.2354, allocations: 30.56 kB / 0.7882 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.2354, allocations: 4 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004191/0.2358, allocations: 187.2 kB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.2359, allocations: 85.03 kB / 0.7884 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.236, allocations: 126.2 kB / 0.7885 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.236, allocations: 25.7 kB / 0.7886 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.2361, allocations: 92.12 kB / 0.7887 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.2361, allocations: 3.906 kB / 0.7887 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.2362, allocations: 21.72 kB / 0.7887 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2363, allocations: 322.8 kB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.783e-05/0.2364, allocations: 55.97 kB / 0.789 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.85e-05/0.2365, allocations: 59.97 kB / 0.7891 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.2367, allocations: 189.9 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2368, allocations: 7.938 kB / 0.7893 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002754/0.237, allocations: 220.9 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.259e-05/0.2371, allocations: 63.41 kB / 0.7896 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.2371, allocations: 0 / 0.7896 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2371, allocations: 4 kB / 0.7896 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.2372, allocations: 8.047 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2372, allocations: 4 kB / 0.7896 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.2373, allocations: 4 kB / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.2373, allocations: 4 kB / 0.7896 GB, free: 6.852 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.2374, allocations: 148.1 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.2374, allocations: 7.906 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.2375, allocations: 7.906 kB / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2375, allocations: 4 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.2375, allocations: 0 / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2375, allocations: 0 / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.2377, allocations: 173.6 kB / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2377, allocations: 0 / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.2377, allocations: 7.984 kB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2377, allocations: 0 / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.2377, allocations: 4 kB / 0.7899 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2377, allocations: 0 / 0.7899 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2377, allocations: 0 / 0.7899 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.238, allocations: 260.9 kB / 0.7902 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.2381, allocations: 85.05 kB / 0.7902 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.2381, allocations: 0 / 0.7902 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.228e-05/0.2382, allocations: 7.984 kB / 0.7903 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.2383, allocations: 8 kB / 0.7903 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.2383, allocations: 0 / 0.7903 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.702e-05/0.2384, allocations: 103.3 kB / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2384, allocations: 32 / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003475/0.2388, allocations: 60 kB / 0.7904 GB, free: 5.879 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 (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.0003228/0.2391, allocations: 155.1 kB / 0.7906 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.2395, allocations: 238.7 kB / 0.7908 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2395, allocations: 0 / 0.7908 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.2396, allocations: 103.4 kB / 0.7909 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.2399, allocations: 6.766 kB / 0.7909 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.2403, allocations: 185.4 kB / 0.7911 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.2405, allocations: 0.6846 MB / 0.7917 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.662e-05/0.2406, allocations: 0 / 0.7917 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.2406, allocations: 7.438 kB / 0.7917 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2406, allocations: 0 / 0.7917 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of Templates: time 0.004266/0.2449, allocations: 1.762 MB / 0.7935 GB, free: 2.668 MB / 0.6075 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)