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.001069/0.001069, allocations: 103.3 kB / 16.35 MB, free: 6.352 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.001023/0.001023, allocations: 194.2 kB / 17.29 MB, free: 5.93 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.322/1.322, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.795/1.795, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001481/0.001481, allocations: 71.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2011, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002901/0.204, allocations: 1.434 MB / 0.7862 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.2055, allocations: 0.8199 MB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.2056, allocations: 0 / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.817e-05/0.2057, allocations: 4 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.668e-05/0.2058, allocations: 3.938 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.2065, allocations: 170.6 kB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.2066, allocations: 59.84 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.2067, allocations: 7.922 kB / 0.7872 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/0.2068, allocations: 12 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.294e-05/0.2068, allocations: 23.91 kB / 0.7873 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.2069, allocations: 7.938 kB / 0.7873 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003411/0.2072, allocations: 199.7 kB / 0.7875 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.2073, allocations: 15.98 kB / 0.7875 GB, free: 392 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.2073, allocations: 15.88 kB / 0.7875 GB, free: 376 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.2076, allocations: 191.6 kB / 0.7877 GB, free: 184 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2076, allocations: 0 / 0.7877 GB, free: 184 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2076, allocations: 0 / 0.7877 GB, free: 184 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2076, allocations: 0 / 0.7877 GB, free: 184 kB / 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.3323/0.54, allocations: 433 kB / 0.7881 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.54, allocations: 9.156 kB / 0.7881 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.5401, allocations: 5.906 kB / 0.7881 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.82e-05/0.5402, allocations: 171.1 kB / 0.7883 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.5402, allocations: 2.062 kB / 0.7883 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.5402, allocations: 7.219 kB / 0.7883 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.5404, allocations: 75.25 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.5404, allocations: 0 / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.5404, allocations: 10.19 kB / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.5404, allocations: 0 / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.849e-05/0.5405, allocations: 42 kB / 0.7884 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.5409, allocations: 278.3 kB / 0.7887 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.541, allocations: 67.41 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/0.5411, allocations: 43.92 kB / 0.7888 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.5411, allocations: 2.969 kB / 0.7888 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.5411, allocations: 40.66 kB / 0.7888 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.5411, allocations: 0 / 0.7888 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0003561/0.5415, allocations: 182.6 kB / 0.789 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.5415, allocations: 84.58 kB / 0.7891 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.173e-05/0.5416, allocations: 120.5 kB / 0.7892 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.5416, allocations: 32.91 kB / 0.7892 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.5416, allocations: 88.83 kB / 0.7893 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.5417, allocations: 8.75 kB / 0.7893 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.5417, allocations: 19.09 kB / 0.7893 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.5418, allocations: 320.5 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.31e-05/0.5419, allocations: 57.25 kB / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.858e-05/0.5419, allocations: 55.8 kB / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.5421, allocations: 200.5 kB / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5421, allocations: 2.375 kB / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002284/0.5424, allocations: 219.4 kB / 0.7901 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.5424, allocations: 66.17 kB / 0.7902 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5424, allocations: 0 / 0.7902 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.5425, allocations: 1.031 kB / 0.7902 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.079e-05/0.5425, allocations: 7.531 kB / 0.7902 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5425, allocations: 3.469 kB / 0.7902 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.5426, allocations: 8.625 kB / 0.7902 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.5426, allocations: 0 / 0.7902 GB, free: 47.31 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.572e-05/0.5427, allocations: 154.5 kB / 0.7904 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.5427, allocations: 6.531 kB / 0.7904 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.5427, allocations: 7.703 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.5428, allocations: 0 / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.5428, allocations: 0 / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5428, allocations: 4.875 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.5429, allocations: 174.4 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5429, allocations: 0.5 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.5429, allocations: 3.25 kB / 0.7906 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5429, allocations: 2.625 kB / 0.7906 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.543, allocations: 1.906 kB / 0.7906 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.543, allocations: 3.234 kB / 0.7906 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.543, allocations: 2.625 kB / 0.7906 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.5432, allocations: 253.9 kB / 0.7908 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.5432, allocations: 81.05 kB / 0.7909 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.5432, allocations: 7.188 kB / 0.7909 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.5433, allocations: 6.156 kB / 0.7909 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.5434, allocations: 7.531 kB / 0.7909 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.5434, allocations: 5.5 kB / 0.7909 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.98e-05/0.5435, allocations: 98.31 kB / 0.791 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5435, allocations: 1.219 kB / 0.791 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003426/0.5438, allocations: 57.48 kB / 0.7911 GB, free: 46.62 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.0002345/0.5441, allocations: 154 kB / 0.7912 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.5444, allocations: 239.4 kB / 0.7914 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5444, allocations: 2.125 kB / 0.7914 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.883e-05/0.5445, allocations: 105.9 kB / 0.7915 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.5447, allocations: 7.062 kB / 0.7915 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.545, allocations: 172.6 kB / 0.7917 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.833e-05/0.5451, allocations: 0.6827 MB / 0.7924 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.643e-05/0.5451, allocations: 7.125 kB / 0.7924 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.5452, allocations: 10.06 kB / 0.7924 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.5452, allocations: 0 / 0.7924 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.003839/0.549, allocations: 1.754 MB / 0.7941 GB, free: 45.49 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)