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.001251/0.001251, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001224/0.001224, allocations: 194.4 kB / 16.14 MB, free: 6.688 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.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.037/1.037, allocations: 143 MB / 433 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 55.91 kB / 0.5135 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1538, allocations: 82.04 MB / 0.5936 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002715/0.1566, allocations: 1.484 MB / 0.5951 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1579, allocations: 0.8036 MB / 0.5959 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.1579, allocations: 0 / 0.5959 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.878e-05/0.158, allocations: 3.938 kB / 0.5959 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.086e-05/0.1581, allocations: 11.94 kB / 0.5959 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.1585, allocations: 123.8 kB / 0.596 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.602e-05/0.1586, allocations: 35.91 kB / 0.596 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.91e-05/0.1587, allocations: 11.98 kB / 0.596 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.1587, allocations: 15.98 kB / 0.5961 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/0.1588, allocations: 15.92 kB / 0.5961 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1588, allocations: 8 kB / 0.5961 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.1591, allocations: 183.7 kB / 0.5963 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.1591, allocations: 7.938 kB / 0.5963 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.1592, allocations: 23.91 kB / 0.5963 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.1595, allocations: 187.6 kB / 0.5965 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1595, allocations: 0 / 0.5965 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1595, allocations: 0 / 0.5965 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.025e-06/0.1595, allocations: 0 / 0.5965 GB, free: 7.152 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.0004445/0.1599, allocations: 435 kB / 0.5969 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.16, allocations: 16.02 kB / 0.5969 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.16, allocations: 4.938 kB / 0.5969 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1601, allocations: 180.2 kB / 0.5971 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1601, allocations: 384 / 0.5971 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.1602, allocations: 4.375 kB / 0.5971 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1603, allocations: 77.97 kB / 0.5971 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1604, allocations: 0 / 0.5971 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1604, allocations: 0 / 0.5971 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.1604, allocations: 0 / 0.5971 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.1605, allocations: 47.91 kB / 0.5972 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.1609, allocations: 284.9 kB / 0.5975 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1611, allocations: 62.48 kB / 0.5975 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.245e-05/0.1611, allocations: 40.92 kB / 0.5976 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.1612, allocations: 7.969 kB / 0.5976 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1612, allocations: 38.56 kB / 0.5976 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1612, allocations: 3.938 kB / 0.5976 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004035/0.1616, allocations: 183.2 kB / 0.5978 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.1617, allocations: 81.11 kB / 0.5979 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/0.1618, allocations: 125.8 kB / 0.598 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1618, allocations: 25.7 kB / 0.598 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.1619, allocations: 92.12 kB / 0.5981 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.1619, allocations: 7.844 kB / 0.5981 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.1619, allocations: 25.75 kB / 0.5981 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.162, allocations: 314.8 kB / 0.5984 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1621, allocations: 55.97 kB / 0.5985 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.339e-05/0.1622, allocations: 59.97 kB / 0.5985 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.1625, allocations: 197.8 kB / 0.5987 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1625, allocations: 0 / 0.5987 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002757/0.1628, allocations: 220.9 kB / 0.5989 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/0.1628, allocations: 67.41 kB / 0.599 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1628, allocations: 0 / 0.599 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1628, allocations: 0 / 0.599 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.1629, allocations: 7.984 kB / 0.599 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1629, allocations: 0 / 0.599 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.163, allocations: 4 kB / 0.599 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.163, allocations: 7.984 kB / 0.599 GB, free: 4.238 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.0001048/0.1631, allocations: 147.5 kB / 0.5992 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.1631, allocations: 11.91 kB / 0.5992 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.1632, allocations: 7.906 kB / 0.5992 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1632, allocations: 0 / 0.5992 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1632, allocations: 0 / 0.5992 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.1632, allocations: 0 / 0.5992 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.1633, allocations: 177.6 kB / 0.5993 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1634, allocations: 0 / 0.5993 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.1634, allocations: 7.984 kB / 0.5994 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1634, allocations: 0 / 0.5994 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1634, allocations: 4 kB / 0.5994 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1634, allocations: 3.938 kB / 0.5994 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1634, allocations: 4 kB / 0.5994 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.1637, allocations: 253 kB / 0.5996 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.1637, allocations: 81.11 kB / 0.5997 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.1638, allocations: 3.938 kB / 0.5997 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.1638, allocations: 7.984 kB / 0.5997 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.164, allocations: 8 kB / 0.5997 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.164, allocations: 4.031 kB / 0.5997 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.4e-05/0.164, allocations: 95.27 kB / 0.5998 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1641, allocations: 0 / 0.5998 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003133/0.1644, allocations: 59.98 kB / 0.5999 GB, free: 3.266 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.0002651/0.1646, allocations: 151.2 kB / 0.6 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003244/0.165, allocations: 234.7 kB / 0.6002 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.165, allocations: 0 / 0.6002 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.1651, allocations: 111.3 kB / 0.6003 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.1653, allocations: 10.61 kB / 0.6003 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.1657, allocations: 187.1 kB / 0.6005 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.1659, allocations: 0.6848 MB / 0.6012 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.393e-05/0.1659, allocations: 0 / 0.6012 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.502e-05/0.166, allocations: 11.5 kB / 0.6012 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.166, allocations: 0 / 0.6012 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of Templates: time 0.003829/0.1698, allocations: 1.678 MB / 0.6028 GB, free: 160 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)