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.001034/0.001034, allocations: 101.1 kB / 16.4 MB, free: 6.496 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.00111/0.00111, allocations: 192 kB / 17.34 MB, free: 5.727 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.378/1.378, allocations: 222.9 MB / 241 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.8466/0.8466, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 73.22 kB / 0.568 GB, free: 28.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1766, allocations: 77.94 MB / 0.6441 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001724/0.1783, allocations: 0.5844 MB / 0.6447 GB, free: 8.891 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.1803, allocations: 1.389 MB / 0.646 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.1804, allocations: 0 / 0.646 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.754e-05/0.1805, allocations: 0 / 0.646 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.789e-05/0.1805, allocations: 7.938 kB / 0.6461 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007739/0.1813, allocations: 179.2 kB / 0.6462 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.1815, allocations: 59.84 kB / 0.6463 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.1815, allocations: 3.984 kB / 0.6463 GB, free: 7.242 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.1816, allocations: 16 kB / 0.6463 GB, free: 7.227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.384e-05/0.1817, allocations: 27.89 kB / 0.6463 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1817, allocations: 4 kB / 0.6463 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.182, allocations: 199.7 kB / 0.6465 GB, free: 7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.1821, allocations: 11.94 kB / 0.6465 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.1822, allocations: 27.86 kB / 0.6466 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.1825, allocations: 187.7 kB / 0.6467 GB, free: 6.777 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1825, allocations: 3.938 kB / 0.6467 GB, free: 6.773 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1825, allocations: 0 / 0.6467 GB, free: 6.773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.1825, allocations: 4 kB / 0.6467 GB, free: 6.77 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.00051/0.183, allocations: 450.3 kB / 0.6472 GB, free: 6.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1831, allocations: 8.625 kB / 0.6472 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.1831, allocations: 34.75 kB / 0.6472 GB, free: 6.219 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.1832, allocations: 8.891 kB / 0.6472 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1833, allocations: 176.2 kB / 0.6474 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1833, allocations: 384 / 0.6474 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.1833, allocations: 4.375 kB / 0.6474 GB, free: 5.996 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1835, allocations: 105.8 kB / 0.6475 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.1835, allocations: 0 / 0.6475 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1836, allocations: 0 / 0.6475 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1836, allocations: 0 / 0.6475 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.603e-05/0.1837, allocations: 59.95 kB / 0.6476 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.1838, allocations: 181.6 kB / 0.6477 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.1839, allocations: 78.47 kB / 0.6478 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.53e-05/0.184, allocations: 72.89 kB / 0.6479 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.184, allocations: 7.938 kB / 0.6479 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1841, allocations: 34.5 kB / 0.6479 GB, free: 5.391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1841, allocations: 0 / 0.6479 GB, free: 5.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003837/0.1845, allocations: 251.2 kB / 0.6482 GB, free: 5.133 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.1845, allocations: 85.09 kB / 0.6482 GB, free: 5.031 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.1847, allocations: 139.5 kB / 0.6484 GB, free: 4.887 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1847, allocations: 25.7 kB / 0.6484 GB, free: 4.855 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.1847, allocations: 92.12 kB / 0.6485 GB, free: 4.762 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.1848, allocations: 19.88 kB / 0.6485 GB, free: 4.742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.1848, allocations: 29.7 kB / 0.6485 GB, free: 4.707 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.1849, allocations: 318.8 kB / 0.6488 GB, free: 4.387 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.185, allocations: 103.9 kB / 0.6489 GB, free: 4.285 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1852, allocations: 99.94 kB / 0.649 GB, free: 4.188 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.1854, allocations: 285.8 kB / 0.6493 GB, free: 3.887 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1854, allocations: 4 kB / 0.6493 GB, free: 3.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003304/0.1858, allocations: 320.8 kB / 0.6496 GB, free: 3.551 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.109e-05/0.1858, allocations: 71.39 kB / 0.6497 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1859, allocations: 8.047 kB / 0.6497 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1859, allocations: 0 / 0.6497 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1859, allocations: 0 / 0.6497 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.1859, allocations: 3.938 kB / 0.6497 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.1861, allocations: 15.89 kB / 0.6497 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.1861, allocations: 4 kB / 0.6497 GB, free: 3.438 MB / 494.1 MB 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.0001128/0.1862, allocations: 147.5 kB / 0.6498 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.1862, allocations: 15.83 kB / 0.6499 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.1863, allocations: 16.23 kB / 0.6499 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1863, allocations: 0 / 0.6499 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1863, allocations: 0 / 0.6499 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1863, allocations: 144 / 0.6499 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.1864, allocations: 173.6 kB / 0.65 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1864, allocations: 3.938 kB / 0.65 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-06/0.1864, allocations: 3.984 kB / 0.65 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1864, allocations: 0 / 0.65 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1865, allocations: 4 kB / 0.6501 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1865, allocations: 0 / 0.6501 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1865, allocations: 0 / 0.6501 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.1868, allocations: 234.6 kB / 0.6503 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.1868, allocations: 85 kB / 0.6504 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.1868, allocations: 4 kB / 0.6504 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.317e-05/0.1869, allocations: 7.938 kB / 0.6504 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.187, allocations: 11.98 kB / 0.6504 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.187, allocations: 0 / 0.6504 GB, free: 2.629 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.752e-05/0.1871, allocations: 105 kB / 0.6505 GB, free: 2.527 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1871, allocations: 8.031 kB / 0.6505 GB, free: 2.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.1874, allocations: 67.88 kB / 0.6506 GB, free: 2.453 MB / 494.1 MB 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.0007093/0.1881, allocations: 0.8064 MB / 0.6513 GB, free: 1.613 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003728/0.1885, allocations: 370.6 kB / 0.6517 GB, free: 1.227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1885, allocations: 0 / 0.6517 GB, free: 1.227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.1886, allocations: 143.4 kB / 0.6518 GB, free: 1.074 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.1888, allocations: 4 kB / 0.6518 GB, free: 1.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.1908, allocations: 2.131 MB / 0.6539 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.1911, allocations: 0.6885 MB / 0.6546 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.194e-05/0.1911, allocations: 4 kB / 0.6546 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.1912, allocations: 19.42 kB / 0.6546 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1912, allocations: 0 / 0.6546 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.212, allocations: 3.296 MB / 0.6578 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/7.718, allocations: 11.73 kB / 0.6578 GB, free: 10.89 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)