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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001072/0.001072, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.177/1.177, allocations: 205.1 MB / 222 MB, free: 4.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.307/1.307, allocations: 251.7 MB / 0.5088 GB, free: 3.336 MB / 414.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.001218/0.001218, allocations: 71.89 kB / 0.6216 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3823, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001591/0.384, allocations: 0.687 MB / 0.7245 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.3856, allocations: 1.517 MB / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.958e-05/0.3856, allocations: 0 / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.464e-05/0.3857, allocations: 0 / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.58e-05/0.3857, allocations: 4 kB / 0.726 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.3862, allocations: 158.3 kB / 0.7261 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.3863, allocations: 35.95 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.3864, allocations: 7.984 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.176e-05/0.3864, allocations: 15.94 kB / 0.7262 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.219e-05/0.3864, allocations: 23.91 kB / 0.7262 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.3865, allocations: 4 kB / 0.7262 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003173/0.3868, allocations: 247.5 kB / 0.7264 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.609e-05/0.3868, allocations: 4 kB / 0.7264 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.3869, allocations: 19.86 kB / 0.7265 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.3871, allocations: 211.6 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3872, allocations: 0 / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3872, allocations: 0 / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.3872, allocations: 0 / 0.7267 GB, free: 10.21 MB / 0.545 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.0004101/0.3876, allocations: 407 kB / 0.7271 GB, free: 9.762 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.3876, allocations: 8.031 kB / 0.7271 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.3877, allocations: 8.844 kB / 0.7271 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.3878, allocations: 176.3 kB / 0.7272 GB, free: 9.535 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.3878, allocations: 384 / 0.7272 GB, free: 9.535 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.3878, allocations: 4.375 kB / 0.7272 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.3879, allocations: 73.97 kB / 0.7273 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.388, allocations: 0 / 0.7273 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.388, allocations: 7.984 kB / 0.7273 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.388, allocations: 0 / 0.7273 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.521e-05/0.388, allocations: 35.97 kB / 0.7274 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.3882, allocations: 165.6 kB / 0.7275 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.103e-05/0.3883, allocations: 66.48 kB / 0.7276 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.083e-05/0.3883, allocations: 48.88 kB / 0.7276 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.019e-06/0.3883, allocations: 0 / 0.7276 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.3884, allocations: 42.48 kB / 0.7277 GB, free: 9.023 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 7.31e-07/0.3884, allocations: 0 / 0.7277 GB, free: 9.023 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002871/0.3887, allocations: 179.3 kB / 0.7278 GB, free: 8.836 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.3887, allocations: 89.05 kB / 0.7279 GB, free: 8.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.819e-05/0.3888, allocations: 114 kB / 0.728 GB, free: 8.609 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.3888, allocations: 25.7 kB / 0.7281 GB, free: 8.578 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.3889, allocations: 88.12 kB / 0.7281 GB, free: 8.488 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.3889, allocations: 27.64 kB / 0.7282 GB, free: 8.461 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.389, allocations: 17.72 kB / 0.7282 GB, free: 8.438 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3891, allocations: 318.8 kB / 0.7285 GB, free: 8.117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.222e-05/0.3891, allocations: 35.97 kB / 0.7285 GB, free: 8.082 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-05/0.3892, allocations: 31.98 kB / 0.7285 GB, free: 8.051 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.3893, allocations: 148.2 kB / 0.7287 GB, free: 7.891 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3893, allocations: 0 / 0.7287 GB, free: 7.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001652/0.3895, allocations: 151.8 kB / 0.7288 GB, free: 7.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.3895, allocations: 45.62 kB / 0.7289 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3895, allocations: 0 / 0.7289 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.3896, allocations: 0 / 0.7289 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.3896, allocations: 0 / 0.7289 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3896, allocations: 3.984 kB / 0.7289 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.3897, allocations: 15.92 kB / 0.7289 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.3897, allocations: 7.938 kB / 0.7289 GB, free: 7.652 MB / 0.545 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.0001263/0.3899, allocations: 155.5 kB / 0.7291 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.3899, allocations: 11.84 kB / 0.7291 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.3899, allocations: 8.375 kB / 0.7291 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3899, allocations: 4 kB / 0.7291 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.39, allocations: 0 / 0.7291 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.39, allocations: 0 / 0.7291 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.3901, allocations: 165.6 kB / 0.7292 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3901, allocations: 0 / 0.7292 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.3901, allocations: 0 / 0.7292 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3901, allocations: 3.938 kB / 0.7292 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.3902, allocations: 8 kB / 0.7292 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.3902, allocations: 0 / 0.7292 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3902, allocations: 0 / 0.7292 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.3904, allocations: 202.6 kB / 0.7294 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.3905, allocations: 85.03 kB / 0.7295 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.3905, allocations: 4 kB / 0.7295 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.214e-05/0.3905, allocations: 4 kB / 0.7295 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.3906, allocations: 8.031 kB / 0.7295 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.3906, allocations: 11.98 kB / 0.7295 GB, free: 6.887 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.239e-05/0.3906, allocations: 91.25 kB / 0.7296 GB, free: 6.797 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3907, allocations: 0 / 0.7296 GB, free: 6.797 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002927/0.3909, allocations: 68 kB / 0.7297 GB, free: 6.73 MB / 0.545 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.0003297/0.3913, allocations: 163.2 kB / 0.7299 GB, free: 6.562 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.3915, allocations: 195.3 kB / 0.73 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3916, allocations: 0 / 0.73 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.3917, allocations: 155.4 kB / 0.7302 GB, free: 6.195 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.3919, allocations: 4 kB / 0.7302 GB, free: 6.191 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.3922, allocations: 194.5 kB / 0.7304 GB, free: 5.977 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.3924, allocations: 0.6848 MB / 0.731 GB, free: 5.266 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.51e-06/0.3924, allocations: 0 / 0.731 GB, free: 5.266 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.466e-06/0.3925, allocations: 7.438 kB / 0.7311 GB, free: 5.258 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.3925, allocations: 4.062 kB / 0.7311 GB, free: 5.254 MB / 0.545 GB Notification: Performance of Templates: time 0.003929/0.3964, allocations: 1.989 MB / 0.733 GB, free: 3.273 MB / 0.545 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)