Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildSysPro_BuildSysPro_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.0009642/0.0009641, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001027/0.001027, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 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: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.018/1.018, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003412, allocations: 12 kB / 0.5159 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1844, allocations: 83.4 MB / 0.5974 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.0006864/0.1851, allocations: 339 kB / 0.5977 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1867, allocations: 1.342 MB / 0.599 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.1867, allocations: 0 / 0.599 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.002e-05/0.1868, allocations: 0 / 0.599 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.1868, allocations: 0 / 0.599 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.1873, allocations: 135.8 kB / 0.5991 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.352e-05/0.1874, allocations: 19.97 kB / 0.5992 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.1874, allocations: 0 / 0.5992 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.1875, allocations: 31.84 kB / 0.5992 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.529e-05/0.1875, allocations: 19.97 kB / 0.5992 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.1875, allocations: 4 kB / 0.5992 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.1878, allocations: 171.7 kB / 0.5994 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.1878, allocations: 7.938 kB / 0.5994 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.1879, allocations: 33.7 kB / 0.5994 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.188, allocations: 120.1 kB / 0.5995 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1881, allocations: 4 kB / 0.5995 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1881, allocations: 0 / 0.5995 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.1881, allocations: 0 / 0.5995 GB, free: 5.527 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003649/0.1884, allocations: 438.5 kB / 0.5999 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1885, allocations: 8.031 kB / 0.6 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.1885, allocations: 30.56 kB / 0.6 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.1885, allocations: 7.906 kB / 0.6 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1887, allocations: 174.9 kB / 0.6002 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1887, allocations: 4 kB / 0.6002 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.1887, allocations: 3.984 kB / 0.6002 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1889, allocations: 97.64 kB / 0.6003 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-06/0.1889, allocations: 0 / 0.6003 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1889, allocations: 4 kB / 0.6003 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.1889, allocations: 3.938 kB / 0.6003 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.752e-05/0.189, allocations: 59.95 kB / 0.6003 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.1892, allocations: 173.6 kB / 0.6005 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1893, allocations: 86.52 kB / 0.6006 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.1893, allocations: 7.984 kB / 0.6006 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.1893, allocations: 30.56 kB / 0.6006 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1893, allocations: 0 / 0.6006 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0004515/0.1898, allocations: 328.3 kB / 0.6009 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1899, allocations: 81.11 kB / 0.601 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.19, allocations: 147.3 kB / 0.6011 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.19, allocations: 25.7 kB / 0.6012 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.1901, allocations: 96.12 kB / 0.6013 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.1901, allocations: 11.84 kB / 0.6013 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/0.1901, allocations: 7.938 kB / 0.6013 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1903, allocations: 322.8 kB / 0.6016 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1904, allocations: 103.9 kB / 0.6017 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1905, allocations: 99.94 kB / 0.6018 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.1907, allocations: 167.3 kB / 0.6019 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1907, allocations: 0 / 0.6019 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003721/0.1911, allocations: 316.8 kB / 0.6022 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.098e-05/0.1912, allocations: 71.39 kB / 0.6023 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1912, allocations: 4.062 kB / 0.6023 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1912, allocations: 0 / 0.6023 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1912, allocations: 0 / 0.6023 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1912, allocations: 8 kB / 0.6023 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.1914, allocations: 15.83 kB / 0.6023 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1914, allocations: 4 kB / 0.6023 GB, free: 2.348 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.1915, allocations: 151.5 kB / 0.6025 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.1916, allocations: 11.98 kB / 0.6025 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.763e-05/0.1916, allocations: 8.234 kB / 0.6025 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1916, allocations: 4 kB / 0.6025 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1916, allocations: 7.938 kB / 0.6025 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1916, allocations: 0 / 0.6025 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.1917, allocations: 173.6 kB / 0.6027 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1918, allocations: 4 kB / 0.6027 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.1918, allocations: 0 / 0.6027 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1918, allocations: 0 / 0.6027 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1918, allocations: 3.984 kB / 0.6027 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1918, allocations: 0 / 0.6027 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1918, allocations: 4 kB / 0.6027 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.1921, allocations: 226.7 kB / 0.6029 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.1921, allocations: 89.05 kB / 0.603 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.1922, allocations: 0 / 0.603 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.858e-05/0.1922, allocations: 4 kB / 0.603 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.1923, allocations: 7.984 kB / 0.603 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1923, allocations: 4 kB / 0.603 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.779e-05/0.1924, allocations: 109 kB / 0.6031 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1924, allocations: 4.031 kB / 0.6031 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002698/0.1927, allocations: 60 kB / 0.6032 GB, free: 1.383 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006974/0.1934, allocations: 0.817 MB / 0.604 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.1938, allocations: 370.7 kB / 0.6043 GB, free: 148 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1938, allocations: 96 / 0.6043 GB, free: 148 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.3199/0.5137, allocations: 137.9 kB / 0.6045 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.5139, allocations: 6.688 kB / 0.6045 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000742/0.5146, allocations: 436.4 kB / 0.6049 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.5148, allocations: 0.6937 MB / 0.6056 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.182e-06/0.5148, allocations: 0 / 0.6056 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.5148, allocations: 18.27 kB / 0.6056 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/0.5148, allocations: 0.6562 kB / 0.6056 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/0.5273, allocations: 2.89 MB / 0.6084 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001286/0.5275, allocations: 193.4 kB / 0.6086 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.219, allocations: 7.266 kB / 0.6086 GB, free: 39.65 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) Environment - environmentSimulation: