Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001065/0.001065, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001092/0.001092, allocations: 191.4 kB / 16.13 MB, free: 6.668 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.345/1.345, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002081/0.002081, allocations: 293.2 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9286/0.9286, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 95.7 kB / 0.5945 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1615, allocations: 86.99 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001658/0.1632, allocations: 0.6662 MB / 0.6801 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.1649, allocations: 1.486 MB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.1649, allocations: 0 / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.626e-05/0.165, allocations: 0 / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.884e-05/0.165, allocations: 7.938 kB / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.1655, allocations: 155.7 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.124e-05/0.1656, allocations: 27.97 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.1657, allocations: 11.98 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.121e-05/0.1657, allocations: 15.94 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.1657, allocations: 23.97 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.1658, allocations: 0 / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000419/0.1662, allocations: 243.6 kB / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.1662, allocations: 7.938 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.1663, allocations: 19.86 kB / 0.682 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.1666, allocations: 211.6 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1667, allocations: 0 / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1667, allocations: 0 / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1667, allocations: 4 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB 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.0003997/0.1671, allocations: 405.4 kB / 0.6826 GB, free: 13.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1671, allocations: 8.031 kB / 0.6826 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.1672, allocations: 12.83 kB / 0.6827 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1673, allocations: 168.2 kB / 0.6828 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1673, allocations: 4.375 kB / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.1673, allocations: 384 / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.1675, allocations: 77.97 kB / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1675, allocations: 0 / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1675, allocations: 7.938 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1675, allocations: 0 / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.061e-05/0.1676, allocations: 39.91 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.1677, allocations: 161.7 kB / 0.6831 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.669e-05/0.1678, allocations: 62.55 kB / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.1679, allocations: 44.88 kB / 0.6832 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.1679, allocations: 4 kB / 0.6832 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.168, allocations: 42.48 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.168, allocations: 0 / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003074/0.1683, allocations: 187.2 kB / 0.6834 GB, free: 12.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.1683, allocations: 81.11 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.841e-05/0.1684, allocations: 118.1 kB / 0.6836 GB, free: 12.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1684, allocations: 29.7 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.1685, allocations: 88.12 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.1685, allocations: 23.64 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.1686, allocations: 29.69 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1687, allocations: 314.8 kB / 0.6841 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.943e-05/0.1688, allocations: 39.97 kB / 0.6841 GB, free: 12.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1689, allocations: 31.98 kB / 0.6841 GB, free: 12.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.169, allocations: 140.2 kB / 0.6843 GB, free: 12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.169, allocations: 0 / 0.6843 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002034/0.1693, allocations: 151.3 kB / 0.6844 GB, free: 11.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.1693, allocations: 41.62 kB / 0.6845 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1693, allocations: 0 / 0.6845 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1693, allocations: 4.062 kB / 0.6845 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.1693, allocations: 0 / 0.6845 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1693, allocations: 4 kB / 0.6845 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.537e-05/0.1694, allocations: 7.984 kB / 0.6845 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.1695, allocations: 4 kB / 0.6845 GB, free: 11.77 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.1696, allocations: 152.8 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.1697, allocations: 11.84 kB / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.148e-05/0.1697, allocations: 4.375 kB / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1697, allocations: 0 / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1697, allocations: 4 kB / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1697, allocations: 3.984 kB / 0.6846 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.1698, allocations: 161.7 kB / 0.6848 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1699, allocations: 11.94 kB / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1699, allocations: 0 / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1699, allocations: 3.938 kB / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1699, allocations: 4 kB / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1699, allocations: 0 / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1699, allocations: 0 / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.1701, allocations: 202.6 kB / 0.685 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.1702, allocations: 88.94 kB / 0.6851 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.1702, allocations: 4 kB / 0.6851 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.308e-05/0.1703, allocations: 4 kB / 0.6851 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.1703, allocations: 8 kB / 0.6851 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.1703, allocations: 7.984 kB / 0.6851 GB, free: 11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.195e-05/0.1704, allocations: 95.25 kB / 0.6852 GB, free: 10.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1704, allocations: 0 / 0.6852 GB, free: 10.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1706, allocations: 72 kB / 0.6853 GB, free: 10.84 MB / 494.1 MB 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 (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.1709, allocations: 167.2 kB / 0.6854 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.1712, allocations: 191.3 kB / 0.6856 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1712, allocations: 0 / 0.6856 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.1713, allocations: 159.3 kB / 0.6858 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.1714, allocations: 4.75 kB / 0.6858 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.1717, allocations: 190.6 kB / 0.686 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.172, allocations: 0.6848 MB / 0.6866 GB, free: 9.375 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.23e-06/0.172, allocations: 0 / 0.6866 GB, free: 9.375 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-06/0.172, allocations: 7.438 kB / 0.6866 GB, free: 9.367 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.172, allocations: 0 / 0.6866 GB, free: 9.367 MB / 494.1 MB Notification: Performance of Templates: time 0.004416/0.1764, allocations: 1.988 MB / 0.6886 GB, free: 7.391 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)