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.001279/0.001279, allocations: 108 kB / 15.6 MB, free: 132 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.001402/0.001402, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002508/0.002508, allocations: 286.7 kB / 290.7 MB, free: 2.035 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 108.5 kB / 0.6066 GB, free: 24.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1552, allocations: 89.15 MB / 0.6936 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001894/0.1571, allocations: 0.6381 MB / 0.6942 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004305/0.1575, allocations: 195.2 kB / 0.6944 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.1576, allocations: 1.25 kB / 0.6944 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.1576, allocations: 3.938 kB / 0.6944 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.1578, allocations: 7.922 kB / 0.6944 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.158, allocations: 80.5 kB / 0.6945 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.514e-05/0.1581, allocations: 31.92 kB / 0.6945 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.1581, allocations: 0.6562 kB / 0.6945 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.393e-05/0.1582, allocations: 19.39 kB / 0.6946 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.1582, allocations: 23.91 kB / 0.6946 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1583, allocations: 4 kB / 0.6946 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.1584, allocations: 103.7 kB / 0.6947 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.1585, allocations: 11.98 kB / 0.6947 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.1585, allocations: 15.88 kB / 0.6947 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1587, allocations: 103.7 kB / 0.6948 GB, free: 2.984 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1587, allocations: 0 / 0.6948 GB, free: 2.984 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1587, allocations: 0 / 0.6948 GB, free: 2.984 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1587, allocations: 0 / 0.6948 GB, free: 2.984 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.0005628/0.1593, allocations: 365.6 kB / 0.6952 GB, free: 2.578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1593, allocations: 12.03 kB / 0.6952 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.1594, allocations: 42.73 kB / 0.6952 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.1594, allocations: 4.844 kB / 0.6952 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.1596, allocations: 172.3 kB / 0.6954 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1596, allocations: 384 / 0.6954 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.1597, allocations: 384 / 0.6954 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.1598, allocations: 62.22 kB / 0.6954 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1598, allocations: 3.938 kB / 0.6954 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1599, allocations: 0 / 0.6954 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1599, allocations: 3.938 kB / 0.6954 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.16, allocations: 35.97 kB / 0.6955 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.1603, allocations: 244.9 kB / 0.6957 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.1605, allocations: 70.53 kB / 0.6958 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.787e-05/0.1606, allocations: 32.92 kB / 0.6958 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.1607, allocations: 7.875 kB / 0.6958 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1607, allocations: 34.5 kB / 0.6959 GB, free: 1.742 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1607, allocations: 0 / 0.6959 GB, free: 1.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02815/0.1888, allocations: 1.605 MB / 0.6974 GB, free: 132 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.1889, allocations: 55.41 kB / 0.6975 GB, free: 64 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1891, allocations: 117.8 kB / 0.6976 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.099e-05/0.1892, allocations: 29.7 kB / 0.6976 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.1892, allocations: 84.14 kB / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.036e-05/0.1893, allocations: 35.53 kB / 0.6977 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.1895, allocations: 25.72 kB / 0.6978 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1897, allocations: 318.8 kB / 0.6981 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.1902, allocations: 147.9 kB / 0.6982 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004962/0.1907, allocations: 139.9 kB / 0.6983 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.1917, allocations: 296.7 kB / 0.6986 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1917, allocations: 0 / 0.6986 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001212/0.193, allocations: 338.1 kB / 0.6989 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.193, allocations: 4 kB / 0.6989 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.193, allocations: 96 / 0.6989 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.193, allocations: 11.92 kB / 0.699 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.1946, allocations: 63.92 kB / 0.699 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1947, allocations: 0 / 0.699 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.1961, allocations: 47.95 kB / 0.6991 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/0.1961, allocations: 7.984 kB / 0.6991 GB, free: 14.39 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: 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.0001833/0.1963, allocations: 109.8 kB / 0.6992 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.07e-05/0.1964, allocations: 8 kB / 0.6992 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.1966, allocations: 16.38 kB / 0.6992 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1966, allocations: 0 / 0.6992 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1966, allocations: 0 / 0.6992 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1966, allocations: 4 kB / 0.6992 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005885/0.2025, allocations: 0.8531 MB / 0.7 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2025, allocations: 0 / 0.7 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.2036, allocations: 51.94 kB / 0.7001 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.2037, allocations: 4 kB / 0.7001 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.2037, allocations: 7.875 kB / 0.7001 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.2037, allocations: 4 kB / 0.7001 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2037, allocations: 0 / 0.7001 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009588/0.2047, allocations: 329.1 kB / 0.7004 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.2048, allocations: 77.11 kB / 0.7005 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.806e-05/0.2048, allocations: 7.938 kB / 0.7005 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.2059, allocations: 47.94 kB / 0.7005 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.2059, allocations: 4 kB / 0.7005 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.206, allocations: 4 kB / 0.7005 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.584e-05/0.2061, allocations: 91.27 kB / 0.7006 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2061, allocations: 0 / 0.7006 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004095/0.2065, allocations: 96 kB / 0.7007 GB, free: 12.57 MB / 0.4981 GB 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.00144/0.2079, allocations: 0.874 MB / 0.7016 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.2089, allocations: 256.1 kB / 0.7018 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.209, allocations: 0 / 0.7018 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.2094, allocations: 91.89 kB / 0.7019 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.2097, allocations: 4.188 kB / 0.7019 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006903/0.2166, allocations: 2.684 MB / 0.7045 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.2169, allocations: 0.6922 MB / 0.7052 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004843/0.2174, allocations: 51.98 kB / 0.7053 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/0.2179, allocations: 23.42 kB / 0.7053 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2179, allocations: 0 / 0.7053 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/0.2508, allocations: 9.793 MB / 0.7148 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/7.959, allocations: 9.562 kB / 0.7149 GB, free: 14.03 MB / 0.5137 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)