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.001192/0.001192, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001245/0.001245, allocations: 189.4 kB / 16.25 MB, free: 6.621 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.208/1.208, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.526/1.526, allocations: 292.3 MB / 0.5486 GB, free: 13.65 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.001355/0.001355, allocations: 71.16 kB / 0.6711 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1671, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001635/0.1688, allocations: 0.6821 MB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1702, allocations: 1.414 MB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.761e-05/0.1702, allocations: 4 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.654e-05/0.1703, allocations: 4 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.364e-05/0.1703, allocations: 11.86 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.1708, allocations: 155.8 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.229e-05/0.1709, allocations: 47.95 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.615e-05/0.171, allocations: 288 / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.099e-05/0.171, allocations: 23.92 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.623e-05/0.171, allocations: 31.89 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1711, allocations: 8 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.1713, allocations: 191.7 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.1714, allocations: 15.98 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.1714, allocations: 27.8 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.1716, allocations: 187.5 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1716, allocations: 0 / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1716, allocations: 0 / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.1716, allocations: 0 / 0.7857 GB, free: 10.99 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.0003574/0.172, allocations: 442.7 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.172, allocations: 12.03 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.1721, allocations: 38.75 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.1721, allocations: 8.844 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.873e-05/0.1722, allocations: 176.2 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1722, allocations: 384 / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.1722, allocations: 4.375 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1724, allocations: 97.77 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.1724, allocations: 0 / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1724, allocations: 3.938 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-06/0.1724, allocations: 0 / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.396e-05/0.1725, allocations: 63.95 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.1726, allocations: 181.5 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.772e-05/0.1727, allocations: 78.53 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.383e-05/0.1728, allocations: 72.89 kB / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-06/0.1728, allocations: 0 / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.1729, allocations: 34.5 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1729, allocations: 0 / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003239/0.1732, allocations: 263.2 kB / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.1732, allocations: 81.11 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.1733, allocations: 148.2 kB / 0.7873 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1734, allocations: 25.7 kB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.1734, allocations: 92.14 kB / 0.7875 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.1734, allocations: 11.8 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.1735, allocations: 25.72 kB / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.058e-05/0.1736, allocations: 326.8 kB / 0.7878 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1737, allocations: 104 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.1738, allocations: 103.9 kB / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.1741, allocations: 281.8 kB / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1741, allocations: 0 / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003107/0.1744, allocations: 328.7 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.251e-05/0.1745, allocations: 71.39 kB / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.1745, allocations: 0 / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.1745, allocations: 0 / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.1745, allocations: 0 / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.1745, allocations: 64 / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.1746, allocations: 15.94 kB / 0.7887 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1746, allocations: 0 / 0.7887 GB, free: 7.668 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 0.000118/0.1748, allocations: 155.5 kB / 0.7888 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.1748, allocations: 11.84 kB / 0.7888 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.1748, allocations: 8.25 kB / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1748, allocations: 0 / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1748, allocations: 0 / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1748, allocations: 0 / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.175, allocations: 173.6 kB / 0.789 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.175, allocations: 7.938 kB / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.175, allocations: 0 / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.175, allocations: 0 / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.175, allocations: 7.938 kB / 0.789 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.175, allocations: 4 kB / 0.789 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.175, allocations: 0 / 0.789 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.1753, allocations: 226.6 kB / 0.7892 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.1753, allocations: 84.95 kB / 0.7893 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.1754, allocations: 8.031 kB / 0.7893 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.585e-05/0.1754, allocations: 3.984 kB / 0.7893 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.1755, allocations: 8 kB / 0.7893 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.1755, allocations: 7.984 kB / 0.7893 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.1756, allocations: 99.27 kB / 0.7894 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1756, allocations: 0 / 0.7894 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002545/0.1758, allocations: 67.98 kB / 0.7895 GB, free: 6.695 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.0007162/0.1765, allocations: 0.8275 MB / 0.7903 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003908/0.1769, allocations: 370.6 kB / 0.7907 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.177, allocations: 4 kB / 0.7907 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.1771, allocations: 131.3 kB / 0.7908 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.1772, allocations: 4 kB / 0.7908 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.1791, allocations: 2.149 MB / 0.7929 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.1794, allocations: 0.6885 MB / 0.7936 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.471e-06/0.1794, allocations: 0 / 0.7936 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.1794, allocations: 27.42 kB / 0.7936 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.1794, allocations: 0 / 0.7936 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2447/0.4241, allocations: 3.135 MB / 0.7967 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/0.4244, allocations: 203.4 kB / 0.7968 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.143, allocations: 0 / 0.7968 GB, free: 15.05 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)