Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_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.001573/0.001573, allocations: 106.6 kB / 16.4 MB, free: 6.016 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.001405/0.001405, allocations: 195.8 kB / 17.34 MB, free: 5.609 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.5/1.5, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8251/0.8251, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 77.11 kB / 0.5736 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1616, allocations: 78.86 MB / 0.6506 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Interpolate): time 0.002487/0.1641, allocations: 1.484 MB / 0.652 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1653, allocations: 0.7379 MB / 0.6528 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.1653, allocations: 0 / 0.6528 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.1656, allocations: 131.8 kB / 0.6529 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.1657, allocations: 75.83 kB / 0.653 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.1663, allocations: 186.4 kB / 0.6531 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.1664, allocations: 59.88 kB / 0.6532 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.1664, allocations: 15.92 kB / 0.6532 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.539e-05/0.1665, allocations: 35.91 kB / 0.6532 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1666, allocations: 79.84 kB / 0.6533 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1666, allocations: 4 kB / 0.6533 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003681/0.167, allocations: 223.7 kB / 0.6535 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.775e-05/0.1671, allocations: 59.83 kB / 0.6536 GB, free: 480 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.1672, allocations: 55.48 kB / 0.6537 GB, free: 424 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.1675, allocations: 275.2 kB / 0.6539 GB, free: 148 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1675, allocations: 0 / 0.6539 GB, free: 148 kB / 494.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1675, allocations: 7.922 kB / 0.6539 GB, free: 140 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1675, allocations: 4 kB / 0.6539 GB, free: 136 kB / 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.0006333/0.1682, allocations: 0.5135 MB / 0.6544 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1682, allocations: 12.03 kB / 0.6544 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.1683, allocations: 34.69 kB / 0.6545 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.1683, allocations: 20.8 kB / 0.6545 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.1686, allocations: 263.8 kB / 0.6547 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1686, allocations: 4.375 kB / 0.6547 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.1686, allocations: 384 / 0.6547 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1688, allocations: 81.78 kB / 0.6548 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1688, allocations: 4 kB / 0.6548 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-06/0.1688, allocations: 0 / 0.6548 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1688, allocations: 0 / 0.6548 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.169, allocations: 87.88 kB / 0.6549 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.1695, allocations: 392.7 kB / 0.6553 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.1697, allocations: 90.53 kB / 0.6554 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.1698, allocations: 48.89 kB / 0.6554 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.1699, allocations: 19.98 kB / 0.6554 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1699, allocations: 30.56 kB / 0.6555 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1699, allocations: 0 / 0.6555 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004299/0.1703, allocations: 185.4 kB / 0.6556 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.1704, allocations: 51.41 kB / 0.6557 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.1707, allocations: 355.2 kB / 0.656 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1708, allocations: 25.7 kB / 0.6561 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1709, allocations: 144 kB / 0.6562 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/0.1709, allocations: 3.953 kB / 0.6562 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.171, allocations: 33.83 kB / 0.6562 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1711, allocations: 338.8 kB / 0.6566 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.1713, allocations: 91.95 kB / 0.6566 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.1715, allocations: 95.94 kB / 0.6567 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.1718, allocations: 207.9 kB / 0.6569 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1718, allocations: 4 kB / 0.6569 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003803/0.1722, allocations: 257.4 kB / 0.6572 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1722, allocations: 8 kB / 0.6572 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1722, allocations: 0 / 0.6572 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1722, allocations: 0 / 0.6572 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.454e-05/0.1723, allocations: 7.984 kB / 0.6572 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1723, allocations: 8 kB / 0.6572 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.416e-05/0.1724, allocations: 15.88 kB / 0.6572 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1724, allocations: 4 kB / 0.6572 GB, free: 12.52 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.0001397/0.1726, allocations: 145.7 kB / 0.6574 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.1726, allocations: 23.81 kB / 0.6574 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.1729, allocations: 150.5 kB / 0.6575 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1729, allocations: 4.078 kB / 0.6575 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1729, allocations: 0 / 0.6575 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1729, allocations: 0 / 0.6575 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.1732, allocations: 245.6 kB / 0.6578 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1732, allocations: 4 kB / 0.6578 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.1733, allocations: 11.92 kB / 0.6578 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1733, allocations: 0 / 0.6578 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.1733, allocations: 0 / 0.6578 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.1733, allocations: 4 kB / 0.6578 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1733, allocations: 0 / 0.6578 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.1736, allocations: 235.2 kB / 0.658 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.1737, allocations: 101 kB / 0.6581 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.1737, allocations: 7.984 kB / 0.6581 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.377e-05/0.1738, allocations: 4 kB / 0.6581 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.1739, allocations: 4 kB / 0.6581 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.1739, allocations: 3.984 kB / 0.6581 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002419/0.1741, allocations: 249.9 kB / 0.6584 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1741, allocations: 0 / 0.6584 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003378/0.1745, allocations: 71.89 kB / 0.6584 GB, free: 11.18 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.00093/0.1754, allocations: 0.8137 MB / 0.6592 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.1758, allocations: 163.9 kB / 0.6594 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1758, allocations: 0 / 0.6594 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.1759, allocations: 43.97 kB / 0.6594 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.1763, allocations: 16.64 kB / 0.6594 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.1795, allocations: 2.712 MB / 0.6621 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.18, allocations: 0.7392 MB / 0.6628 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.606e-05/0.18, allocations: 12.56 kB / 0.6628 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.666e-05/0.1801, allocations: 59.41 kB / 0.6629 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of SimCode: time 2.344e-06/0.1801, allocations: 0 / 0.6629 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.2088, allocations: 4.298 MB / 0.6671 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.173/8.382, allocations: 5.359 kB / 0.6671 GB, free: 2.305 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1)