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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.576/1.576, allocations: 292.3 MB / 308.1 MB, free: 4.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001214/0.001213, allocations: 192.3 kB / 376.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009474/0.0009476, allocations: 95.95 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2318, allocations: 114.6 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002041/0.2339, allocations: 0.6782 MB / 0.9829 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002157/0.2361, allocations: 1.51 MB / 0.9844 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.2361, allocations: 3.938 kB / 0.9844 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.214e-05/0.2362, allocations: 7.922 kB / 0.9844 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.278e-05/0.2363, allocations: 4 kB / 0.9844 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006393/0.2369, allocations: 155.8 kB / 0.9845 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.637e-05/0.237, allocations: 31.97 kB / 0.9846 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.237, allocations: 8 kB / 0.9846 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.506e-05/0.2371, allocations: 19.86 kB / 0.9846 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.2371, allocations: 23.95 kB / 0.9846 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.2371, allocations: 0 / 0.9846 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003902/0.2375, allocations: 235.7 kB / 0.9848 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.2376, allocations: 7.922 kB / 0.9848 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.2376, allocations: 15.94 kB / 0.9849 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.238, allocations: 211.5 kB / 0.9851 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.238, allocations: 4 kB / 0.9851 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.41e-07/0.238, allocations: 0 / 0.9851 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.238, allocations: 4 kB / 0.9851 GB, free: 7.445 MB / 0.7136 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.0004535/0.2385, allocations: 409.3 kB / 0.9855 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.2385, allocations: 8.031 kB / 0.9855 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.72e-05/0.2386, allocations: 4.938 kB / 0.9855 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.2388, allocations: 180.2 kB / 0.9856 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2388, allocations: 384 / 0.9856 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.2388, allocations: 384 / 0.9856 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.239, allocations: 89.88 kB / 0.9857 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.239, allocations: 0 / 0.9857 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.239, allocations: 4 kB / 0.9857 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.239, allocations: 3.938 kB / 0.9857 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.087e-05/0.2391, allocations: 39.97 kB / 0.9858 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.2392, allocations: 153.7 kB / 0.9859 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.777e-05/0.2393, allocations: 66.55 kB / 0.986 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.2394, allocations: 52.8 kB / 0.986 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-06/0.2394, allocations: 0 / 0.986 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.2395, allocations: 42.5 kB / 0.9861 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.2395, allocations: 0 / 0.9861 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003104/0.2398, allocations: 191.2 kB / 0.9863 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.2398, allocations: 81.09 kB / 0.9863 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.2399, allocations: 113.8 kB / 0.9864 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.24, allocations: 25.7 kB / 0.9865 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.24, allocations: 84.14 kB / 0.9865 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.24, allocations: 27.64 kB / 0.9866 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.2401, allocations: 21.75 kB / 0.9866 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.2402, allocations: 322.8 kB / 0.9869 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.479e-05/0.2403, allocations: 31.98 kB / 0.9869 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.743e-05/0.2403, allocations: 35.97 kB / 0.987 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.2405, allocations: 148.1 kB / 0.9871 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2405, allocations: 0 / 0.9871 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000186/0.2407, allocations: 155.4 kB / 0.9873 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.2407, allocations: 37.62 kB / 0.9873 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2407, allocations: 4 kB / 0.9873 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2407, allocations: 4.062 kB / 0.9873 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.2407, allocations: 0 / 0.9873 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2408, allocations: 0 / 0.9873 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.2409, allocations: 4 kB / 0.9873 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.2409, allocations: 11.98 kB / 0.9873 GB, free: 4.875 MB / 0.7136 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 0.000108/0.241, allocations: 147.5 kB / 0.9875 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.2411, allocations: 11.84 kB / 0.9875 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.424e-05/0.2411, allocations: 4.375 kB / 0.9875 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2411, allocations: 0 / 0.9875 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2411, allocations: 8 kB / 0.9875 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2411, allocations: 0 / 0.9875 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.2412, allocations: 169.6 kB / 0.9876 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2413, allocations: 0 / 0.9876 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-07/0.2413, allocations: 0 / 0.9876 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2413, allocations: 3.938 kB / 0.9876 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2413, allocations: 4 kB / 0.9876 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2413, allocations: 7.875 kB / 0.9877 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2413, allocations: 3.938 kB / 0.9877 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/0.2419, allocations: 0.8096 MB / 0.9885 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.242, allocations: 77.11 kB / 0.9885 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.242, allocations: 4 kB / 0.9885 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.2421, allocations: 4 kB / 0.9885 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.2421, allocations: 7.984 kB / 0.9885 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.2421, allocations: 4 kB / 0.9885 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.758e-05/0.2422, allocations: 95.25 kB / 0.9886 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2422, allocations: 4.031 kB / 0.9886 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004249/0.2426, allocations: 76 kB / 0.9887 GB, free: 3.293 MB / 0.7136 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.0003374/0.243, allocations: 159.1 kB / 0.9889 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.2432, allocations: 195.3 kB / 0.989 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2432, allocations: 0 / 0.989 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.2434, allocations: 155.3 kB / 0.9892 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.2435, allocations: 10.61 kB / 0.9892 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.2439, allocations: 301.6 kB / 0.9895 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.2441, allocations: 0.6809 MB / 0.9902 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.182e-06/0.2442, allocations: 0 / 0.9902 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.067e-06/0.2442, allocations: 11.44 kB / 0.9902 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.2442, allocations: 0 / 0.9902 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of Templates: time 0.004384/0.2486, allocations: 2.035 MB / 0.9922 GB, free: 15.67 MB / 0.7292 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)