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.001161/0.001161, allocations: 109.6 kB / 16.37 MB, free: 6.477 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.001198/0.001198, allocations: 185.8 kB / 17.31 MB, free: 5.824 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.505/1.505, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.714/1.714, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001578/0.001578, allocations: 75.17 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2395, allocations: 114.5 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001961/0.2415, allocations: 0.621 MB / 0.7854 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.2434, allocations: 1.467 MB / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.919e-05/0.2434, allocations: 0 / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.794e-05/0.2435, allocations: 4 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.208e-05/0.2435, allocations: 3.984 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.2442, allocations: 215.4 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.566e-05/0.2442, allocations: 35.95 kB / 0.7871 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.054e-05/0.2443, allocations: 3.938 kB / 0.7871 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.413e-05/0.2443, allocations: 15.98 kB / 0.7871 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.342e-05/0.2444, allocations: 23.92 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.2444, allocations: 4 kB / 0.7871 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.2448, allocations: 247.7 kB / 0.7874 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/0.2448, allocations: 11.88 kB / 0.7874 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.2448, allocations: 15.92 kB / 0.7874 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.2451, allocations: 223.5 kB / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2452, allocations: 0 / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2452, allocations: 0 / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.2452, allocations: 0 / 0.7876 GB, free: 280 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.3324/0.5776, allocations: 401.2 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.5777, allocations: 11.03 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.5778, allocations: 2.688 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.5779, allocations: 171.5 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.5779, allocations: 6.719 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.5779, allocations: 2 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.5781, allocations: 75.84 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5781, allocations: 2.531 kB / 0.7882 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.5782, allocations: 5.484 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5782, allocations: 1.172 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.038e-05/0.5783, allocations: 38.17 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.5784, allocations: 158 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.431e-05/0.5785, allocations: 64.05 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/0.5786, allocations: 50.88 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-06/0.5786, allocations: 2.75 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.5786, allocations: 34.5 kB / 0.7886 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.5786, allocations: 3.094 kB / 0.7886 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000344/0.579, allocations: 196 kB / 0.7888 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.579, allocations: 82.23 kB / 0.7889 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.833e-05/0.5791, allocations: 115.3 kB / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.5791, allocations: 25.7 kB / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.07e-05/0.5792, allocations: 92.03 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.5792, allocations: 26.83 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.5793, allocations: 15.41 kB / 0.7891 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.977e-05/0.5794, allocations: 322.9 kB / 0.7894 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.294e-05/0.5794, allocations: 36.2 kB / 0.7895 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.5795, allocations: 30.44 kB / 0.7895 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.5796, allocations: 144.1 kB / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.5797, allocations: 0.5938 kB / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002007/0.5799, allocations: 160 kB / 0.7898 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.5799, allocations: 36.95 kB / 0.7898 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5799, allocations: 3.938 kB / 0.7898 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.5799, allocations: 0 / 0.7898 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.58, allocations: 2.625 kB / 0.7898 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.58, allocations: 3.219 kB / 0.7898 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.315e-05/0.5801, allocations: 14.92 kB / 0.7898 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.5801, allocations: 5.812 kB / 0.7898 GB, free: 47.37 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.625e-05/0.5802, allocations: 146.7 kB / 0.79 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.5802, allocations: 5.25 kB / 0.79 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.5802, allocations: 14.22 kB / 0.79 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5803, allocations: 0.5625 kB / 0.79 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5803, allocations: 0 / 0.79 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5803, allocations: 6.188 kB / 0.79 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.482e-05/0.5804, allocations: 166.7 kB / 0.7902 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5804, allocations: 2.656 kB / 0.7902 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.5804, allocations: 0 / 0.7902 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5804, allocations: 0 / 0.7902 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.5804, allocations: 6.625 kB / 0.7902 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5804, allocations: 0 / 0.7902 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5804, allocations: 4.844 kB / 0.7902 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.5807, allocations: 197.4 kB / 0.7904 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.5807, allocations: 84.95 kB / 0.7904 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.5807, allocations: 6.969 kB / 0.7905 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.209e-05/0.5808, allocations: 9.797 kB / 0.7905 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.5808, allocations: 4.188 kB / 0.7905 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.5808, allocations: 11.56 kB / 0.7905 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.5809, allocations: 90.41 kB / 0.7906 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5809, allocations: 0 / 0.7906 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004453/0.5814, allocations: 69.56 kB / 0.7906 GB, free: 46.75 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.0003329/0.5817, allocations: 170.5 kB / 0.7908 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000282/0.582, allocations: 196.8 kB / 0.791 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.582, allocations: 0 / 0.791 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.5822, allocations: 154.4 kB / 0.7911 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.5824, allocations: 7.484 kB / 0.7911 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.5827, allocations: 185.9 kB / 0.7913 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.5829, allocations: 0.6869 MB / 0.792 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.057e-05/0.5829, allocations: 8.062 kB / 0.792 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of SimCode: time 5.62e-07/0.5829, allocations: 0 / 0.792 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.003884/0.5868, allocations: 1.725 MB / 0.7937 GB, free: 45.64 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)