Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001408/0.001408, allocations: 175.7 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009313/0.0009313, allocations: 89.92 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003523, allocations: 12.44 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2555, allocations: 106.3 MB / 0.9015 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0008356/0.2564, allocations: 358.2 kB / 0.9018 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.2583, allocations: 1.511 MB / 0.9033 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.32e-05/0.2583, allocations: 0 / 0.9033 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.214e-05/0.2584, allocations: 3.984 kB / 0.9033 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.342e-05/0.2585, allocations: 0 / 0.9033 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006022/0.2591, allocations: 159.7 kB / 0.9034 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.2591, allocations: 35.97 kB / 0.9035 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.2592, allocations: 0 / 0.9035 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.572e-05/0.2592, allocations: 15.92 kB / 0.9035 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.2593, allocations: 23.95 kB / 0.9035 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.2593, allocations: 4 kB / 0.9035 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00033/0.2597, allocations: 239.6 kB / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.2597, allocations: 7.984 kB / 0.9037 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.2598, allocations: 41.58 kB / 0.9038 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.26, allocations: 143.8 kB / 0.9039 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.26, allocations: 0 / 0.9039 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.26, allocations: 0 / 0.9039 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.26, allocations: 4 kB / 0.9039 GB, free: 60.98 MB / 0.6042 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.0003244/0.2603, allocations: 397.3 kB / 0.9043 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2604, allocations: 8.031 kB / 0.9043 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.2604, allocations: 4.938 kB / 0.9043 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.337e-05/0.2605, allocations: 172.3 kB / 0.9045 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.2605, allocations: 4.375 kB / 0.9045 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.2605, allocations: 4.375 kB / 0.9045 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.2607, allocations: 81.89 kB / 0.9046 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2607, allocations: 4 kB / 0.9046 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.2607, allocations: 0 / 0.9046 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2608, allocations: 4 kB / 0.9046 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.28e-05/0.2608, allocations: 35.91 kB / 0.9046 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.2609, allocations: 161.7 kB / 0.9048 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.631e-05/0.261, allocations: 58.55 kB / 0.9048 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.709e-05/0.2611, allocations: 52.86 kB / 0.9049 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.2611, allocations: 0 / 0.9049 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.2611, allocations: 42.44 kB / 0.9049 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.2611, allocations: 3.938 kB / 0.9049 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002728/0.2614, allocations: 187.4 kB / 0.9051 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.2615, allocations: 81.11 kB / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.54e-05/0.2615, allocations: 121.8 kB / 0.9053 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.2616, allocations: 25.7 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.343e-05/0.2616, allocations: 84.14 kB / 0.9054 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.2616, allocations: 19.66 kB / 0.9054 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.2616, allocations: 8.031 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.54e-05/0.2617, allocations: 318.8 kB / 0.9057 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.284e-05/0.2617, allocations: 31.97 kB / 0.9058 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.687e-05/0.2618, allocations: 35.98 kB / 0.9058 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.2619, allocations: 144.1 kB / 0.9059 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2619, allocations: 0 / 0.9059 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001408/0.2621, allocations: 151.2 kB / 0.9061 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.2621, allocations: 41.62 kB / 0.9061 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2621, allocations: 0 / 0.9061 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2621, allocations: 4.062 kB / 0.9061 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.2621, allocations: 0 / 0.9061 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2621, allocations: 0 / 0.9061 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.2623, allocations: 11.98 kB / 0.9061 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.2623, allocations: 4 kB / 0.9061 GB, free: 58.46 MB / 0.6042 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.881e-05/0.2624, allocations: 151.5 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.2624, allocations: 15.92 kB / 0.9063 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.096e-05/0.2624, allocations: 4.375 kB / 0.9063 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-06/0.2624, allocations: 0 / 0.9063 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2624, allocations: 4 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2624, allocations: 3.984 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.002e-05/0.2625, allocations: 169.5 kB / 0.9065 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2625, allocations: 0 / 0.9065 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.2625, allocations: 4 kB / 0.9065 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2625, allocations: 3.938 kB / 0.9065 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.2626, allocations: 4 kB / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.2626, allocations: 4 kB / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2626, allocations: 0 / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.2628, allocations: 203.4 kB / 0.9067 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.2628, allocations: 88.94 kB / 0.9068 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.2628, allocations: 15.88 kB / 0.9068 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.135e-05/0.2629, allocations: 4 kB / 0.9068 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.2629, allocations: 7.984 kB / 0.9068 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.2629, allocations: 4 kB / 0.9068 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.956e-05/0.263, allocations: 95.25 kB / 0.9069 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.263, allocations: 0 / 0.9069 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002566/0.2632, allocations: 68 kB / 0.9069 GB, free: 57.52 MB / 0.6042 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.0002726/0.2635, allocations: 167.2 kB / 0.9071 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.2637, allocations: 195.2 kB / 0.9073 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2637, allocations: 0 / 0.9073 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.2638, allocations: 151.3 kB / 0.9074 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.264, allocations: 17.27 kB / 0.9074 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.2643, allocations: 200.5 kB / 0.9076 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.2644, allocations: 0.6848 MB / 0.9083 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-06/0.2644, allocations: 7.438 kB / 0.9083 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2644, allocations: 0 / 0.9083 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of Templates: time 0.002898/0.2673, allocations: 1.699 MB / 0.91 GB, free: 54.34 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)