Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0008358/0.0008361, allocations: 92.31 kB / 16.02 MB, free: 80 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.0009568/0.000957, allocations: 179.2 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.039/1.039, allocations: 143.2 MB / 435.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003547, allocations: 8 kB / 0.5171 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.178, allocations: 83.42 MB / 0.5985 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001902/0.1799, allocations: 1.147 MB / 0.5996 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1814, allocations: 0.796 MB / 0.6004 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.1815, allocations: 0 / 0.6004 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.39e-05/0.1816, allocations: 3.938 kB / 0.6004 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.68e-05/0.1816, allocations: 3.984 kB / 0.6004 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006253/0.1823, allocations: 124.7 kB / 0.6005 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.013e-05/0.1824, allocations: 39.84 kB / 0.6006 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1825, allocations: 12 kB / 0.6006 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.1825, allocations: 7.984 kB / 0.6006 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/0.1826, allocations: 23.91 kB / 0.6006 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1826, allocations: 0 / 0.6006 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.1829, allocations: 187.7 kB / 0.6008 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.183, allocations: 15.92 kB / 0.6008 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.1831, allocations: 37.64 kB / 0.6009 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.1833, allocations: 135.8 kB / 0.601 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1833, allocations: 0 / 0.601 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.644e-06/0.1833, allocations: 0 / 0.601 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.1833, allocations: 0 / 0.601 GB, free: 5.113 MB / 0.4981 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.0005525/0.1839, allocations: 427.1 kB / 0.6014 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.1839, allocations: 8.031 kB / 0.6014 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.184, allocations: 8.844 kB / 0.6014 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.1841, allocations: 176.2 kB / 0.6016 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.1841, allocations: 4.375 kB / 0.6016 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.1842, allocations: 4.375 kB / 0.6016 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.1844, allocations: 77.92 kB / 0.6017 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1844, allocations: 4 kB / 0.6017 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1844, allocations: 4 kB / 0.6017 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1844, allocations: 0 / 0.6017 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.1846, allocations: 55.89 kB / 0.6017 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.185, allocations: 272.9 kB / 0.602 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1851, allocations: 62.55 kB / 0.602 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.213e-05/0.1852, allocations: 56.84 kB / 0.6021 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.1853, allocations: 0 / 0.6021 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1853, allocations: 30.56 kB / 0.6021 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1853, allocations: 0 / 0.6021 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004081/0.1857, allocations: 195.4 kB / 0.6023 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.1858, allocations: 81.11 kB / 0.6024 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1859, allocations: 125.8 kB / 0.6025 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1859, allocations: 25.7 kB / 0.6025 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.186, allocations: 84.14 kB / 0.6026 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.186, allocations: 15.83 kB / 0.6026 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.186, allocations: 17.7 kB / 0.6026 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.1862, allocations: 322.9 kB / 0.6029 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.1863, allocations: 59.91 kB / 0.603 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1864, allocations: 63.94 kB / 0.6031 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.1866, allocations: 205.8 kB / 0.6033 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1866, allocations: 0 / 0.6033 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002898/0.1869, allocations: 224.9 kB / 0.6035 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.5e-05/0.187, allocations: 63.39 kB / 0.6035 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.187, allocations: 0 / 0.6035 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.187, allocations: 0 / 0.6035 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.1871, allocations: 4 kB / 0.6035 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1871, allocations: 0 / 0.6035 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.1872, allocations: 11.98 kB / 0.6036 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1872, allocations: 4 kB / 0.6036 GB, free: 2.184 MB / 0.4981 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.0001205/0.1873, allocations: 151.4 kB / 0.6037 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.1874, allocations: 7.906 kB / 0.6037 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.1874, allocations: 11.89 kB / 0.6037 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1874, allocations: 0 / 0.6037 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.1874, allocations: 4 kB / 0.6037 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1874, allocations: 0 / 0.6037 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.1876, allocations: 173.6 kB / 0.6039 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1876, allocations: 4.062 kB / 0.6039 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.1877, allocations: 8 kB / 0.6039 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1877, allocations: 0 / 0.6039 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.1877, allocations: 4 kB / 0.6039 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1877, allocations: 0 / 0.6039 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1877, allocations: 0 / 0.6039 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.188, allocations: 245.1 kB / 0.6041 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.1881, allocations: 97.03 kB / 0.6042 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1881, allocations: 3.938 kB / 0.6042 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.1882, allocations: 4 kB / 0.6042 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.1883, allocations: 11.92 kB / 0.6043 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.1883, allocations: 4 kB / 0.6043 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.833e-05/0.1884, allocations: 95.27 kB / 0.6043 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1884, allocations: 0 / 0.6043 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003438/0.1888, allocations: 56 kB / 0.6044 GB, free: 1.207 MB / 0.4981 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.0002904/0.1891, allocations: 159.1 kB / 0.6046 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003561/0.1894, allocations: 234.7 kB / 0.6048 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1895, allocations: 0 / 0.6048 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.1896, allocations: 111.4 kB / 0.6049 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.1898, allocations: 5.359 kB / 0.6049 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.1903, allocations: 222.4 kB / 0.6051 GB, free: 428 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2745/0.4647, allocations: 0.6821 MB / 0.6058 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.4648, allocations: 9.188 kB / 0.6058 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.4648, allocations: 0 / 0.6058 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.003195/0.468, allocations: 1.502 MB / 0.6072 GB, free: 40.7 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)