Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.QuinticHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_Buildings_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.0009932/0.0009932, 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.001053/0.001053, allocations: 193.8 kB / 16.25 MB, free: 6.617 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.177/1.177, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.522/1.522, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001255/0.001255, allocations: 65.97 kB / 0.6711 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1591, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001513/0.1607, allocations: 0.7116 MB / 0.7837 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003171/0.161, allocations: 191.2 kB / 0.7839 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.13e-05/0.161, allocations: 4 kB / 0.7839 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.16e-05/0.1611, allocations: 0 / 0.7839 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.1612, allocations: 3.938 kB / 0.7839 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.1614, allocations: 67.89 kB / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.475e-05/0.1614, allocations: 27.91 kB / 0.784 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.1614, allocations: 8 kB / 0.784 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.42e-05/0.1615, allocations: 15.92 kB / 0.784 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.1615, allocations: 23.91 kB / 0.784 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.1615, allocations: 4 kB / 0.784 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1617, allocations: 103.7 kB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.1617, allocations: 11.94 kB / 0.7841 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.1617, allocations: 15.91 kB / 0.7841 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.1619, allocations: 103.8 kB / 0.7842 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1619, allocations: 0 / 0.7842 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1619, allocations: 0 / 0.7842 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.1619, allocations: 0 / 0.7842 GB, free: 12.51 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000395/0.1623, allocations: 375.5 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.1623, allocations: 8.031 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.038e-05/0.1623, allocations: 38.75 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.989e-05/0.1624, allocations: 4.875 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.1625, allocations: 172.3 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.1625, allocations: 4.375 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.1625, allocations: 4.375 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1626, allocations: 58.17 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1627, allocations: 7.938 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.1627, allocations: 0 / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1627, allocations: 0 / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1628, allocations: 35.95 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.163, allocations: 248.9 kB / 0.7851 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.1632, allocations: 70.47 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/0.1632, allocations: 32.88 kB / 0.7852 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1633, allocations: 3.984 kB / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.1633, allocations: 30.56 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1633, allocations: 0 / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.02797/0.1913, allocations: 1.616 MB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.1913, allocations: 55.41 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.485e-05/0.1914, allocations: 109.8 kB / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.787e-05/0.1915, allocations: 29.7 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.1915, allocations: 96.12 kB / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.1916, allocations: 19.56 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.1918, allocations: 29.7 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.1919, allocations: 322.8 kB / 0.7875 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/0.1923, allocations: 135.9 kB / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.1927, allocations: 147.9 kB / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008664/0.1936, allocations: 301.3 kB / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1936, allocations: 0 / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00106/0.1947, allocations: 341.4 kB / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.1947, allocations: 4 kB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1947, allocations: 0 / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1947, allocations: 0 / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.1962, allocations: 63.88 kB / 0.7884 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1963, allocations: 0 / 0.7884 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.1976, allocations: 51.94 kB / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/0.1976, allocations: 4 kB / 0.7885 GB, free: 7.91 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: 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.0001556/0.1978, allocations: 117.8 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.1979, allocations: 4 kB / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.198, allocations: 24.3 kB / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.198, allocations: 4 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.198, allocations: 0 / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.198, allocations: 0 / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005407/0.2034, allocations: 0.8452 MB / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2035, allocations: 0 / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.2046, allocations: 51.94 kB / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2046, allocations: 0 / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/0.2046, allocations: 12 kB / 0.7895 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2046, allocations: 0 / 0.7895 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.2046, allocations: 11.92 kB / 0.7895 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008257/0.2055, allocations: 321.1 kB / 0.7898 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.2055, allocations: 81.11 kB / 0.7899 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.2056, allocations: 8 kB / 0.7899 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.2066, allocations: 43.95 kB / 0.79 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.2067, allocations: 7.984 kB / 0.79 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.2067, allocations: 4 kB / 0.79 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.807e-05/0.2068, allocations: 95.3 kB / 0.7901 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2068, allocations: 4 kB / 0.7901 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003551/0.2071, allocations: 96 kB / 0.7902 GB, free: 6.082 MB / 0.6075 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.001117/0.2082, allocations: 0.8712 MB / 0.791 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008627/0.2091, allocations: 243.8 kB / 0.7912 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.2091, allocations: 4 kB / 0.7912 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.2095, allocations: 99.88 kB / 0.7913 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.2098, allocations: 8 kB / 0.7914 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005828/0.2156, allocations: 2.691 MB / 0.794 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.2158, allocations: 0.6846 MB / 0.7946 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004817/0.2163, allocations: 48 kB / 0.7947 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/0.2167, allocations: 27.42 kB / 0.7947 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2167, allocations: 0 / 0.7947 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.062/1.278, allocations: 9.687 MB / 0.8042 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/1.279, allocations: 211.3 kB / 0.8044 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.065/3.344, allocations: 2.109 kB / 0.8044 GB, free: 7.395 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)