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.00109/0.00109, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001215/0.001215, allocations: 191.1 kB / 16.25 MB, free: 6.621 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.111/1.111, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.465/1.465, allocations: 292.3 MB / 0.5486 GB, free: 13.66 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.001435/0.001436, allocations: 65.38 kB / 0.6711 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.16, allocations: 114.5 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001434/0.1615, allocations: 0.6976 MB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1629, allocations: 1.472 MB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.708e-05/0.1629, allocations: 4 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.8e-05/0.163, allocations: 0 / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.792e-05/0.163, allocations: 4 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.1635, allocations: 183.7 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.658e-05/0.1636, allocations: 47.89 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.965e-05/0.1636, allocations: 288 / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.1637, allocations: 11.98 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.64e-05/0.1637, allocations: 23.92 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1637, allocations: 4 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.164, allocations: 251.7 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.164, allocations: 4 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.1641, allocations: 19.86 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1643, allocations: 215.5 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.1643, allocations: 3.938 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1643, allocations: 0 / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.1643, allocations: 0 / 0.7858 GB, free: 10.88 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.0003094/0.1646, allocations: 411.9 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.1647, allocations: 15.97 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.323e-05/0.1647, allocations: 30.75 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.1647, allocations: 8.938 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.666e-05/0.1648, allocations: 168.2 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.1648, allocations: 8.375 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.1649, allocations: 4.312 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.165, allocations: 77.78 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.608e-06/0.165, allocations: 0 / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.165, allocations: 0 / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.165, allocations: 4 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.115e-05/0.1651, allocations: 39.97 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.1652, allocations: 161.7 kB / 0.7867 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.601e-05/0.1653, allocations: 62.55 kB / 0.7868 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.1653, allocations: 56.8 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-06/0.1653, allocations: 0 / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.1653, allocations: 34.5 kB / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 7.21e-07/0.1653, allocations: 4 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002468/0.1656, allocations: 191.4 kB / 0.787 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.1656, allocations: 81.11 kB / 0.7871 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.256e-05/0.1657, allocations: 113.8 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.1657, allocations: 25.7 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.1658, allocations: 84.14 kB / 0.7873 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.1658, allocations: 23.64 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.1658, allocations: 21.72 kB / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.71e-05/0.1659, allocations: 326.8 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.686e-05/0.166, allocations: 35.97 kB / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.267e-05/0.166, allocations: 35.97 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.1661, allocations: 140.2 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1661, allocations: 4 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000156/0.1663, allocations: 147.8 kB / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.1663, allocations: 42.62 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1664, allocations: 0 / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1664, allocations: 4 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.1664, allocations: 4.062 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1664, allocations: 3.984 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.656e-05/0.1665, allocations: 7.984 kB / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.1665, allocations: 7.938 kB / 0.7881 GB, free: 8.27 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.014e-05/0.1666, allocations: 151.5 kB / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.1666, allocations: 7.938 kB / 0.7883 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.917e-06/0.1666, allocations: 4.375 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1666, allocations: 3.984 kB / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1666, allocations: 0 / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.1666, allocations: 11.94 kB / 0.7883 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.922e-05/0.1667, allocations: 165.6 kB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1667, allocations: 0 / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-06/0.1667, allocations: 3.938 kB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1667, allocations: 0 / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1667, allocations: 4 kB / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1668, allocations: 3.984 kB / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1668, allocations: 0 / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.167, allocations: 198.8 kB / 0.7886 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.167, allocations: 96.88 kB / 0.7887 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.167, allocations: 4 kB / 0.7887 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.265e-05/0.1671, allocations: 4 kB / 0.7887 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.028e-05/0.1671, allocations: 15.92 kB / 0.7888 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.1671, allocations: 4 kB / 0.7888 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.597e-05/0.1671, allocations: 91.27 kB / 0.7888 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1671, allocations: 0 / 0.7888 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002428/0.1674, allocations: 68 kB / 0.7889 GB, free: 7.34 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 (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.0005509/0.1679, allocations: 0.7975 MB / 0.7897 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.1681, allocations: 191.3 kB / 0.7899 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1682, allocations: 0 / 0.7899 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.1683, allocations: 155.3 kB / 0.79 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.1684, allocations: 15.09 kB / 0.79 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.1688, allocations: 238.6 kB / 0.7903 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.169, allocations: 0.6807 MB / 0.7909 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.749e-06/0.169, allocations: 0 / 0.7909 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.169, allocations: 19.42 kB / 0.7909 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.169, allocations: 0 / 0.7909 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.892/3.061, allocations: 2.985 MB / 0.7939 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003594/3.061, allocations: 212.3 kB / 0.7941 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.906/6.967, allocations: 0 / 0.7941 GB, free: 2.035 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/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)