Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001622/0.001622, allocations: 107.2 kB / 16.41 MB, free: 6.395 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.001597/0.001597, allocations: 189.2 kB / 17.34 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002604/0.002604, allocations: 293.2 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002849/0.002849, allocations: 103.8 kB / 0.6822 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4775/0.4803, allocations: 86.97 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001718/0.482, allocations: 0.6245 MB / 0.7677 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.4841, allocations: 1.435 MB / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.4842, allocations: 0 / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.157e-05/0.4842, allocations: 3.938 kB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.164e-05/0.4842, allocations: 4 kB / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.4849, allocations: 207.5 kB / 0.7693 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.164e-05/0.485, allocations: 35.91 kB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.485, allocations: 7.984 kB / 0.7694 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.541e-05/0.485, allocations: 11.98 kB / 0.7694 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.356e-05/0.4851, allocations: 23.91 kB / 0.7694 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.4851, allocations: 0 / 0.7694 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.4855, allocations: 259.5 kB / 0.7696 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.544e-05/0.4855, allocations: 13.72 kB / 0.7696 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.4856, allocations: 11.94 kB / 0.7697 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.4859, allocations: 221.1 kB / 0.7699 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4859, allocations: 4 kB / 0.7699 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4859, allocations: 0 / 0.7699 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.4859, allocations: 0 / 0.7699 GB, free: 1.051 MB / 0.5294 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.0004478/0.4863, allocations: 404.7 kB / 0.7703 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.4864, allocations: 8.031 kB / 0.7703 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.4864, allocations: 8.938 kB / 0.7703 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.4865, allocations: 180.2 kB / 0.7704 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.4865, allocations: 384 / 0.7704 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.4866, allocations: 4.375 kB / 0.7705 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.4867, allocations: 73.97 kB / 0.7705 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.4867, allocations: 0 / 0.7705 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.4867, allocations: 0 / 0.7705 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.4867, allocations: 0 / 0.7705 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.109e-05/0.4868, allocations: 39.97 kB / 0.7706 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.487, allocations: 157.7 kB / 0.7707 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.4871, allocations: 58.59 kB / 0.7708 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/0.4871, allocations: 40.86 kB / 0.7708 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.4871, allocations: 0 / 0.7708 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.4872, allocations: 34.5 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.4872, allocations: 4 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003237/0.4875, allocations: 187.2 kB / 0.771 GB, free: 15.69 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.4875, allocations: 93.08 kB / 0.7711 GB, free: 15.58 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.4876, allocations: 113.8 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.4877, allocations: 25.7 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.4877, allocations: 84.3 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.326e-05/0.4878, allocations: 31.61 kB / 0.7714 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.4878, allocations: 21.7 kB / 0.7714 GB, free: 15.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.4879, allocations: 314.8 kB / 0.7717 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.894e-05/0.488, allocations: 35.97 kB / 0.7717 GB, free: 14.94 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.117e-05/0.4881, allocations: 39.97 kB / 0.7717 GB, free: 14.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.4882, allocations: 144.2 kB / 0.7719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4882, allocations: 0 / 0.7719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000196/0.4884, allocations: 147.9 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.4885, allocations: 49.56 kB / 0.7721 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4885, allocations: 0 / 0.7721 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.4885, allocations: 0 / 0.7721 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.4885, allocations: 0 / 0.7721 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.4885, allocations: 7.922 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.411e-05/0.4885, allocations: 8 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.4886, allocations: 4.062 kB / 0.7721 GB, free: 14.51 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.0001176/0.4887, allocations: 157.9 kB / 0.7722 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.4887, allocations: 11.89 kB / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.509e-05/0.4887, allocations: 8.375 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.4887, allocations: 0 / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.4887, allocations: 0 / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.4887, allocations: 0 / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.4889, allocations: 165.6 kB / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4889, allocations: 0 / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-06/0.4889, allocations: 4 kB / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4889, allocations: 7.938 kB / 0.7724 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.4889, allocations: 4 kB / 0.7724 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.4889, allocations: 0 / 0.7724 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4889, allocations: 0 / 0.7724 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.4891, allocations: 202.7 kB / 0.7726 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.4892, allocations: 88.94 kB / 0.7727 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.4892, allocations: 4 kB / 0.7727 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/0.4892, allocations: 7.984 kB / 0.7727 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.4893, allocations: 8.031 kB / 0.7727 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.4893, allocations: 8 kB / 0.7727 GB, free: 13.74 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.033e-05/0.4893, allocations: 87.27 kB / 0.7728 GB, free: 13.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4893, allocations: 3.938 kB / 0.7728 GB, free: 13.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002794/0.4896, allocations: 75.86 kB / 0.7729 GB, free: 13.57 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.0002836/0.4899, allocations: 159.1 kB / 0.7731 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.4901, allocations: 163.3 kB / 0.7732 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4901, allocations: 4.062 kB / 0.7732 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.4903, allocations: 119.3 kB / 0.7733 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.4904, allocations: 4 kB / 0.7733 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.4908, allocations: 168.9 kB / 0.7735 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.4912, allocations: 0.6884 MB / 0.7742 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.709e-06/0.4912, allocations: 0 / 0.7742 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-06/0.4912, allocations: 7.438 kB / 0.7742 GB, free: 12.19 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.4912, allocations: 0 / 0.7742 GB, free: 12.19 MB / 0.545 GB Notification: Performance of Templates: time 0.004878/0.496, allocations: 2.05 MB / 0.7762 GB, free: 10.15 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)