Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001044/0.001044, allocations: 103.9 kB / 16.36 MB, free: 6.418 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.001067/0.001067, allocations: 198.3 kB / 17.3 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2112, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001705/0.2129, allocations: 0.6137 MB / 0.7854 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.2147, allocations: 1.475 MB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.2147, allocations: 0 / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.348e-05/0.2147, allocations: 0 / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.78e-05/0.2148, allocations: 0 / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006264/0.2154, allocations: 227.4 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.034e-05/0.2155, allocations: 31.98 kB / 0.7871 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.2156, allocations: 7.984 kB / 0.7871 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.407e-05/0.2156, allocations: 11.94 kB / 0.7871 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.589e-05/0.2157, allocations: 31.83 kB / 0.7871 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.2157, allocations: 0 / 0.7871 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003751/0.2161, allocations: 247.7 kB / 0.7874 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.27e-05/0.2161, allocations: 0 / 0.7874 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.2161, allocations: 23.86 kB / 0.7874 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.2164, allocations: 215.5 kB / 0.7876 GB, free: 300 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2164, allocations: 4 kB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.031e-06/0.2164, allocations: 0 / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2165, allocations: 0 / 0.7876 GB, free: 296 kB / 0.6544 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.3193/0.5358, allocations: 403.1 kB / 0.788 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.5358, allocations: 9.656 kB / 0.788 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.5359, allocations: 4.375 kB / 0.788 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.086e-05/0.5359, allocations: 174.9 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.536, allocations: 384 / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.536, allocations: 4.25 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.5361, allocations: 74.56 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.5361, allocations: 0 / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.5361, allocations: 4.875 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.5362, allocations: 1.641 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.5362, allocations: 37.97 kB / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.746e-05/0.5363, allocations: 164.5 kB / 0.7884 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.716e-05/0.5364, allocations: 62.03 kB / 0.7885 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.5364, allocations: 48.5 kB / 0.7885 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.5365, allocations: 2.906 kB / 0.7885 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.5365, allocations: 36.09 kB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.5365, allocations: 0 / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000261/0.5368, allocations: 198.9 kB / 0.7888 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.5368, allocations: 80.2 kB / 0.7888 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.241e-05/0.5369, allocations: 114.6 kB / 0.789 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.5369, allocations: 26.55 kB / 0.789 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.299e-05/0.5369, allocations: 87.02 kB / 0.7891 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.5369, allocations: 25.72 kB / 0.7891 GB, free: 48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.537, allocations: 22.61 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.537, allocations: 318.2 kB / 0.7894 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.5371, allocations: 36.73 kB / 0.7894 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.252e-05/0.5371, allocations: 35.67 kB / 0.7895 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.5373, allocations: 146 kB / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.5373, allocations: 0.6562 kB / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000143/0.5374, allocations: 145.7 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.5375, allocations: 40.84 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5375, allocations: 13.19 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.5375, allocations: 0 / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.5375, allocations: 3.719 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5375, allocations: 0 / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.5377, allocations: 14.69 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.5377, allocations: 5.25 kB / 0.7898 GB, free: 47.5 MB / 0.6544 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 7.013e-05/0.5378, allocations: 147.1 kB / 0.79 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.5378, allocations: 2.625 kB / 0.79 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.476e-05/0.5378, allocations: 17.59 kB / 0.79 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.5378, allocations: 0 / 0.79 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5378, allocations: 0 / 0.79 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.5378, allocations: 1.969 kB / 0.79 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.748e-05/0.5379, allocations: 169.2 kB / 0.7902 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5379, allocations: 0.8125 kB / 0.7902 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.5379, allocations: 0 / 0.7902 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.5379, allocations: 0 / 0.7902 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.5379, allocations: 9.281 kB / 0.7902 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5379, allocations: 2.688 kB / 0.7902 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5379, allocations: 2.812 kB / 0.7902 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.5381, allocations: 198.3 kB / 0.7904 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.5381, allocations: 84.95 kB / 0.7904 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.5382, allocations: 9.719 kB / 0.7904 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.5382, allocations: 9.219 kB / 0.7905 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.5382, allocations: 9.469 kB / 0.7905 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.5382, allocations: 5 kB / 0.7905 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.034e-05/0.5383, allocations: 92.66 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5383, allocations: 0 / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003475/0.5386, allocations: 67 kB / 0.7906 GB, free: 46.88 MB / 0.6544 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.0002636/0.5389, allocations: 167.4 kB / 0.7908 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.5391, allocations: 193.6 kB / 0.791 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5391, allocations: 0 / 0.791 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.959e-05/0.5392, allocations: 156.3 kB / 0.7911 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.5394, allocations: 5.875 kB / 0.7911 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/0.5396, allocations: 158.7 kB / 0.7913 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.5397, allocations: 0.6864 MB / 0.7919 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.508e-06/0.5397, allocations: 0 / 0.7919 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.245e-06/0.5397, allocations: 11 kB / 0.792 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of SimCode: time 2.7e-07/0.5398, allocations: 0 / 0.792 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.00366/0.5434, allocations: 2.036 MB / 0.7939 GB, free: 45.82 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)