Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001184, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.00141/0.00141, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.019/1.019, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002837, allocations: 8 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1558, allocations: 83.42 MB / 0.5973 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0006466/0.1565, allocations: 327 kB / 0.5976 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1581, allocations: 1.385 MB / 0.599 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.1581, allocations: 0 / 0.599 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.698e-05/0.1582, allocations: 3.938 kB / 0.599 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.301e-05/0.1582, allocations: 0 / 0.599 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.1587, allocations: 159.2 kB / 0.5991 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.865e-05/0.1588, allocations: 19.92 kB / 0.5991 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.1588, allocations: 3.984 kB / 0.5991 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.605e-05/0.1589, allocations: 19.94 kB / 0.5992 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.1589, allocations: 31.89 kB / 0.5992 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.159, allocations: 0 / 0.5992 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.1593, allocations: 207.8 kB / 0.5994 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.1593, allocations: 7.938 kB / 0.5994 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.1593, allocations: 25.7 kB / 0.5994 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1595, allocations: 147.8 kB / 0.5996 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.1595, allocations: 0 / 0.5996 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.865e-06/0.1595, allocations: 0 / 0.5996 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.1595, allocations: 3.938 kB / 0.5996 GB, free: 5.461 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003179/0.1598, allocations: 397.2 kB / 0.5999 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.1599, allocations: 8.031 kB / 0.5999 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.1599, allocations: 7.906 kB / 0.6 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.16, allocations: 171 kB / 0.6001 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1601, allocations: 4 kB / 0.6001 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.1601, allocations: 0 / 0.6001 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1602, allocations: 69.66 kB / 0.6002 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1602, allocations: 7.984 kB / 0.6002 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.1602, allocations: 0 / 0.6002 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1602, allocations: 0 / 0.6002 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.258e-05/0.1603, allocations: 35.98 kB / 0.6002 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.1604, allocations: 173.5 kB / 0.6004 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.944e-05/0.1605, allocations: 62.48 kB / 0.6005 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.1605, allocations: 0 / 0.6005 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.1606, allocations: 38.59 kB / 0.6005 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 7.41e-07/0.1606, allocations: 0 / 0.6005 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0003194/0.1609, allocations: 264.6 kB / 0.6007 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.1609, allocations: 85.09 kB / 0.6008 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.161, allocations: 109.8 kB / 0.6009 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1611, allocations: 29.7 kB / 0.601 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.1611, allocations: 84.14 kB / 0.601 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.1611, allocations: 23.7 kB / 0.6011 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.1611, allocations: 0 / 0.6011 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.1612, allocations: 318.7 kB / 0.6014 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.071e-05/0.1613, allocations: 39.97 kB / 0.6014 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-05/0.1613, allocations: 40 kB / 0.6014 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.275e-05/0.1614, allocations: 61.69 kB / 0.6015 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1614, allocations: 0 / 0.6015 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001699/0.1616, allocations: 155.9 kB / 0.6016 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.1616, allocations: 33.7 kB / 0.6017 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1617, allocations: 7.875 kB / 0.6017 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1617, allocations: 3.984 kB / 0.6017 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.1617, allocations: 0 / 0.6017 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1617, allocations: 3.984 kB / 0.6017 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.911e-05/0.1618, allocations: 11.94 kB / 0.6017 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.1618, allocations: 8.062 kB / 0.6017 GB, free: 2.984 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.142e-05/0.1619, allocations: 155.5 kB / 0.6019 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.1619, allocations: 11.89 kB / 0.6019 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.436e-05/0.1619, allocations: 8.375 kB / 0.6019 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.162, allocations: 0 / 0.6019 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.162, allocations: 3.938 kB / 0.6019 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.162, allocations: 0 / 0.6019 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.837e-05/0.1621, allocations: 173.6 kB / 0.6021 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1621, allocations: 0 / 0.6021 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1621, allocations: 4 kB / 0.6021 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.1621, allocations: 0 / 0.6021 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1621, allocations: 4 kB / 0.6021 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1621, allocations: 0 / 0.6021 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1621, allocations: 0 / 0.6021 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.1623, allocations: 198.7 kB / 0.6022 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.1624, allocations: 85.06 kB / 0.6023 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1624, allocations: 0 / 0.6023 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.1624, allocations: 20.02 kB / 0.6023 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.1625, allocations: 0 / 0.6023 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1625, allocations: 4 kB / 0.6024 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.798e-05/0.1625, allocations: 95.27 kB / 0.6024 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1625, allocations: 0 / 0.6024 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002821/0.1628, allocations: 67.98 kB / 0.6025 GB, free: 2.059 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002701/0.1631, allocations: 167.1 kB / 0.6027 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.1633, allocations: 203.3 kB / 0.6029 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1633, allocations: 4.062 kB / 0.6029 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.1635, allocations: 151.3 kB / 0.603 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.1636, allocations: 9.891 kB / 0.603 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.1638, allocations: 178.9 kB / 0.6032 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.164, allocations: 0.6887 MB / 0.6039 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.48e-06/0.1641, allocations: 64 / 0.6039 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-06/0.1641, allocations: 15.44 kB / 0.6039 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1641, allocations: 0 / 0.6039 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of Templates: time 0.2758/0.4399, allocations: 1.916 MB / 0.6057 GB, free: 40.67 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) Environment - environmentSimulation: