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.001054/0.001054, allocations: 100.1 kB / 15.88 MB, free: 12 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.00114/0.00114, allocations: 199.3 kB / 16.79 MB, free: 6.828 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.37/1.37, allocations: 222.9 MB / 240.5 MB, free: 4.527 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.013/1.013, allocations: 143 MB / 433.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.91 kB / 0.5142 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1849, allocations: 82.05 MB / 0.5943 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002961/0.1879, allocations: 1.478 MB / 0.5957 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1892, allocations: 0.8036 MB / 0.5965 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.1893, allocations: 7.938 kB / 0.5965 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.702e-05/0.1893, allocations: 3.984 kB / 0.5965 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.406e-05/0.1894, allocations: 0 / 0.5965 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.1899, allocations: 135.7 kB / 0.5966 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.289e-05/0.19, allocations: 39.86 kB / 0.5967 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.046e-05/0.1901, allocations: 4 kB / 0.5967 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.381e-05/0.1902, allocations: 15.98 kB / 0.5967 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.1902, allocations: 19.92 kB / 0.5967 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.1902, allocations: 0 / 0.5967 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002973/0.1905, allocations: 191.7 kB / 0.5969 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.1906, allocations: 7.984 kB / 0.5969 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.1906, allocations: 15.88 kB / 0.5969 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.1908, allocations: 135.8 kB / 0.5971 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1909, allocations: 0 / 0.5971 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.31e-07/0.1909, allocations: 0 / 0.5971 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.1909, allocations: 0 / 0.5971 GB, free: 7.172 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.00052/0.1914, allocations: 446.2 kB / 0.5975 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1914, allocations: 8.031 kB / 0.5975 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.1915, allocations: 4.938 kB / 0.5975 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1916, allocations: 176.2 kB / 0.5977 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1916, allocations: 384 / 0.5977 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.1917, allocations: 12.36 kB / 0.5977 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1919, allocations: 73.98 kB / 0.5977 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.1919, allocations: 0 / 0.5977 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1919, allocations: 0 / 0.5977 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.1919, allocations: 8 kB / 0.5978 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.192, allocations: 47.95 kB / 0.5978 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.1924, allocations: 272.9 kB / 0.5981 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.1925, allocations: 66.47 kB / 0.5981 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.336e-05/0.1926, allocations: 44.91 kB / 0.5982 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.1927, allocations: 4 kB / 0.5982 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1927, allocations: 34.56 kB / 0.5982 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.1927, allocations: 4 kB / 0.5982 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003894/0.1931, allocations: 187.2 kB / 0.5984 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.1932, allocations: 77.11 kB / 0.5985 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.1933, allocations: 125.8 kB / 0.5986 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.1933, allocations: 25.7 kB / 0.5986 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.1934, allocations: 92.17 kB / 0.5987 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.1934, allocations: 11.84 kB / 0.5987 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.1934, allocations: 21.7 kB / 0.5987 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1935, allocations: 314.8 kB / 0.599 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1936, allocations: 55.97 kB / 0.5991 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.1937, allocations: 67.89 kB / 0.5991 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.194, allocations: 189.8 kB / 0.5993 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.194, allocations: 8 kB / 0.5993 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002692/0.1943, allocations: 224.8 kB / 0.5995 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.554e-05/0.1943, allocations: 65.42 kB / 0.5996 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1943, allocations: 0 / 0.5996 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1943, allocations: 0 / 0.5996 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.824e-05/0.1944, allocations: 4 kB / 0.5996 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1944, allocations: 0 / 0.5996 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.1945, allocations: 11.98 kB / 0.5996 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1945, allocations: 4 kB / 0.5996 GB, free: 4.254 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.0001037/0.1946, allocations: 147.5 kB / 0.5998 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.1947, allocations: 7.906 kB / 0.5998 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.1947, allocations: 11.89 kB / 0.5998 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1947, allocations: 0 / 0.5998 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1947, allocations: 0 / 0.5998 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1947, allocations: 0 / 0.5998 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.1949, allocations: 173.6 kB / 0.6 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1949, allocations: 0 / 0.6 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.724e-05/0.1949, allocations: 4.062 kB / 0.6 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1949, allocations: 8 kB / 0.6 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.195, allocations: 4 kB / 0.6 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.195, allocations: 0 / 0.6 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.195, allocations: 0 / 0.6 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.1952, allocations: 253 kB / 0.6002 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.1953, allocations: 85.09 kB / 0.6003 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.1953, allocations: 0 / 0.6003 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.785e-05/0.1954, allocations: 8.031 kB / 0.6003 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.1955, allocations: 7.984 kB / 0.6003 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1956, allocations: 0 / 0.6003 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.56e-05/0.1956, allocations: 99.27 kB / 0.6004 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1956, allocations: 0 / 0.6004 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003114/0.1959, allocations: 52 kB / 0.6004 GB, free: 3.297 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.0002724/0.1962, allocations: 159.1 kB / 0.6006 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003191/0.1965, allocations: 238.7 kB / 0.6008 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.1966, allocations: 4 kB / 0.6008 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1967, allocations: 103.3 kB / 0.6009 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.1969, allocations: 11.94 kB / 0.6009 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.1973, allocations: 208.9 kB / 0.6011 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.1975, allocations: 0.6888 MB / 0.6018 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.1976, allocations: 7.438 kB / 0.6018 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1976, allocations: 3.938 kB / 0.6018 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of Templates: time 0.003349/0.2009, allocations: 1.506 MB / 0.6033 GB, free: 292 kB / 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)