Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_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.001357/0.001357, allocations: 107.6 kB / 16.4 MB, free: 6.473 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.00134/0.00134, allocations: 196 kB / 17.34 MB, free: 5.711 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8225/0.8225, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 74.12 kB / 0.5735 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1648, allocations: 78.86 MB / 0.6506 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Interpolate): time 0.002775/0.1676, allocations: 1.463 MB / 0.652 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.1689, allocations: 0.7778 MB / 0.6527 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.169, allocations: 0 / 0.6527 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.1692, allocations: 139.7 kB / 0.6529 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005496/0.1698, allocations: 186.6 kB / 0.6531 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.17, allocations: 71.8 kB / 0.6531 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.1701, allocations: 67.86 kB / 0.6532 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.529e-05/0.1702, allocations: 4 kB / 0.6532 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.889e-05/0.1702, allocations: 43.88 kB / 0.6532 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1704, allocations: 87.72 kB / 0.6533 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1704, allocations: 4 kB / 0.6533 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004574/0.1709, allocations: 227.6 kB / 0.6535 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.171, allocations: 111.7 kB / 0.6536 GB, free: 428 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.654e-05/0.1711, allocations: 95.22 kB / 0.6537 GB, free: 332 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.1716, allocations: 350.8 kB / 0.6541 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1716, allocations: 0 / 0.6541 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1716, allocations: 0 / 0.6541 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.1716, allocations: 0 / 0.6541 GB, free: 15.98 MB / 0.4981 GB 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.0008918/0.1725, allocations: 0.6182 MB / 0.6547 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1726, allocations: 15.97 kB / 0.6547 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.1726, allocations: 30.75 kB / 0.6547 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.1727, allocations: 36.7 kB / 0.6548 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008911/0.1736, allocations: 0.9164 MB / 0.6556 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1736, allocations: 4.375 kB / 0.6557 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-06/0.1736, allocations: 384 / 0.6557 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1738, allocations: 85.78 kB / 0.6557 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.1738, allocations: 4 kB / 0.6557 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.1738, allocations: 0 / 0.6557 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1738, allocations: 0 / 0.6557 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/0.1741, allocations: 103.9 kB / 0.6558 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006796/0.1747, allocations: 0.5787 MB / 0.6564 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.1749, allocations: 110.5 kB / 0.6565 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1751, allocations: 56.88 kB / 0.6566 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.1751, allocations: 19.98 kB / 0.6566 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.1752, allocations: 34.56 kB / 0.6566 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1752, allocations: 0 / 0.6566 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005047/0.1757, allocations: 221.3 kB / 0.6568 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.1757, allocations: 51.41 kB / 0.6569 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.177, allocations: 1.209 MB / 0.6581 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.177, allocations: 29.83 kB / 0.6581 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.1772, allocations: 180 kB / 0.6583 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.1772, allocations: 3.953 kB / 0.6583 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.1772, allocations: 25.64 kB / 0.6583 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1774, allocations: 346.8 kB / 0.6586 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.1775, allocations: 51.95 kB / 0.6587 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.1777, allocations: 51.97 kB / 0.6587 GB, free: 11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.1779, allocations: 104.9 kB / 0.6588 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1779, allocations: 0 / 0.6588 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002935/0.1782, allocations: 169.3 kB / 0.659 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1782, allocations: 9.719 kB / 0.659 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1782, allocations: 3.984 kB / 0.659 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1782, allocations: 4.031 kB / 0.659 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.512e-05/0.1783, allocations: 11.98 kB / 0.659 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1784, allocations: 3.938 kB / 0.659 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.215e-05/0.1784, allocations: 4 kB / 0.659 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1784, allocations: 0 / 0.659 GB, free: 10.68 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.0001526/0.1786, allocations: 169.7 kB / 0.6592 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.1787, allocations: 35.77 kB / 0.6592 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.179, allocations: 180 kB / 0.6594 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.179, allocations: 0 / 0.6594 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.179, allocations: 0 / 0.6594 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.179, allocations: 0 / 0.6594 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.1793, allocations: 301.5 kB / 0.6597 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1793, allocations: 0 / 0.6597 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/0.1794, allocations: 4 kB / 0.6597 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1794, allocations: 0 / 0.6597 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.1794, allocations: 4 kB / 0.6597 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1794, allocations: 3.984 kB / 0.6597 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1794, allocations: 4.031 kB / 0.6597 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.1798, allocations: 259.2 kB / 0.6599 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1799, allocations: 128.8 kB / 0.6601 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.18, allocations: 4 kB / 0.6601 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.986e-05/0.1801, allocations: 11.94 kB / 0.6601 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.1801, allocations: 8.016 kB / 0.6601 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.1801, allocations: 0 / 0.6601 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009655/0.1811, allocations: 0.952 MB / 0.661 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1811, allocations: 0 / 0.661 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004103/0.1815, allocations: 75.88 kB / 0.6611 GB, free: 8.469 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.0008857/0.1824, allocations: 0.8449 MB / 0.6619 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002866/0.1827, allocations: 103.9 kB / 0.662 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1827, allocations: 0 / 0.662 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.1829, allocations: 55.95 kB / 0.6621 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.1833, allocations: 25.72 kB / 0.6621 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007446/0.1907, allocations: 6.76 MB / 0.6687 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/0.1913, allocations: 0.7752 MB / 0.6694 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.774e-05/0.1914, allocations: 38.94 kB / 0.6695 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.1916, allocations: 95.41 kB / 0.6696 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.1916, allocations: 0 / 0.6696 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.2207, allocations: 7.126 MB / 0.6765 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.647/8.868, allocations: 16.59 kB / 0.6765 GB, free: 8.59 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Examples_Interpolate.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe 2>&1)