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.001169/0.001169, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001197/0.001198, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.512 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 0.9577/0.9577, allocations: 143 MB / 433.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 59.91 kB / 0.5137 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1691, allocations: 82.04 MB / 0.5938 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002613/0.1717, allocations: 1.474 MB / 0.5952 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.173, allocations: 0.7762 MB / 0.596 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.173, allocations: 0 / 0.596 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.411e-05/0.1731, allocations: 0 / 0.596 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.657e-05/0.1732, allocations: 7.984 kB / 0.596 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.1738, allocations: 161.7 kB / 0.5962 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.1739, allocations: 47.84 kB / 0.5962 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.948e-05/0.174, allocations: 11.98 kB / 0.5962 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.1741, allocations: 15.98 kB / 0.5962 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.938e-05/0.1741, allocations: 15.92 kB / 0.5962 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1742, allocations: 8 kB / 0.5963 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.1745, allocations: 199.7 kB / 0.5964 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.1745, allocations: 11.92 kB / 0.5965 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.1746, allocations: 19.92 kB / 0.5965 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.1748, allocations: 195.9 kB / 0.5967 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1749, allocations: 3.938 kB / 0.5967 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1749, allocations: 0 / 0.5967 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.1749, allocations: 0 / 0.5967 GB, free: 6.984 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.000514/0.1754, allocations: 434.6 kB / 0.5971 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1755, allocations: 12.03 kB / 0.5971 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.1755, allocations: 8.875 kB / 0.5971 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.1756, allocations: 164.3 kB / 0.5973 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1757, allocations: 8.375 kB / 0.5973 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.1757, allocations: 384 / 0.5973 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.1759, allocations: 85.97 kB / 0.5973 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1759, allocations: 0 / 0.5973 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1759, allocations: 0 / 0.5973 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1759, allocations: 0 / 0.5973 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.176, allocations: 51.91 kB / 0.5974 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.1765, allocations: 276.9 kB / 0.5977 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.1766, allocations: 54.55 kB / 0.5977 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.947e-05/0.1767, allocations: 48.91 kB / 0.5978 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.1767, allocations: 0 / 0.5978 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1767, allocations: 34.56 kB / 0.5978 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.1767, allocations: 0 / 0.5978 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004168/0.1772, allocations: 195.2 kB / 0.598 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.1772, allocations: 77.11 kB / 0.5981 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1773, allocations: 129.8 kB / 0.5982 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1774, allocations: 25.7 kB / 0.5982 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.1774, allocations: 84.14 kB / 0.5983 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.1775, allocations: 11.84 kB / 0.5983 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.1775, allocations: 29.73 kB / 0.5983 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1777, allocations: 314.8 kB / 0.5986 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.1778, allocations: 55.97 kB / 0.5987 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.233e-05/0.1779, allocations: 56.09 kB / 0.5987 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.1782, allocations: 197.8 kB / 0.5989 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1782, allocations: 0 / 0.5989 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002909/0.1785, allocations: 225 kB / 0.5991 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.31e-05/0.1785, allocations: 63.39 kB / 0.5992 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1785, allocations: 3.984 kB / 0.5992 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1786, allocations: 4 kB / 0.5992 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.858e-05/0.1786, allocations: 0 / 0.5992 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1786, allocations: 0 / 0.5992 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.1787, allocations: 11.98 kB / 0.5992 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1787, allocations: 0 / 0.5992 GB, free: 4.086 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.0001123/0.1788, allocations: 147.5 kB / 0.5994 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.1789, allocations: 11.91 kB / 0.5994 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.1789, allocations: 11.89 kB / 0.5994 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1789, allocations: 0 / 0.5994 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1789, allocations: 4 kB / 0.5994 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1789, allocations: 0 / 0.5994 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.1791, allocations: 173.6 kB / 0.5995 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1791, allocations: 7.938 kB / 0.5996 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.1791, allocations: 4 kB / 0.5996 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1792, allocations: 0 / 0.5996 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1792, allocations: 0 / 0.5996 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1792, allocations: 7.938 kB / 0.5996 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1792, allocations: 4 kB / 0.5996 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.1795, allocations: 245 kB / 0.5998 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.1795, allocations: 81.09 kB / 0.5999 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.1795, allocations: 8 kB / 0.5999 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.1796, allocations: 4 kB / 0.5999 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.1797, allocations: 11.92 kB / 0.5999 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.1797, allocations: 4.031 kB / 0.5999 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.395e-05/0.1798, allocations: 99.27 kB / 0.6 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1798, allocations: 0 / 0.6 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003162/0.1801, allocations: 56 kB / 0.6001 GB, free: 3.109 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.0002996/0.1804, allocations: 151.2 kB / 0.6002 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.1808, allocations: 238.7 kB / 0.6004 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1808, allocations: 0 / 0.6004 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.1809, allocations: 111.4 kB / 0.6005 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.1812, allocations: 7.938 kB / 0.6005 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.1815, allocations: 189.3 kB / 0.6007 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.1818, allocations: 0.6924 MB / 0.6014 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.387e-05/0.1818, allocations: 64 / 0.6014 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.1818, allocations: 11.44 kB / 0.6014 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1818, allocations: 0 / 0.6014 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of Templates: time 0.2262/0.408, allocations: 1.714 MB / 0.6031 GB, free: 43.79 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)