Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_8_Buildings_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.0011/0.0011, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001064/0.001065, allocations: 195.3 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.591/1.591, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 78.55 kB / 0.6709 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1786, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001653/0.1803, allocations: 0.686 MB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1818, allocations: 1.457 MB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.778e-05/0.1818, allocations: 4 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.206e-05/0.1819, allocations: 0 / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.522e-05/0.1819, allocations: 0 / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.1824, allocations: 135.7 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.029e-05/0.1825, allocations: 39.95 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.02e-05/0.1825, allocations: 0 / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.425e-05/0.1825, allocations: 23.92 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.1826, allocations: 31.91 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.1826, allocations: 4 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.1829, allocations: 191.7 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.1829, allocations: 11.98 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.183, allocations: 23.75 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.1832, allocations: 187.8 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1832, allocations: 3.938 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.51e-07/0.1832, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.1832, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB 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.0003587/0.1836, allocations: 434.8 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1836, allocations: 12.03 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.664e-05/0.1837, allocations: 34.75 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.1837, allocations: 8.844 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.1838, allocations: 180.2 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.1838, allocations: 384 / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.1838, allocations: 4.375 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.184, allocations: 97.77 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.184, allocations: 0 / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.184, allocations: 0 / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1841, allocations: 0 / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.883e-05/0.1842, allocations: 67.89 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.1843, allocations: 177.6 kB / 0.7865 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.1844, allocations: 82.53 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/0.1845, allocations: 68.89 kB / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-06/0.1845, allocations: 0 / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.1845, allocations: 34.5 kB / 0.7867 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.074e-06/0.1845, allocations: 4 kB / 0.7867 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003429/0.1849, allocations: 251.2 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.1849, allocations: 85.09 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.185, allocations: 148.3 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.1851, allocations: 29.69 kB / 0.7872 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.1851, allocations: 96.12 kB / 0.7873 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.1851, allocations: 7.812 kB / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.1852, allocations: 29.7 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.1853, allocations: 322.9 kB / 0.7876 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.1854, allocations: 107.9 kB / 0.7877 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.1855, allocations: 99.94 kB / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.1858, allocations: 277.9 kB / 0.7881 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1858, allocations: 4 kB / 0.7881 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003127/0.1861, allocations: 324.7 kB / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/0.1862, allocations: 75.38 kB / 0.7885 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.1862, allocations: 0 / 0.7885 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.946e-06/0.1862, allocations: 0 / 0.7885 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.1862, allocations: 0 / 0.7885 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1862, allocations: 4.062 kB / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.1863, allocations: 11.94 kB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.1863, allocations: 7.938 kB / 0.7885 GB, free: 7.789 MB / 0.6075 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 9.027e-05/0.1864, allocations: 147.5 kB / 0.7886 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.1864, allocations: 11.84 kB / 0.7886 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.592e-05/0.1865, allocations: 12.23 kB / 0.7886 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1865, allocations: 4 kB / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1865, allocations: 0 / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.1865, allocations: 144 / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.635e-05/0.1866, allocations: 177.6 kB / 0.7888 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1866, allocations: 3.938 kB / 0.7888 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-06/0.1866, allocations: 3.984 kB / 0.7888 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1866, allocations: 0 / 0.7888 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1866, allocations: 4 kB / 0.7888 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1866, allocations: 0 / 0.7888 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1866, allocations: 0 / 0.7888 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.1869, allocations: 230.6 kB / 0.7891 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.1869, allocations: 88.98 kB / 0.7891 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.1869, allocations: 4 kB / 0.7891 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.693e-05/0.187, allocations: 4 kB / 0.7891 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.187, allocations: 11.98 kB / 0.7892 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1871, allocations: 0 / 0.7892 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.996e-05/0.1871, allocations: 103.2 kB / 0.7893 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1871, allocations: 4 kB / 0.7893 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002613/0.1874, allocations: 71.98 kB / 0.7893 GB, free: 6.809 MB / 0.6075 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.0006042/0.188, allocations: 0.8169 MB / 0.7901 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003601/0.1884, allocations: 374.6 kB / 0.7905 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1884, allocations: 0 / 0.7905 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1885, allocations: 131.4 kB / 0.7906 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.1887, allocations: 4 kB / 0.7906 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.1905, allocations: 2.137 MB / 0.7927 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.1907, allocations: 0.6887 MB / 0.7934 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.452e-06/0.1907, allocations: 7.938 kB / 0.7934 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.1907, allocations: 15.44 kB / 0.7934 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.1907, allocations: 0 / 0.7934 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3137/0.5044, allocations: 3.051 MB / 0.7964 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/0.5047, allocations: 203.3 kB / 0.7966 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.506, allocations: 0 / 0.7966 GB, free: 15.25 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)