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.001496/0.001496, allocations: 110 kB / 16.27 MB, free: 6.355 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.001742/0.001742, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.465/1.465, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.814/1.814, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.001533/0.001533, allocations: 68.47 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2123, allocations: 114.6 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002233/0.2146, allocations: 0.6098 MB / 0.7846 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002367/0.217, allocations: 1.463 MB / 0.7861 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.2171, allocations: 0 / 0.7861 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.029e-05/0.2172, allocations: 3.938 kB / 0.7861 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.151e-05/0.2172, allocations: 7.984 kB / 0.7861 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.2181, allocations: 213.1 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.2182, allocations: 39.95 kB / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.2182, allocations: 0 / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.503e-05/0.2183, allocations: 15.92 kB / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.307e-05/0.2183, allocations: 19.92 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2183, allocations: 4 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004465/0.2188, allocations: 259.6 kB / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.2189, allocations: 4 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.2189, allocations: 15.88 kB / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.2193, allocations: 211.6 kB / 0.7868 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2193, allocations: 3.938 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2193, allocations: 0 / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.2193, allocations: 3.938 kB / 0.7868 GB, free: 1 MB / 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.0004524/0.2198, allocations: 405.3 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2198, allocations: 8.031 kB / 0.7872 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.2199, allocations: 8.844 kB / 0.7872 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.22, allocations: 180.2 kB / 0.7874 GB, free: 328 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.22, allocations: 384 / 0.7874 GB, free: 328 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.22, allocations: 8.359 kB / 0.7874 GB, free: 320 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.2202, allocations: 73.97 kB / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.2202, allocations: 0 / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.2203, allocations: 0 / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2203, allocations: 4 kB / 0.7875 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.514e-05/0.2203, allocations: 39.91 kB / 0.7875 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.378/0.5983, allocations: 157.7 kB / 0.7877 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.5986, allocations: 60.91 kB / 0.7877 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.424e-05/0.5987, allocations: 51.81 kB / 0.7878 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.5987, allocations: 7.281 kB / 0.7878 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.5987, allocations: 32.62 kB / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 3.576e-06/0.5987, allocations: 0 / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003481/0.5991, allocations: 193.1 kB / 0.788 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.5992, allocations: 79.86 kB / 0.7881 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.807e-05/0.5992, allocations: 116.8 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.5993, allocations: 25.7 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.413e-05/0.5993, allocations: 82.95 kB / 0.7883 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.5993, allocations: 27.72 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.5994, allocations: 21.05 kB / 0.7883 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.792e-05/0.5994, allocations: 325.5 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/0.5995, allocations: 31.05 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.335e-05/0.5995, allocations: 41.48 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.5997, allocations: 139.6 kB / 0.7889 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5997, allocations: 0 / 0.7889 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001551/0.5998, allocations: 155.1 kB / 0.789 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/0.5999, allocations: 36.19 kB / 0.789 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.5999, allocations: 3.266 kB / 0.789 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.5999, allocations: 0 / 0.789 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.5999, allocations: 2.688 kB / 0.789 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.5999, allocations: 5.656 kB / 0.7891 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.6001, allocations: 8.688 kB / 0.7891 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.6001, allocations: 9.406 kB / 0.7891 GB, free: 48 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.664e-05/0.6002, allocations: 150 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.6003, allocations: 9.406 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.329e-05/0.6003, allocations: 5.156 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.6003, allocations: 0 / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6003, allocations: 5.094 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.6003, allocations: 0 / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.091e-05/0.6004, allocations: 172.6 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6004, allocations: 0 / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.6004, allocations: 0 / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6004, allocations: 3.219 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.6004, allocations: 5.5 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6004, allocations: 2.719 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6004, allocations: 2.719 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.6006, allocations: 200.4 kB / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.6007, allocations: 82.11 kB / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.6007, allocations: 0.5625 kB / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.304e-05/0.6007, allocations: 11.55 kB / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.6008, allocations: 6.906 kB / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.6008, allocations: 5.781 kB / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.095e-05/0.6008, allocations: 95.12 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.51e-07/0.6008, allocations: 0 / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003445/0.6012, allocations: 71.36 kB / 0.7899 GB, free: 47.39 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.0003013/0.6015, allocations: 163.3 kB / 0.79 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.6017, allocations: 199.6 kB / 0.7902 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6017, allocations: 1.969 kB / 0.7902 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.624e-05/0.6018, allocations: 149.9 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.602, allocations: 8.469 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.6023, allocations: 191.6 kB / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.6024, allocations: 0.6872 MB / 0.7912 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.608e-06/0.6024, allocations: 8.781 kB / 0.7912 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of SimCode: time 2.81e-07/0.6024, allocations: 0 / 0.7912 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.003212/0.6056, allocations: 1.722 MB / 0.7929 GB, free: 46.28 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)