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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 289.9 MB / 297.4 MB, free: 6.426 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.001059/0.001059, allocations: 176.8 kB / 366.7 MB, free: 1.684 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.851/1.851, allocations: 205.3 MB / 0.626 GB, free: 7.16 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.0008909/0.0008908, allocations: 96.48 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.365e-05/2.369e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7539/0.754, allocations: 116.3 MB / 0.9734 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2057/0.9597, allocations: 139.3 MB / 1.109 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.96, allocations: 83.94 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01088/0.9709, allocations: 3.485 MB / 1.113 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.615e-06/0.971, allocations: 0.875 kB / 1.113 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.971, allocations: 0 / 1.113 GB, free: 7.289 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.0005119/0.9715, allocations: 403.6 kB / 1.113 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.426e-05/0.9716, allocations: 12.03 kB / 1.113 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.9717, allocations: 7.938 kB / 1.113 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.9718, allocations: 163 kB / 1.113 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.9719, allocations: 4 kB / 1.113 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.9719, allocations: 3.125 kB / 1.113 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001093/0.972, allocations: 31.91 kB / 1.113 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.9722, allocations: 65.03 kB / 1.113 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.9722, allocations: 0 / 1.113 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.9722, allocations: 0 / 1.113 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.9722, allocations: 3.984 kB / 1.113 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.9724, allocations: 142.1 kB / 1.114 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.9725, allocations: 57.59 kB / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.434e-05/0.9726, allocations: 36.88 kB / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.9726, allocations: 0 / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.9726, allocations: 34.5 kB / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/0.9727, allocations: 0 / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003605/0.973, allocations: 107.8 kB / 1.114 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.9731, allocations: 81.11 kB / 1.114 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.9732, allocations: 108 kB / 1.114 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.9732, allocations: 25.7 kB / 1.114 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.9733, allocations: 84.14 kB / 1.114 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.9734, allocations: 23.66 kB / 1.114 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.9734, allocations: 0 / 1.114 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.9735, allocations: 322.8 kB / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.901e-05/0.9736, allocations: 24.02 kB / 1.114 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.53e-05/0.9736, allocations: 23.97 kB / 1.115 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.9737, allocations: 31.97 kB / 1.115 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9738, allocations: 0 / 1.115 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002269/0.974, allocations: 105.4 kB / 1.115 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/0.974, allocations: 37.69 kB / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.9741, allocations: 0 / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.9741, allocations: 0 / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.154e-06/0.9741, allocations: 0 / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.9741, allocations: 4 kB / 1.115 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.9741, allocations: 64 / 1.115 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.9742, allocations: 15.98 kB / 1.115 GB, free: 5.172 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.9743, allocations: 142.7 kB / 1.115 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002347/0.9746, allocations: 121.4 kB / 1.115 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.9746, allocations: 10.16 kB / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.9746, allocations: 8.609 kB / 1.115 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.9746, allocations: 0 / 1.115 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.9746, allocations: 0 / 1.115 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.9747, allocations: 0 / 1.115 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.9748, allocations: 146.2 kB / 1.115 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.9748, allocations: 4.031 kB / 1.115 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-06/0.9748, allocations: 4 kB / 1.115 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.9748, allocations: 3.953 kB / 1.115 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.9748, allocations: 7.938 kB / 1.115 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9749, allocations: 0 / 1.115 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.9749, allocations: 3.984 kB / 1.115 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.9751, allocations: 138.9 kB / 1.115 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.9752, allocations: 85 kB / 1.115 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.9752, allocations: 14.98 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.573e-05/0.9753, allocations: 0 / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.9753, allocations: 8 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.9753, allocations: 8 kB / 1.115 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.728e-05/0.9754, allocations: 91.27 kB / 1.115 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9754, allocations: 0 / 1.115 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003493/0.9757, allocations: 79.92 kB / 1.116 GB, free: 4.223 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008644/0.9766, allocations: 0.7645 MB / 1.116 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.9769, allocations: 163.4 kB / 1.116 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.9769, allocations: 0 / 1.116 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.977, allocations: 132.3 kB / 1.117 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.9771, allocations: 9.203 kB / 1.117 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.9776, allocations: 177.4 kB / 1.117 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.9779, allocations: 0.6971 MB / 1.117 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.786e-06/0.978, allocations: 3.984 kB / 1.117 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.978, allocations: 11.44 kB / 1.117 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/0.978, allocations: 0 / 1.117 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.9998, allocations: 2.382 MB / 1.12 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/1, allocations: 150.9 kB / 1.12 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.627, allocations: 5.406 kB / 1.12 GB, free: 15.65 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)