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.00123/0.001229, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001331, allocations: 187.8 kB / 16.66 MB, free: 6.582 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00196/0.00196, allocations: 278.9 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9284/0.9284, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 99.78 kB / 0.6815 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1652, allocations: 86.97 MB / 0.7664 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001546/0.1668, allocations: 0.6189 MB / 0.767 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1685, allocations: 1.431 MB / 0.7684 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.1686, allocations: 0 / 0.7684 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/0.1686, allocations: 3.938 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.281e-05/0.1687, allocations: 4 kB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006314/0.1693, allocations: 213.9 kB / 0.7686 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.956e-05/0.1694, allocations: 35.97 kB / 0.7687 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.1695, allocations: 11.98 kB / 0.7687 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.744e-05/0.1695, allocations: 15.94 kB / 0.7687 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/0.1695, allocations: 23.91 kB / 0.7687 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1696, allocations: 4 kB / 0.7687 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.1699, allocations: 251.6 kB / 0.769 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.17, allocations: 7.938 kB / 0.769 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.17, allocations: 11.94 kB / 0.769 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.1703, allocations: 223.3 kB / 0.7692 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1703, allocations: 0 / 0.7692 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.11e-07/0.1703, allocations: 0 / 0.7692 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.1703, allocations: 4 kB / 0.7692 GB, free: 5.527 MB / 0.5606 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.0003524/0.1707, allocations: 408.7 kB / 0.7696 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.1707, allocations: 8.031 kB / 0.7696 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.1707, allocations: 4.938 kB / 0.7696 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.896e-05/0.1708, allocations: 168.3 kB / 0.7698 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1709, allocations: 4.375 kB / 0.7698 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.1709, allocations: 384 / 0.7698 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.171, allocations: 77.97 kB / 0.7698 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.171, allocations: 0 / 0.7698 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.171, allocations: 4 kB / 0.7698 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-06/0.171, allocations: 0 / 0.7698 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.445e-05/0.1711, allocations: 39.91 kB / 0.7699 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.1712, allocations: 165.6 kB / 0.77 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.48e-05/0.1713, allocations: 58.55 kB / 0.7701 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.202e-05/0.1714, allocations: 56.86 kB / 0.7701 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-06/0.1714, allocations: 3.938 kB / 0.7701 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1714, allocations: 38.5 kB / 0.7702 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.1714, allocations: 0 / 0.7702 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002881/0.1717, allocations: 199.3 kB / 0.7704 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.1718, allocations: 81.09 kB / 0.7704 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.1719, allocations: 113.8 kB / 0.7706 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1719, allocations: 29.7 kB / 0.7706 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.1719, allocations: 80.14 kB / 0.7707 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.172, allocations: 23.84 kB / 0.7707 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.172, allocations: 17.72 kB / 0.7707 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.1721, allocations: 322.9 kB / 0.771 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.1722, allocations: 35.98 kB / 0.771 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.883e-05/0.1722, allocations: 35.97 kB / 0.7711 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.1724, allocations: 140.2 kB / 0.7712 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1724, allocations: 0 / 0.7712 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000175/0.1726, allocations: 151.2 kB / 0.7714 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.1726, allocations: 45.62 kB / 0.7714 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1726, allocations: 3.938 kB / 0.7714 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1726, allocations: 4.062 kB / 0.7714 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.1726, allocations: 4 kB / 0.7714 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.1726, allocations: 0.625 kB / 0.7714 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.1727, allocations: 7.938 kB / 0.7714 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.1727, allocations: 7.984 kB / 0.7714 GB, free: 2.969 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.211e-05/0.1728, allocations: 148.2 kB / 0.7716 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.1729, allocations: 11.89 kB / 0.7716 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.05e-05/0.1729, allocations: 8.375 kB / 0.7716 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1729, allocations: 0 / 0.7716 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1729, allocations: 4 kB / 0.7716 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1729, allocations: 4 kB / 0.7716 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.924e-05/0.173, allocations: 165.6 kB / 0.7718 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.173, allocations: 0 / 0.7718 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.173, allocations: 0 / 0.7718 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.173, allocations: 3.938 kB / 0.7718 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.173, allocations: 8 kB / 0.7718 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.173, allocations: 0 / 0.7718 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.173, allocations: 0 / 0.7718 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1733, allocations: 215.1 kB / 0.772 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.1733, allocations: 89 kB / 0.7721 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1733, allocations: 0 / 0.7721 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.24e-05/0.1734, allocations: 7.984 kB / 0.7721 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.1734, allocations: 4 kB / 0.7721 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1734, allocations: 4 kB / 0.7721 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.853e-05/0.1735, allocations: 91.27 kB / 0.7722 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1735, allocations: 0 / 0.7722 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002619/0.1737, allocations: 79.86 kB / 0.7722 GB, free: 2.035 MB / 0.5606 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 (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.0002702/0.174, allocations: 163.1 kB / 0.7724 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.1743, allocations: 195.3 kB / 0.7726 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1743, allocations: 0 / 0.7726 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.1744, allocations: 159.3 kB / 0.7727 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.1745, allocations: 6.062 kB / 0.7727 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002528/0.1748, allocations: 164.9 kB / 0.7729 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.175, allocations: 0.6847 MB / 0.7736 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.909e-06/0.175, allocations: 4 kB / 0.7736 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.916e-06/0.1751, allocations: 7.438 kB / 0.7736 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1751, allocations: 4 kB / 0.7736 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of Templates: time 0.2932/0.4682, allocations: 2.022 MB / 0.7755 GB, free: 14.45 MB / 0.5606 GB 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)