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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.343/1.343, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001061/0.001061, allocations: 185.5 kB / 326.5 MB, free: 2.223 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.736/1.736, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0009415/0.0009414, allocations: 95.92 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003175, allocations: 11.31 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2051, allocations: 106.3 MB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0006592/0.2058, allocations: 357.2 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.2074, allocations: 1.424 MB / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.2074, allocations: 0 / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.799e-05/0.2075, allocations: 3.938 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.948e-05/0.2075, allocations: 7.984 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.208, allocations: 147.7 kB / 0.902 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.684e-05/0.2081, allocations: 23.97 kB / 0.9021 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.2081, allocations: 3.984 kB / 0.9021 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.729e-05/0.2082, allocations: 15.94 kB / 0.9021 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.2082, allocations: 23.97 kB / 0.9021 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.2083, allocations: 3.938 kB / 0.9021 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002566/0.2085, allocations: 203.8 kB / 0.9023 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.2086, allocations: 11.92 kB / 0.9023 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.2086, allocations: 33.7 kB / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.2088, allocations: 139.7 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2088, allocations: 4 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2088, allocations: 0 / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.2088, allocations: 0 / 0.9025 GB, free: 61.93 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.0002659/0.209, allocations: 393.2 kB / 0.9029 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2091, allocations: 12.03 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.545e-05/0.2091, allocations: 30.56 kB / 0.9029 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.2092, allocations: 7.953 kB / 0.9029 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.045e-05/0.2092, allocations: 174.9 kB / 0.9031 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.2093, allocations: 4 kB / 0.9031 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.2093, allocations: 4 kB / 0.9031 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.2094, allocations: 73.66 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.2094, allocations: 0 / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2094, allocations: 0 / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2095, allocations: 0 / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.817e-05/0.2095, allocations: 35.97 kB / 0.9032 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.2096, allocations: 165.6 kB / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.228e-05/0.2097, allocations: 66.48 kB / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-06/0.2097, allocations: 12.02 kB / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2097, allocations: 30.56 kB / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.2098, allocations: 0 / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002811/0.21, allocations: 272.3 kB / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.2101, allocations: 77.11 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.178e-05/0.2101, allocations: 109.8 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.2102, allocations: 29.7 kB / 0.9039 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.231e-05/0.2102, allocations: 88.08 kB / 0.904 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.2102, allocations: 31.61 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.2102, allocations: 0 / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.2103, allocations: 322.8 kB / 0.9043 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.373e-05/0.2103, allocations: 35.97 kB / 0.9044 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.2104, allocations: 36.67 kB / 0.9044 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.665e-05/0.2104, allocations: 69.73 kB / 0.9045 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2104, allocations: 0 / 0.9045 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000143/0.2106, allocations: 151.3 kB / 0.9046 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.2106, allocations: 37.69 kB / 0.9047 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2106, allocations: 4.062 kB / 0.9047 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2107, allocations: 0 / 0.9047 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.183e-06/0.2107, allocations: 0 / 0.9047 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2107, allocations: 0 / 0.9047 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.2108, allocations: 11.91 kB / 0.9047 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.2108, allocations: 7.984 kB / 0.9047 GB, free: 59.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.864e-05/0.2109, allocations: 155.4 kB / 0.9048 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.211, allocations: 7.938 kB / 0.9048 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.256e-05/0.211, allocations: 8.375 kB / 0.9048 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.211, allocations: 4 kB / 0.9048 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.211, allocations: 0 / 0.9048 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.211, allocations: 0 / 0.9048 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.825e-05/0.2111, allocations: 169.6 kB / 0.905 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.2111, allocations: 0 / 0.905 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-06/0.2111, allocations: 4 kB / 0.905 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.2111, allocations: 0 / 0.905 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2111, allocations: 4 kB / 0.905 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2111, allocations: 4 kB / 0.905 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2111, allocations: 0 / 0.905 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.2114, allocations: 202.6 kB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.2114, allocations: 81.02 kB / 0.9053 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.2114, allocations: 7.984 kB / 0.9053 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.198e-05/0.2115, allocations: 4 kB / 0.9053 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.2115, allocations: 11.94 kB / 0.9053 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.2115, allocations: 7.984 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.2116, allocations: 91.27 kB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.543e-06/0.2116, allocations: 3.938 kB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002825/0.2118, allocations: 75.97 kB / 0.9055 GB, free: 58.47 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 (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.0005938/0.2124, allocations: 0.8093 MB / 0.9063 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.2127, allocations: 203.3 kB / 0.9065 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2127, allocations: 0 / 0.9065 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.998e-05/0.2128, allocations: 159.4 kB / 0.9066 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.213, allocations: 0 / 0.9066 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.2134, allocations: 236.3 kB / 0.9068 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.2136, allocations: 0.6887 MB / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.25e-06/0.2136, allocations: 0 / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.2136, allocations: 11.44 kB / 0.9075 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2136, allocations: 0 / 0.9075 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0123/0.2259, allocations: 2.774 MB / 0.9102 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001314/0.2261, allocations: 202.5 kB / 0.9104 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/1.749, allocations: 4.062 kB / 0.9104 GB, free: 53.4 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)