Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.708/1.708, allocations: 288.2 MB / 303.2 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 181 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 0.6305 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00095/0.0009501, allocations: 97.36 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.000364, allocations: 17 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2023, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0006468/0.203, allocations: 367.7 kB / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003357/0.2034, allocations: 175.5 kB / 0.98 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.2034, allocations: 0 / 0.98 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.2034, allocations: 7.938 kB / 0.98 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.2036, allocations: 7.969 kB / 0.98 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.2038, allocations: 63.83 kB / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.332e-05/0.2038, allocations: 15.97 kB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.2039, allocations: 0 / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.2039, allocations: 23.92 kB / 0.9801 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.204, allocations: 19.91 kB / 0.9801 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.204, allocations: 4 kB / 0.9801 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.2041, allocations: 103.8 kB / 0.9802 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.2041, allocations: 11.98 kB / 0.9802 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.647e-05/0.2042, allocations: 25.7 kB / 0.9803 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.2043, allocations: 71.89 kB / 0.9803 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.2043, allocations: 0 / 0.9803 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2043, allocations: 4 kB / 0.9803 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2043, allocations: 0 / 0.9803 GB, free: 26.72 MB / 0.6198 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.0004467/0.2048, allocations: 367.5 kB / 0.9807 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2048, allocations: 12.02 kB / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.2048, allocations: 42.56 kB / 0.9807 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.2049, allocations: 3.906 kB / 0.9807 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.205, allocations: 179 kB / 0.9809 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.205, allocations: 0 / 0.9809 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.205, allocations: 12 kB / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.2052, allocations: 53.67 kB / 0.981 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2052, allocations: 0 / 0.981 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.2052, allocations: 4 kB / 0.981 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.2052, allocations: 0 / 0.981 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.2054, allocations: 55.83 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.2056, allocations: 252.8 kB / 0.9813 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.2058, allocations: 78.53 kB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2058, allocations: 0 / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.155e-05/0.2059, allocations: 30.56 kB / 0.9814 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.2059, allocations: 0 / 0.9814 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.02695/0.2328, allocations: 1.757 MB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.2329, allocations: 59.41 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.779e-05/0.233, allocations: 121.7 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.617e-05/0.233, allocations: 25.7 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.2331, allocations: 92.05 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/0.2332, allocations: 27.64 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.2332, allocations: 0 / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.2333, allocations: 318.8 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.2338, allocations: 159.9 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.2342, allocations: 159.9 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.2347, allocations: 159.9 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2347, allocations: 0 / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00111/0.2358, allocations: 389.4 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2358, allocations: 7.984 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2358, allocations: 0 / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2359, allocations: 0 / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.2375, allocations: 75.84 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2375, allocations: 7.984 kB / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.2389, allocations: 55.91 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.2389, allocations: 16.62 kB / 0.9847 GB, free: 22.03 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.2391, allocations: 105.8 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/0.2392, allocations: 8.328 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.2394, allocations: 20.38 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2394, allocations: 0 / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2394, allocations: 3.984 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2394, allocations: 4 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00566/0.2451, allocations: 0.9194 MB / 0.9857 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2451, allocations: 3.938 kB / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.2462, allocations: 75.83 kB / 0.9858 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.2462, allocations: 3.953 kB / 0.9858 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.2463, allocations: 8.109 kB / 0.9858 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.2463, allocations: 8 kB / 0.9858 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2463, allocations: 0 / 0.9858 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000882/0.2472, allocations: 404.3 kB / 0.9862 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.2472, allocations: 81.02 kB / 0.9863 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.2473, allocations: 8 kB / 0.9863 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.2484, allocations: 43.95 kB / 0.9863 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.2484, allocations: 3.984 kB / 0.9863 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.2484, allocations: 7.984 kB / 0.9863 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.063e-05/0.2485, allocations: 103.3 kB / 0.9864 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2485, allocations: 0 / 0.9864 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003864/0.2489, allocations: 88 kB / 0.9865 GB, free: 20.02 MB / 0.6198 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 (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.001188/0.2501, allocations: 1.077 MB / 0.9876 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008885/0.251, allocations: 279.8 kB / 0.9879 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.251, allocations: 0 / 0.9879 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.2514, allocations: 124 kB / 0.988 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.2516, allocations: 4.688 kB / 0.988 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004559/0.2561, allocations: 1.626 MB / 0.9896 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.2563, allocations: 0.6887 MB / 0.9902 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005255/0.2568, allocations: 52 kB / 0.9903 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/0.2573, allocations: 39.36 kB / 0.9903 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2573, allocations: 480 / 0.9903 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.2744, allocations: 9.021 MB / 0.9991 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/0.2746, allocations: 210.4 kB / 0.9993 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.092, allocations: 0 / 0.9993 GB, free: 6.863 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)