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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008409/0.0008409, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009456/0.0009456, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.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.864/1.864, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005707/0.0005709, allocations: 17.62 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3077, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0008275/0.3086, allocations: 351.5 kB / 0.7877 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002033/0.3107, allocations: 1.418 MB / 0.7891 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.3107, allocations: 0 / 0.7891 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.188e-05/0.3108, allocations: 7.938 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.3108, allocations: 4 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000708/0.3115, allocations: 151.8 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.734e-05/0.3116, allocations: 35.83 kB / 0.7893 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.3117, allocations: 0 / 0.7893 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/0.3117, allocations: 15.98 kB / 0.7893 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.458e-05/0.3118, allocations: 27.91 kB / 0.7894 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.3118, allocations: 4 kB / 0.7894 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.3122, allocations: 227.6 kB / 0.7896 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.3123, allocations: 11.98 kB / 0.7896 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.3123, allocations: 29.7 kB / 0.7896 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.3126, allocations: 143.8 kB / 0.7898 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3126, allocations: 0 / 0.7898 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3126, allocations: 0 / 0.7898 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3126, allocations: 0 / 0.7898 GB, free: 9.379 MB / 0.6075 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.0004179/0.313, allocations: 385.2 kB / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3131, allocations: 11.97 kB / 0.7901 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.3131, allocations: 42.55 kB / 0.7902 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.3131, allocations: 3.906 kB / 0.7902 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.3133, allocations: 171 kB / 0.7903 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3133, allocations: 3.938 kB / 0.7904 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.3133, allocations: 4 kB / 0.7904 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.3135, allocations: 69.66 kB / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3135, allocations: 0 / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3135, allocations: 4 kB / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3135, allocations: 0 / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.3136, allocations: 43.91 kB / 0.7905 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.3138, allocations: 169.5 kB / 0.7906 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.3139, allocations: 66.55 kB / 0.7907 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.424e-05/0.314, allocations: 52.81 kB / 0.7907 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.314, allocations: 3.984 kB / 0.7907 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.314, allocations: 38.55 kB / 0.7908 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.314, allocations: 0 / 0.7908 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003449/0.3144, allocations: 191.4 kB / 0.791 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.3145, allocations: 81.11 kB / 0.791 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.122e-05/0.3146, allocations: 109.8 kB / 0.7911 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3146, allocations: 29.7 kB / 0.7912 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.3146, allocations: 84.14 kB / 0.7913 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.3147, allocations: 23.64 kB / 0.7913 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.3147, allocations: 4 kB / 0.7913 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3148, allocations: 314.8 kB / 0.7916 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.3149, allocations: 40 kB / 0.7916 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.968e-05/0.315, allocations: 40.52 kB / 0.7917 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.307e-05/0.315, allocations: 65.67 kB / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3151, allocations: 0 / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001954/0.3153, allocations: 159.2 kB / 0.7919 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.3153, allocations: 37.69 kB / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3153, allocations: 0 / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3153, allocations: 0 / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.233e-06/0.3153, allocations: 0 / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3154, allocations: 0 / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3155, allocations: 8.062 kB / 0.7919 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.3155, allocations: 15.98 kB / 0.7919 GB, free: 6.891 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.3156, allocations: 147.5 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.3156, allocations: 7.906 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.429e-05/0.3157, allocations: 4.375 kB / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3157, allocations: 4 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3157, allocations: 0 / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3157, allocations: 0 / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.3158, allocations: 173.6 kB / 0.7923 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3158, allocations: 0 / 0.7923 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-06/0.3158, allocations: 8 kB / 0.7923 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3158, allocations: 3.938 kB / 0.7923 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3159, allocations: 4 kB / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3159, allocations: 0 / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3159, allocations: 3.938 kB / 0.7923 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.3161, allocations: 202.6 kB / 0.7925 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.3162, allocations: 89 kB / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.3162, allocations: 0 / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.342e-05/0.3163, allocations: 16.02 kB / 0.7926 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.3163, allocations: 0 / 0.7926 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.3163, allocations: 4 kB / 0.7926 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.554e-05/0.3164, allocations: 91.27 kB / 0.7927 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3164, allocations: 0 / 0.7927 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000363/0.3168, allocations: 75.98 kB / 0.7927 GB, free: 5.965 MB / 0.6075 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 (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.000745/0.3175, allocations: 0.7897 MB / 0.7935 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003141/0.3178, allocations: 199.2 kB / 0.7937 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3178, allocations: 0 / 0.7937 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.318, allocations: 151.3 kB / 0.7938 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.3182, allocations: 4 kB / 0.7938 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/0.3187, allocations: 236.4 kB / 0.7941 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.3189, allocations: 0.6848 MB / 0.7947 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.192e-06/0.3189, allocations: 0 / 0.7947 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.319, allocations: 15.44 kB / 0.7947 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of SimCode: time 7.12e-07/0.319, allocations: 0 / 0.7947 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.3357, allocations: 2.839 MB / 0.7975 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004873/0.3362, allocations: 203 kB / 0.7977 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.212, allocations: 4 kB / 0.7977 GB, free: 0.8477 MB / 0.6075 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) Environment - environmentSimulation: