Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",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.001272/0.001272, allocations: 104 kB / 15.6 MB, free: 148 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.001274/0.001274, allocations: 194.5 kB / 16.53 MB, free: 6.652 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002449/0.002449, allocations: 294.4 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.058/1.058, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002642, allocations: 99.36 kB / 0.6065 GB, free: 24.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1464, allocations: 89.15 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002679/0.1491, allocations: 1.494 MB / 0.6951 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1503, allocations: 0.744 MB / 0.6958 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.1503, allocations: 1.125 kB / 0.6958 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.1505, allocations: 131.8 kB / 0.6959 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.588e-05/0.1506, allocations: 71.83 kB / 0.696 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.1512, allocations: 185.2 kB / 0.6962 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.541e-05/0.1513, allocations: 59.88 kB / 0.6962 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.575e-05/0.1513, allocations: 7.938 kB / 0.6962 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.891e-05/0.1514, allocations: 39.88 kB / 0.6963 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1515, allocations: 79.84 kB / 0.6963 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.1515, allocations: 0 / 0.6963 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.1519, allocations: 227.6 kB / 0.6966 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.09e-05/0.152, allocations: 63.81 kB / 0.6966 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.781e-05/0.152, allocations: 55.48 kB / 0.6967 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.1524, allocations: 267.3 kB / 0.6969 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1524, allocations: 4 kB / 0.6969 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1524, allocations: 0 / 0.6969 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1524, allocations: 0 / 0.6969 GB, free: 0.8086 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006359/0.153, allocations: 0.506 MB / 0.6974 GB, free: 260 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1531, allocations: 12.03 kB / 0.6974 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.1531, allocations: 30.75 kB / 0.6975 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.1532, allocations: 20.66 kB / 0.6975 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.1534, allocations: 255.6 kB / 0.6977 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/0.1534, allocations: 4.375 kB / 0.6977 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1535, allocations: 8.375 kB / 0.6977 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.1536, allocations: 73.78 kB / 0.6978 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.1537, allocations: 0 / 0.6978 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1537, allocations: 8 kB / 0.6978 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-06/0.1537, allocations: 0 / 0.6978 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.1539, allocations: 83.92 kB / 0.6979 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.1544, allocations: 404.7 kB / 0.6983 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1546, allocations: 94.45 kB / 0.6984 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1547, allocations: 44.89 kB / 0.6984 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.1548, allocations: 19.98 kB / 0.6984 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1548, allocations: 34.56 kB / 0.6985 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1548, allocations: 0 / 0.6985 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004284/0.1552, allocations: 185.2 kB / 0.6987 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.1553, allocations: 51.41 kB / 0.6987 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.1556, allocations: 355.2 kB / 0.699 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.1557, allocations: 25.7 kB / 0.6991 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/0.1558, allocations: 140.2 kB / 0.6992 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.277e-05/0.1558, allocations: 7.844 kB / 0.6992 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.1558, allocations: 29.7 kB / 0.6992 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.156, allocations: 338.8 kB / 0.6996 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.1561, allocations: 95.94 kB / 0.6996 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.1563, allocations: 95.94 kB / 0.6997 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.1566, allocations: 203.3 kB / 0.6999 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1566, allocations: 4 kB / 0.6999 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003652/0.157, allocations: 253.2 kB / 0.7002 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.157, allocations: 8 kB / 0.7002 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.157, allocations: 0 / 0.7002 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.157, allocations: 3.938 kB / 0.7002 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.1571, allocations: 7.984 kB / 0.7002 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1571, allocations: 4 kB / 0.7002 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.1572, allocations: 15.84 kB / 0.7002 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1572, allocations: 0 / 0.7002 GB, free: 13.21 MB / 0.4981 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 (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * 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.0001171/0.1574, allocations: 145.7 kB / 0.7004 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.1574, allocations: 23.72 kB / 0.7004 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.1577, allocations: 146.5 kB / 0.7005 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1577, allocations: 4.078 kB / 0.7005 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.1577, allocations: 4.031 kB / 0.7005 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1577, allocations: 3.938 kB / 0.7005 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.158, allocations: 245.5 kB / 0.7008 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.158, allocations: 4 kB / 0.7008 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.1581, allocations: 4 kB / 0.7008 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.1581, allocations: 0 / 0.7008 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.1581, allocations: 0 / 0.7008 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.1581, allocations: 3.984 kB / 0.7008 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1581, allocations: 4 kB / 0.7008 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.1584, allocations: 231.2 kB / 0.701 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.152e-05/0.1585, allocations: 104.8 kB / 0.7011 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.1585, allocations: 0 / 0.7011 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.1586, allocations: 7.984 kB / 0.7011 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.1586, allocations: 4 kB / 0.7011 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1586, allocations: 4 kB / 0.7011 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002408/0.1589, allocations: 253.9 kB / 0.7014 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1589, allocations: 0 / 0.7014 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003229/0.1592, allocations: 67.98 kB / 0.7014 GB, free: 11.88 MB / 0.4981 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0007684/0.16, allocations: 0.8292 MB / 0.7022 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.1603, allocations: 159.9 kB / 0.7024 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1604, allocations: 0 / 0.7024 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1605, allocations: 43.91 kB / 0.7024 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.1608, allocations: 16.59 kB / 0.7024 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.1637, allocations: 2.702 MB / 0.7051 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.1641, allocations: 0.7468 MB / 0.7058 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.022e-05/0.1641, allocations: 12.55 kB / 0.7058 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.503e-05/0.1642, allocations: 59.41 kB / 0.7059 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.1642, allocations: 0 / 0.7059 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.1897, allocations: 4.248 MB / 0.71 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.386/7.576, allocations: 8.438 kB / 0.71 GB, free: 3.047 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1)