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.001001/0.001001, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005423/0.005423, allocations: 169.8 kB / 16.27 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.341/1.341, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.9965/0.9965, allocations: 143.2 MB / 434.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 8 kB / 0.5164 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1633, allocations: 83.41 MB / 0.5979 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001466/0.1648, allocations: 1.151 MB / 0.599 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.1661, allocations: 0.792 MB / 0.5997 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.1661, allocations: 0 / 0.5997 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.007e-05/0.1662, allocations: 0 / 0.5997 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.246e-05/0.1662, allocations: 4 kB / 0.5998 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.1667, allocations: 131.7 kB / 0.5999 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.557e-05/0.1668, allocations: 47.83 kB / 0.5999 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.844e-05/0.1669, allocations: 4 kB / 0.5999 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.416e-05/0.1669, allocations: 11.98 kB / 0.5999 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.167, allocations: 19.92 kB / 0.6 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.167, allocations: 4 kB / 0.6 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.1673, allocations: 187.7 kB / 0.6001 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.1673, allocations: 7.984 kB / 0.6001 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.272e-05/0.1674, allocations: 45.56 kB / 0.6002 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1676, allocations: 187.6 kB / 0.6004 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1677, allocations: 3.938 kB / 0.6004 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1677, allocations: 0 / 0.6004 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1677, allocations: 0 / 0.6004 GB, free: 5.074 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.000445/0.1681, allocations: 426.2 kB / 0.6008 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1682, allocations: 16.03 kB / 0.6008 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.1682, allocations: 4.844 kB / 0.6008 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.539e-05/0.1683, allocations: 176.2 kB / 0.601 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1683, allocations: 8.375 kB / 0.601 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1684, allocations: 4.359 kB / 0.601 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.1685, allocations: 81.97 kB / 0.6011 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1686, allocations: 0 / 0.6011 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1686, allocations: 4 kB / 0.6011 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1686, allocations: 0 / 0.6011 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1687, allocations: 51.97 kB / 0.6011 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.1691, allocations: 280.8 kB / 0.6014 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.1692, allocations: 62.55 kB / 0.6014 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.706e-05/0.1693, allocations: 52.91 kB / 0.6015 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.1693, allocations: 4 kB / 0.6015 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.1693, allocations: 30.56 kB / 0.6015 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1694, allocations: 0 / 0.6015 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003758/0.1697, allocations: 195.2 kB / 0.6017 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.1698, allocations: 81.09 kB / 0.6018 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.204e-05/0.1699, allocations: 121.8 kB / 0.6019 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1699, allocations: 29.7 kB / 0.6019 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.17, allocations: 84.12 kB / 0.602 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.17, allocations: 19.78 kB / 0.602 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.17, allocations: 13.72 kB / 0.602 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.1701, allocations: 318.8 kB / 0.6023 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1702, allocations: 64 kB / 0.6024 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.1703, allocations: 51.97 kB / 0.6025 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.1706, allocations: 205.8 kB / 0.6027 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1706, allocations: 0 / 0.6027 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002822/0.1709, allocations: 224.9 kB / 0.6029 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.1709, allocations: 63.41 kB / 0.6029 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1709, allocations: 0 / 0.6029 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1709, allocations: 0 / 0.6029 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.546e-05/0.171, allocations: 7.984 kB / 0.6029 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.171, allocations: 4 kB / 0.6029 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.1711, allocations: 4 kB / 0.6029 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1711, allocations: 4 kB / 0.6029 GB, free: 2.148 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.0001018/0.1712, allocations: 155.5 kB / 0.6031 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.1712, allocations: 3.906 kB / 0.6031 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.1713, allocations: 11.91 kB / 0.6031 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1713, allocations: 0 / 0.6031 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1713, allocations: 0 / 0.6031 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1713, allocations: 0 / 0.6031 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.1714, allocations: 173.6 kB / 0.6033 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1714, allocations: 4 kB / 0.6033 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.1715, allocations: 11.92 kB / 0.6033 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1715, allocations: 0 / 0.6033 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1715, allocations: 4 kB / 0.6033 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1715, allocations: 0 / 0.6033 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1715, allocations: 8 kB / 0.6033 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.1718, allocations: 249.4 kB / 0.6035 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.191e-05/0.1718, allocations: 81.02 kB / 0.6036 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.1718, allocations: 8 kB / 0.6036 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.803e-05/0.1719, allocations: 16 kB / 0.6036 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/0.172, allocations: 7.984 kB / 0.6037 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.172, allocations: 0 / 0.6037 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.857e-05/0.1721, allocations: 103.2 kB / 0.6037 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1721, allocations: 0 / 0.6037 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000315/0.1724, allocations: 56 kB / 0.6038 GB, free: 1.16 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.0002404/0.1727, allocations: 143.2 kB / 0.6039 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.173, allocations: 250.7 kB / 0.6042 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.173, allocations: 0 / 0.6042 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1731, allocations: 103.4 kB / 0.6043 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.1734, allocations: 12.17 kB / 0.6043 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.1737, allocations: 188.7 kB / 0.6045 GB, free: 424 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2553/0.429, allocations: 0.6829 MB / 0.6051 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.269e-05/0.429, allocations: 0 / 0.6051 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.4291, allocations: 10.34 kB / 0.6051 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of SimCode: time 6.52e-07/0.4291, allocations: 0 / 0.6051 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of Templates: time 0.003785/0.4329, allocations: 1.66 MB / 0.6068 GB, free: 40.56 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)