Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",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.001064/0.001064, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 197 kB / 16.53 MB, free: 6.664 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 283 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9359/0.9359, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 95.2 kB / 0.5954 GB, free: 27.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1422, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001662/0.1439, allocations: 0.6278 MB / 0.6809 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003758/0.1443, allocations: 195.1 kB / 0.6811 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/0.1443, allocations: 4 kB / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.1443, allocations: 3.938 kB / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.1445, allocations: 14.08 kB / 0.6811 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.1447, allocations: 71.75 kB / 0.6812 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.038e-05/0.1447, allocations: 27.97 kB / 0.6812 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.1448, allocations: 8 kB / 0.6812 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.695e-05/0.1448, allocations: 11.92 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.812e-05/0.1449, allocations: 24.64 kB / 0.6813 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1449, allocations: 7.938 kB / 0.6813 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.145, allocations: 105.5 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.1451, allocations: 19.91 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.1451, allocations: 11.88 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.1453, allocations: 99.81 kB / 0.6815 GB, free: 15.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1453, allocations: 0 / 0.6815 GB, free: 15.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1453, allocations: 0.6562 kB / 0.6815 GB, free: 15.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1453, allocations: 0.5938 kB / 0.6815 GB, free: 15.38 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004474/0.1457, allocations: 366.4 kB / 0.6818 GB, free: 14.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.1458, allocations: 12.5 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.109e-05/0.1458, allocations: 35.97 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.1458, allocations: 8.844 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.146, allocations: 172.3 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.146, allocations: 5.219 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.146, allocations: 384 / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1461, allocations: 54.23 kB / 0.6821 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1462, allocations: 11.84 kB / 0.6821 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.1462, allocations: 4 kB / 0.6821 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.1462, allocations: 0 / 0.6821 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.1463, allocations: 35.89 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.1466, allocations: 241 kB / 0.6824 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.1468, allocations: 78.41 kB / 0.6825 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.503e-05/0.1468, allocations: 24.94 kB / 0.6825 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.1469, allocations: 3.984 kB / 0.6825 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1469, allocations: 38.55 kB / 0.6825 GB, free: 14.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1469, allocations: 0 / 0.6825 GB, free: 14.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02786/0.1748, allocations: 1.609 MB / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.1748, allocations: 55.41 kB / 0.6842 GB, free: 12.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/0.1749, allocations: 113.8 kB / 0.6843 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/0.175, allocations: 25.7 kB / 0.6843 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.1751, allocations: 96.12 kB / 0.6844 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.226e-05/0.1752, allocations: 23.56 kB / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.1754, allocations: 26.08 kB / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.891e-05/0.1754, allocations: 326.8 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.1759, allocations: 135.9 kB / 0.6849 GB, free: 11.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.1764, allocations: 151.9 kB / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009474/0.1774, allocations: 296.7 kB / 0.6853 GB, free: 11.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1774, allocations: 0 / 0.6853 GB, free: 11.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001144/0.1785, allocations: 337.6 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1785, allocations: 4 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1785, allocations: 0 / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1786, allocations: 0 / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.1801, allocations: 63.88 kB / 0.6857 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.1801, allocations: 3.984 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.1815, allocations: 43.95 kB / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.1815, allocations: 8 kB / 0.6857 GB, free: 10.79 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001593/0.1817, allocations: 119.1 kB / 0.6859 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.1818, allocations: 7.906 kB / 0.6859 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.1819, allocations: 16.38 kB / 0.6859 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1819, allocations: 4.422 kB / 0.6859 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1819, allocations: 0 / 0.6859 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1819, allocations: 0 / 0.6859 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005592/0.1875, allocations: 0.8492 MB / 0.6867 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1876, allocations: 0 / 0.6867 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.1887, allocations: 55.88 kB / 0.6868 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1887, allocations: 8.047 kB / 0.6868 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.1888, allocations: 11.92 kB / 0.6868 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1888, allocations: 288 / 0.6868 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.1888, allocations: 4 kB / 0.6868 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008793/0.1897, allocations: 317.1 kB / 0.6871 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.1897, allocations: 88.95 kB / 0.6872 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.1898, allocations: 3.938 kB / 0.6872 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.1908, allocations: 39.95 kB / 0.6872 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.1909, allocations: 11.98 kB / 0.6872 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.1909, allocations: 4 kB / 0.6872 GB, free: 9.156 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.128e-05/0.191, allocations: 91.27 kB / 0.6873 GB, free: 9.066 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.191, allocations: 4 kB / 0.6873 GB, free: 9.062 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003749/0.1914, allocations: 96 kB / 0.6874 GB, free: 8.969 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.001207/0.1926, allocations: 0.874 MB / 0.6883 GB, free: 8.062 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009418/0.1935, allocations: 247.8 kB / 0.6885 GB, free: 7.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1935, allocations: 0 / 0.6885 GB, free: 7.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.1939, allocations: 99.88 kB / 0.6886 GB, free: 7.723 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.1942, allocations: 4 kB / 0.6886 GB, free: 7.719 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006326/0.2006, allocations: 2.68 MB / 0.6912 GB, free: 4.949 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.2008, allocations: 0.6857 MB / 0.6919 GB, free: 4.238 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004693/0.2013, allocations: 51.98 kB / 0.6919 GB, free: 4.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004371/0.2017, allocations: 23.42 kB / 0.692 GB, free: 4.164 MB / 494.1 MB Notification: Performance of SimCode: time 1.813e-06/0.2017, allocations: 0 / 0.692 GB, free: 4.164 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.2278, allocations: 9.778 MB / 0.7015 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.464, allocations: 22.27 kB / 0.7015 GB, free: 10.44 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)