Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.001306/0.001306, 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.001253/0.001253, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002433/0.002433, allocations: 282.9 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.022/1.022, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002677, allocations: 100.5 kB / 0.6065 GB, free: 24.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1567, allocations: 89.13 MB / 0.6936 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002601/0.1593, allocations: 1.473 MB / 0.695 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1605, allocations: 0.7813 MB / 0.6958 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.1606, allocations: 0 / 0.6958 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.1608, allocations: 128.4 kB / 0.6959 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.1613, allocations: 178.2 kB / 0.6961 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.1614, allocations: 78.27 kB / 0.6962 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.48e-05/0.1615, allocations: 71.8 kB / 0.6962 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.944e-05/0.1616, allocations: 7.938 kB / 0.6962 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.31e-05/0.1617, allocations: 47.81 kB / 0.6963 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1618, allocations: 81.88 kB / 0.6964 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1618, allocations: 4 kB / 0.6964 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.1622, allocations: 219.7 kB / 0.6966 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.1623, allocations: 107.7 kB / 0.6967 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.051e-05/0.1624, allocations: 95.2 kB / 0.6968 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.1628, allocations: 347.4 kB / 0.6971 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1628, allocations: 4 kB / 0.6971 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1628, allocations: 1.719 kB / 0.6971 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1628, allocations: 0 / 0.6971 GB, free: 0.6445 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.0007928/0.1636, allocations: 0.6035 MB / 0.6977 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1636, allocations: 8.031 kB / 0.6977 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.1637, allocations: 34.75 kB / 0.6977 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.1637, allocations: 32.56 kB / 0.6978 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008653/0.1646, allocations: 0.9159 MB / 0.6987 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1646, allocations: 4.375 kB / 0.6987 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.1646, allocations: 384 / 0.6987 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.1648, allocations: 85.78 kB / 0.6987 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1649, allocations: 3.938 kB / 0.6988 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.1649, allocations: 0 / 0.6988 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1649, allocations: 0 / 0.6988 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.1651, allocations: 111.9 kB / 0.6989 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006642/0.1658, allocations: 0.5748 MB / 0.6994 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.166, allocations: 106.5 kB / 0.6995 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.1661, allocations: 60.89 kB / 0.6996 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.1662, allocations: 19.98 kB / 0.6996 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1662, allocations: 30.56 kB / 0.6996 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1662, allocations: 0 / 0.6996 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004704/0.1667, allocations: 217.2 kB / 0.6998 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.1667, allocations: 51.53 kB / 0.6999 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.1679, allocations: 1.216 MB / 0.7011 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1679, allocations: 25.7 kB / 0.7011 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.1681, allocations: 176.1 kB / 0.7013 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.1681, allocations: 3.906 kB / 0.7013 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.1681, allocations: 17.72 kB / 0.7013 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1683, allocations: 350.7 kB / 0.7016 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1684, allocations: 47.97 kB / 0.7017 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.1685, allocations: 59.95 kB / 0.7017 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.1687, allocations: 104.7 kB / 0.7018 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1687, allocations: 0 / 0.7018 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002841/0.169, allocations: 165.2 kB / 0.702 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.169, allocations: 8.094 kB / 0.702 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1691, allocations: 4 kB / 0.702 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1691, allocations: 0 / 0.702 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.1692, allocations: 7.984 kB / 0.702 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1692, allocations: 0 / 0.702 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.1693, allocations: 8 kB / 0.702 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.1693, allocations: 0 / 0.702 GB, free: 11.39 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 (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 prepare postOptimizeDAE: time 0.0001403/0.1694, allocations: 170.4 kB / 0.7022 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/0.1695, allocations: 27.62 kB / 0.7022 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/0.1698, allocations: 184 kB / 0.7024 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1698, allocations: 0 / 0.7024 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1698, allocations: 0 / 0.7024 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1698, allocations: 0 / 0.7024 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.1701, allocations: 297.5 kB / 0.7027 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1701, allocations: 0 / 0.7027 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.1702, allocations: 15.98 kB / 0.7027 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1702, allocations: 0 / 0.7027 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.1702, allocations: 4.031 kB / 0.7027 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1702, allocations: 0 / 0.7027 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1702, allocations: 3.938 kB / 0.7027 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.1706, allocations: 270.9 kB / 0.7029 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.1707, allocations: 120.7 kB / 0.7031 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.1707, allocations: 3.984 kB / 0.7031 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1708, allocations: 16.03 kB / 0.7031 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.1709, allocations: 0 / 0.7031 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1709, allocations: 3.938 kB / 0.7031 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009132/0.1718, allocations: 0.952 MB / 0.704 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1718, allocations: 0 / 0.704 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003421/0.1722, allocations: 75.98 kB / 0.7041 GB, free: 9.172 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.0007973/0.173, allocations: 0.848 MB / 0.7049 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.1732, allocations: 103.9 kB / 0.705 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1732, allocations: 0 / 0.705 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.1734, allocations: 56.06 kB / 0.7051 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.1737, allocations: 21.56 kB / 0.7051 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007133/0.1808, allocations: 6.835 MB / 0.7118 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.1813, allocations: 0.7791 MB / 0.7125 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.492e-05/0.1814, allocations: 38.92 kB / 0.7125 GB, free: 368 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.1815, allocations: 95.41 kB / 0.7126 GB, free: 272 kB / 0.4981 GB Notification: Performance of SimCode: time 8.02e-07/0.1815, allocations: 0 / 0.7126 GB, free: 272 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.2101, allocations: 7.064 MB / 0.7195 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/7.677, allocations: 4.688 kB / 0.7195 GB, free: 9.301 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.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_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1)