Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",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.00169/0.00169, allocations: 103 kB / 16.4 MB, free: 6.508 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.001736/0.001736, allocations: 192 kB / 17.34 MB, free: 5.738 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8342/0.8342, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 69.78 kB / 0.5736 GB, free: 26.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1699, allocations: 78.86 MB / 0.6506 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001798/0.1718, allocations: 0.5986 MB / 0.6512 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.1738, allocations: 1.39 MB / 0.6525 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.1738, allocations: 0 / 0.6525 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.161e-05/0.1739, allocations: 7.938 kB / 0.6525 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.649e-05/0.1739, allocations: 0 / 0.6525 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.1746, allocations: 181 kB / 0.6527 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.1747, allocations: 51.84 kB / 0.6528 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.1748, allocations: 3.984 kB / 0.6528 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.1748, allocations: 23.97 kB / 0.6528 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.1749, allocations: 23.92 kB / 0.6528 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1749, allocations: 4 kB / 0.6528 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.1753, allocations: 203.7 kB / 0.653 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.1754, allocations: 15.91 kB / 0.653 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.1754, allocations: 23.88 kB / 0.6531 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.1757, allocations: 191.7 kB / 0.6532 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1757, allocations: 0 / 0.6532 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1757, allocations: 0 / 0.6532 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1758, allocations: 0 / 0.6532 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004649/0.1762, allocations: 446.3 kB / 0.6537 GB, free: 320 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1763, allocations: 12.03 kB / 0.6537 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.1763, allocations: 30.75 kB / 0.6537 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.1764, allocations: 12.88 kB / 0.6537 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.1765, allocations: 168.3 kB / 0.6539 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1765, allocations: 4.375 kB / 0.6539 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1765, allocations: 4.375 kB / 0.6539 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.1767, allocations: 97.77 kB / 0.654 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1767, allocations: 0 / 0.654 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1768, allocations: 0 / 0.654 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1768, allocations: 0 / 0.654 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1769, allocations: 71.83 kB / 0.654 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.1771, allocations: 181.6 kB / 0.6542 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.1772, allocations: 86.53 kB / 0.6543 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.15e-05/0.1773, allocations: 64.89 kB / 0.6544 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.1773, allocations: 0 / 0.6544 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1773, allocations: 38.5 kB / 0.6544 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1773, allocations: 0 / 0.6544 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0004105/0.1778, allocations: 255.2 kB / 0.6546 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.1778, allocations: 85.09 kB / 0.6547 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.178, allocations: 147.7 kB / 0.6549 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.178, allocations: 25.7 kB / 0.6549 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.178, allocations: 92.12 kB / 0.655 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.1781, allocations: 7.906 kB / 0.655 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.1781, allocations: 29.7 kB / 0.655 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1783, allocations: 326.8 kB / 0.6553 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1784, allocations: 99.94 kB / 0.6554 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.1785, allocations: 99.94 kB / 0.6555 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.1789, allocations: 293.8 kB / 0.6558 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1789, allocations: 0 / 0.6558 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003717/0.1792, allocations: 324.7 kB / 0.6561 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.484e-05/0.1793, allocations: 75.38 kB / 0.6562 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1793, allocations: 0 / 0.6562 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1793, allocations: 0 / 0.6562 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.1793, allocations: 0 / 0.6562 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1794, allocations: 3.984 kB / 0.6562 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.1795, allocations: 15.89 kB / 0.6562 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.1795, allocations: 4 kB / 0.6562 GB, free: 13.47 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001139/0.1796, allocations: 151.6 kB / 0.6563 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.1797, allocations: 7.891 kB / 0.6564 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.45e-05/0.1797, allocations: 12.23 kB / 0.6564 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1797, allocations: 0 / 0.6564 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1797, allocations: 0 / 0.6564 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1797, allocations: 0 / 0.6564 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.1799, allocations: 173.6 kB / 0.6565 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1799, allocations: 3.938 kB / 0.6565 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-06/0.1799, allocations: 0 / 0.6565 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1799, allocations: 3.938 kB / 0.6565 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1799, allocations: 12 kB / 0.6565 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1799, allocations: 0 / 0.6565 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1799, allocations: 0 / 0.6565 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.1802, allocations: 234.6 kB / 0.6568 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.1802, allocations: 85 kB / 0.6569 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.1803, allocations: 4 kB / 0.6569 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.52e-05/0.1803, allocations: 4 kB / 0.6569 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.1804, allocations: 12.02 kB / 0.6569 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.1804, allocations: 0 / 0.6569 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.199e-05/0.1805, allocations: 113.4 kB / 0.657 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1805, allocations: 0 / 0.657 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002836/0.1808, allocations: 63.88 kB / 0.657 GB, free: 12.5 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: 1 (i) * Number of discrete states: 1 (i) * 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.000736/0.1815, allocations: 0.817 MB / 0.6578 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004179/0.182, allocations: 370.6 kB / 0.6582 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.182, allocations: 4 kB / 0.6582 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.1821, allocations: 131.4 kB / 0.6583 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.1823, allocations: 7.938 kB / 0.6583 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.1844, allocations: 2.14 MB / 0.6604 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.1848, allocations: 0.6964 MB / 0.6611 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.701e-06/0.1848, allocations: 0 / 0.6611 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.1848, allocations: 19.42 kB / 0.6611 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1848, allocations: 0 / 0.6611 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/0.2226, allocations: 3.289 MB / 0.6643 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.235, allocations: 10.19 kB / 0.6643 GB, free: 4.93 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)