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.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.007221/0.007221, allocations: 101 kB / 15.73 MB, free: 6.059 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.001379/0.001379, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.906/0.906, allocations: 143.3 MB / 433.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 69.48 kB / 0.5954 GB, free: 12.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1803, allocations: 82.03 MB / 0.6755 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001873/0.1822, allocations: 0.6063 MB / 0.6761 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.1843, allocations: 1.393 MB / 0.6774 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.1844, allocations: 0 / 0.6774 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.233e-05/0.1844, allocations: 3.938 kB / 0.6774 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.1845, allocations: 4 kB / 0.6774 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007561/0.1853, allocations: 171.6 kB / 0.6776 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.1854, allocations: 63.81 kB / 0.6776 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.1855, allocations: 0 / 0.6776 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.196e-05/0.1855, allocations: 19.92 kB / 0.6777 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.897e-05/0.1856, allocations: 31.91 kB / 0.6777 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1856, allocations: 0 / 0.6777 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003576/0.186, allocations: 195.7 kB / 0.6779 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.186, allocations: 15.98 kB / 0.6779 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.1861, allocations: 27.8 kB / 0.6779 GB, free: 8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.1864, allocations: 187.7 kB / 0.6781 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1864, allocations: 0 / 0.6781 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1864, allocations: 4 kB / 0.6781 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.1864, allocations: 0 / 0.6781 GB, free: 7.812 MB / 0.5137 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.000549/0.187, allocations: 446.3 kB / 0.6785 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.187, allocations: 8.031 kB / 0.6785 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.1871, allocations: 38.75 kB / 0.6786 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.1871, allocations: 0.9375 kB / 0.6786 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.1873, allocations: 172.3 kB / 0.6787 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1873, allocations: 4.375 kB / 0.6787 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.1873, allocations: 4.375 kB / 0.6788 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1875, allocations: 97.77 kB / 0.6788 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1875, allocations: 0 / 0.6788 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1875, allocations: 7.984 kB / 0.6789 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1876, allocations: 0 / 0.6789 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.997e-05/0.1877, allocations: 59.95 kB / 0.6789 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.1878, allocations: 181.6 kB / 0.6791 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.188, allocations: 82.47 kB / 0.6792 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.395e-05/0.1881, allocations: 68.89 kB / 0.6792 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.1881, allocations: 4 kB / 0.6792 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.1881, allocations: 38.48 kB / 0.6793 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 4.569e-06/0.1882, allocations: 3.984 kB / 0.6793 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.000421/0.1886, allocations: 251.2 kB / 0.6795 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.1886, allocations: 85.11 kB / 0.6796 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.1888, allocations: 140.3 kB / 0.6797 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1888, allocations: 33.64 kB / 0.6798 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.1889, allocations: 88.17 kB / 0.6798 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.1889, allocations: 15.89 kB / 0.6799 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.189, allocations: 25.72 kB / 0.6799 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1891, allocations: 322.8 kB / 0.6802 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1893, allocations: 103.9 kB / 0.6803 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1894, allocations: 103.9 kB / 0.6804 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.1897, allocations: 277.8 kB / 0.6807 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1897, allocations: 3.938 kB / 0.6807 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000383/0.1901, allocations: 336.8 kB / 0.681 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.219e-05/0.1902, allocations: 67.39 kB / 0.681 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1902, allocations: 0 / 0.681 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1902, allocations: 0 / 0.681 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.645e-06/0.1902, allocations: 3.938 kB / 0.681 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1902, allocations: 0 / 0.681 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.1904, allocations: 15.88 kB / 0.6811 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1904, allocations: 4 kB / 0.6811 GB, free: 4.484 MB / 0.5137 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.0001258/0.1906, allocations: 151.5 kB / 0.6812 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.1906, allocations: 15.92 kB / 0.6812 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.747e-05/0.1906, allocations: 8.25 kB / 0.6812 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1906, allocations: 4 kB / 0.6812 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1906, allocations: 0 / 0.6812 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1906, allocations: 0 / 0.6812 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.1908, allocations: 173.6 kB / 0.6814 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1908, allocations: 3.938 kB / 0.6814 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1908, allocations: 0 / 0.6814 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1908, allocations: 0 / 0.6814 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1908, allocations: 4 kB / 0.6814 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1908, allocations: 0 / 0.6814 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1908, allocations: 4 kB / 0.6814 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.1911, allocations: 222.7 kB / 0.6816 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.1912, allocations: 92.94 kB / 0.6817 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.1912, allocations: 3.984 kB / 0.6817 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-05/0.1913, allocations: 8 kB / 0.6817 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.1913, allocations: 7.984 kB / 0.6817 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.1913, allocations: 4 kB / 0.6817 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.124e-05/0.1914, allocations: 107.3 kB / 0.6818 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1914, allocations: 0 / 0.6818 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003009/0.1917, allocations: 67.86 kB / 0.6819 GB, free: 3.512 MB / 0.5137 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.0007941/0.1925, allocations: 0.813 MB / 0.6827 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004482/0.193, allocations: 374.6 kB / 0.6831 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.193, allocations: 4.062 kB / 0.6831 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.1932, allocations: 135.3 kB / 0.6832 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.1933, allocations: 10.5 kB / 0.6832 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.1956, allocations: 2.134 MB / 0.6853 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.1959, allocations: 0.6923 MB / 0.686 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.572e-06/0.1959, allocations: 4 kB / 0.686 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.196, allocations: 15.44 kB / 0.686 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.196, allocations: 0 / 0.686 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.2209, allocations: 3.332 MB / 0.6892 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/8.027, allocations: 7.094 kB / 0.6892 GB, free: 11.93 MB / 0.5294 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)