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.00107/0.00107, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001105/0.001105, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.241/1.241, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 281.6 kB / 291.3 MB, free: 14.57 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9099/0.9099, allocations: 169.3 MB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 99.75 kB / 0.5959 GB, free: 4.074 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.166, allocations: 86.97 MB / 0.6808 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001964/0.168, allocations: 0.6113 MB / 0.6814 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001847/0.1699, allocations: 1.443 MB / 0.6829 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.17, allocations: 0 / 0.6829 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.783e-05/0.17, allocations: 4 kB / 0.6829 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.368e-05/0.1701, allocations: 0 / 0.6829 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007442/0.1709, allocations: 207.5 kB / 0.6831 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.383e-05/0.1709, allocations: 35.97 kB / 0.6831 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.171, allocations: 288 / 0.6831 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.621e-05/0.171, allocations: 19.91 kB / 0.6831 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.1711, allocations: 23.92 kB / 0.6831 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1711, allocations: 4 kB / 0.6831 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004026/0.1715, allocations: 255.6 kB / 0.6834 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.1716, allocations: 4 kB / 0.6834 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.1716, allocations: 19.86 kB / 0.6834 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.1719, allocations: 211.6 kB / 0.6836 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.172, allocations: 0 / 0.6836 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.363e-06/0.172, allocations: 0 / 0.6836 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.172, allocations: 0 / 0.6836 GB, free: 10.26 MB / 0.5294 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.000422/0.1724, allocations: 401 kB / 0.684 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1724, allocations: 12.03 kB / 0.684 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.1725, allocations: 8.844 kB / 0.684 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.1726, allocations: 172.3 kB / 0.6842 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1726, allocations: 384 / 0.6842 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.1727, allocations: 4.375 kB / 0.6842 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1728, allocations: 73.97 kB / 0.6842 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1728, allocations: 3.938 kB / 0.6842 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1728, allocations: 4 kB / 0.6843 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1729, allocations: 0 / 0.6843 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.174e-05/0.1729, allocations: 43.91 kB / 0.6843 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.1731, allocations: 161.7 kB / 0.6844 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/0.1732, allocations: 66.55 kB / 0.6845 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.145e-05/0.1732, allocations: 48.88 kB / 0.6846 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.1732, allocations: 0 / 0.6846 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.1733, allocations: 38.5 kB / 0.6846 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1733, allocations: 0 / 0.6846 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0003009/0.1736, allocations: 191.2 kB / 0.6848 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.1736, allocations: 85.09 kB / 0.6849 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.1737, allocations: 109.8 kB / 0.685 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1737, allocations: 29.7 kB / 0.685 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.1738, allocations: 84.14 kB / 0.6851 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.1738, allocations: 27.64 kB / 0.6851 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.1739, allocations: 13.72 kB / 0.6851 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.174, allocations: 326.8 kB / 0.6854 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.218e-05/0.174, allocations: 40 kB / 0.6855 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.401e-05/0.1741, allocations: 31.98 kB / 0.6855 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1742, allocations: 152.9 kB / 0.6856 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1742, allocations: 0 / 0.6856 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.1744, allocations: 151.2 kB / 0.6858 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.1745, allocations: 45.62 kB / 0.6858 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1745, allocations: 0 / 0.6858 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1745, allocations: 0 / 0.6858 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.1745, allocations: 0 / 0.6858 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1745, allocations: 0 / 0.6858 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.1746, allocations: 16.05 kB / 0.6858 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.1746, allocations: 4 kB / 0.6858 GB, free: 7.695 MB / 0.5294 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.139e-05/0.1747, allocations: 144.4 kB / 0.686 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.1747, allocations: 11.84 kB / 0.686 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.444e-05/0.1748, allocations: 8.375 kB / 0.686 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.1748, allocations: 4 kB / 0.686 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1748, allocations: 0 / 0.686 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1748, allocations: 0 / 0.686 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.1749, allocations: 173.6 kB / 0.6862 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1749, allocations: 4 kB / 0.6862 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.1749, allocations: 0 / 0.6862 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1749, allocations: 3.938 kB / 0.6862 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1749, allocations: 4 kB / 0.6862 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.1749, allocations: 3.938 kB / 0.6862 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1749, allocations: 0 / 0.6862 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.1752, allocations: 198.7 kB / 0.6864 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.1752, allocations: 84.98 kB / 0.6865 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1752, allocations: 16 kB / 0.6865 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.526e-05/0.1753, allocations: 4 kB / 0.6865 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.1753, allocations: 0 / 0.6865 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1753, allocations: 11.98 kB / 0.6865 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.309e-05/0.1754, allocations: 87.28 kB / 0.6866 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1754, allocations: 0 / 0.6866 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003047/0.1757, allocations: 75.98 kB / 0.6866 GB, free: 6.766 MB / 0.5294 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.0002838/0.176, allocations: 159.2 kB / 0.6868 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.1762, allocations: 203.2 kB / 0.687 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1762, allocations: 0 / 0.687 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.1763, allocations: 151.3 kB / 0.6871 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.1765, allocations: 4 kB / 0.6871 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.1768, allocations: 204.9 kB / 0.6873 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.177, allocations: 0.6885 MB / 0.688 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.014e-05/0.1771, allocations: 11.44 kB / 0.688 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.1771, allocations: 0 / 0.688 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.003378/0.1805, allocations: 1.716 MB / 0.6897 GB, free: 3.562 MB / 0.5294 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)