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.0009412/0.0009413, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009216/0.0009217, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.161/1.161, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.493/1.493, allocations: 292.3 MB / 0.5489 GB, free: 12.78 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.001213/0.001213, allocations: 74.77 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1639, allocations: 114.5 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001437/0.1653, allocations: 0.6134 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1668, allocations: 1.471 MB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.1668, allocations: 0 / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.1669, allocations: 3.938 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.589e-05/0.1669, allocations: 7.984 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.1675, allocations: 210.6 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.399e-05/0.1675, allocations: 39.91 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.672e-05/0.1676, allocations: 4.266 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.207e-05/0.1676, allocations: 19.92 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.792e-05/0.1676, allocations: 23.91 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.1677, allocations: 8 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.168, allocations: 243.6 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.168, allocations: 4 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.1681, allocations: 19.86 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.1683, allocations: 211.6 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1683, allocations: 0 / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1683, allocations: 3.938 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.706e-06/0.1683, allocations: 0 / 0.7863 GB, free: 10.45 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.0003196/0.1686, allocations: 401 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.1687, allocations: 12.03 kB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.1687, allocations: 46.67 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.1687, allocations: 4.938 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.956e-05/0.1688, allocations: 168.2 kB / 0.7869 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1689, allocations: 4.375 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.1689, allocations: 384 / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.169, allocations: 77.78 kB / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-06/0.169, allocations: 0 / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.169, allocations: 0 / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-06/0.169, allocations: 0 / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.148e-05/0.1691, allocations: 39.97 kB / 0.787 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.1692, allocations: 165.6 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.551e-05/0.1693, allocations: 62.55 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.412e-05/0.1693, allocations: 49.03 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-06/0.1694, allocations: 0 / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1694, allocations: 38.48 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.1694, allocations: 0 / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002547/0.1697, allocations: 203.1 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.1697, allocations: 77.11 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.485e-05/0.1698, allocations: 109.8 kB / 0.7877 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1698, allocations: 29.7 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/0.1698, allocations: 84.14 kB / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.1699, allocations: 23.64 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.1699, allocations: 21.72 kB / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.17, allocations: 314.8 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.17, allocations: 44 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.068e-05/0.1701, allocations: 31.98 kB / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1702, allocations: 140.2 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1702, allocations: 3.938 kB / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001703/0.1704, allocations: 159.8 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.1704, allocations: 37.69 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.1704, allocations: 3.938 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.954e-06/0.1704, allocations: 0 / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-06/0.1705, allocations: 4 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.1705, allocations: 64 / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/0.1705, allocations: 15.98 kB / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.1706, allocations: 4 kB / 0.7886 GB, free: 7.852 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.314e-05/0.1706, allocations: 151.5 kB / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.1707, allocations: 7.938 kB / 0.7887 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.626e-06/0.1707, allocations: 4.375 kB / 0.7887 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1707, allocations: 0 / 0.7887 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1707, allocations: 0 / 0.7887 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-06/0.1707, allocations: 0 / 0.7887 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.569e-05/0.1708, allocations: 177.5 kB / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1708, allocations: 4 kB / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-06/0.1708, allocations: 7.938 kB / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.1708, allocations: 0 / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1708, allocations: 4 kB / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1708, allocations: 3.984 kB / 0.7889 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1708, allocations: 0 / 0.7889 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.171, allocations: 194.7 kB / 0.7891 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.1711, allocations: 92.88 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.1711, allocations: 8.031 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.064e-05/0.1711, allocations: 4 kB / 0.7892 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.1712, allocations: 8 kB / 0.7892 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.1712, allocations: 7.984 kB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.774e-05/0.1712, allocations: 91.27 kB / 0.7893 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1712, allocations: 0 / 0.7893 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002397/0.1715, allocations: 72 kB / 0.7894 GB, free: 6.922 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.0005693/0.172, allocations: 0.7975 MB / 0.7901 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.1722, allocations: 191.3 kB / 0.7903 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.1723, allocations: 4 kB / 0.7903 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.1724, allocations: 147.3 kB / 0.7905 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.1725, allocations: 8.938 kB / 0.7905 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.1729, allocations: 231.6 kB / 0.7907 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.1731, allocations: 0.6885 MB / 0.7914 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.137e-06/0.1731, allocations: 0 / 0.7914 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.1731, allocations: 15.42 kB / 0.7914 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1731, allocations: 0 / 0.7914 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.096/2.269, allocations: 3.075 MB / 0.7944 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.218/9.487, allocations: 11.34 kB / 0.7944 GB, free: 1.738 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)