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.001424/0.001424, allocations: 107.3 kB / 15.23 MB, free: 0.6523 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.001041/0.001041, allocations: 194.9 kB / 16.14 MB, free: 6.113 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.182/1.182, allocations: 205.1 MB / 222 MB, free: 4.746 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.517/1.517, allocations: 292.3 MB / 0.5484 GB, free: 13.62 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.001369/0.001369, allocations: 66.48 kB / 0.6709 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2153, allocations: 114.6 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001813/0.2172, allocations: 0.6977 MB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004096/0.2176, allocations: 207.2 kB / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.2176, allocations: 0 / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.2177, allocations: 3.938 kB / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.2178, allocations: 3.984 kB / 0.7837 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.218, allocations: 67.83 kB / 0.7838 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.095e-05/0.218, allocations: 19.98 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.2181, allocations: 4 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.2181, allocations: 19.91 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.065e-05/0.2182, allocations: 27.84 kB / 0.7838 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.2182, allocations: 4 kB / 0.7838 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.2184, allocations: 103.8 kB / 0.7839 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.2184, allocations: 11.86 kB / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.2184, allocations: 15.92 kB / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.2186, allocations: 99.81 kB / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2186, allocations: 4 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2186, allocations: 3.938 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2186, allocations: 3.938 kB / 0.7841 GB, free: 12.59 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.0005214/0.2192, allocations: 379.6 kB / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.2192, allocations: 8.031 kB / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.2193, allocations: 34.69 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.2193, allocations: 4.938 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.2194, allocations: 172.3 kB / 0.7846 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.2195, allocations: 384 / 0.7846 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.2195, allocations: 8.359 kB / 0.7846 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.2196, allocations: 50.23 kB / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2197, allocations: 3.938 kB / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.2197, allocations: 4 kB / 0.7847 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.2197, allocations: 4 kB / 0.7847 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.2198, allocations: 35.95 kB / 0.7847 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.2201, allocations: 252.9 kB / 0.785 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.2203, allocations: 70.47 kB / 0.785 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.517e-05/0.2204, allocations: 24.94 kB / 0.7851 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.2204, allocations: 0 / 0.7851 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.2204, allocations: 34.56 kB / 0.7851 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.2204, allocations: 0 / 0.7851 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.02925/0.2497, allocations: 1.613 MB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.2498, allocations: 55.34 kB / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.938e-05/0.2499, allocations: 117.8 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.262e-05/0.2499, allocations: 25.7 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.25, allocations: 88.12 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.075e-05/0.2501, allocations: 31.55 kB / 0.787 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.2503, allocations: 29.7 kB / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.171e-05/0.2504, allocations: 318.8 kB / 0.7873 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/0.2509, allocations: 143.9 kB / 0.7875 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/0.2513, allocations: 140.3 kB / 0.7876 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009482/0.2523, allocations: 304.8 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2523, allocations: 0 / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001162/0.2535, allocations: 329.5 kB / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.2535, allocations: 8.938 kB / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2535, allocations: 4 kB / 0.7882 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2535, allocations: 7.938 kB / 0.7882 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.255, allocations: 67.86 kB / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2551, allocations: 0 / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.2563, allocations: 47.94 kB / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/0.2564, allocations: 0 / 0.7883 GB, free: 7.988 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.0001644/0.2566, allocations: 117.8 kB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.966e-05/0.2567, allocations: 8 kB / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.2568, allocations: 16.38 kB / 0.7885 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2568, allocations: 0 / 0.7885 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2568, allocations: 0 / 0.7885 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2568, allocations: 7.984 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005133/0.2619, allocations: 0.8374 MB / 0.7893 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.262, allocations: 4 kB / 0.7893 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.263, allocations: 55.94 kB / 0.7893 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.263, allocations: 0 / 0.7893 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.2631, allocations: 7.938 kB / 0.7893 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2631, allocations: 0 / 0.7893 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2631, allocations: 4.062 kB / 0.7893 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009196/0.264, allocations: 325 kB / 0.7897 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.2641, allocations: 89.09 kB / 0.7897 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.15e-05/0.2642, allocations: 3.938 kB / 0.7897 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009638/0.2651, allocations: 39.95 kB / 0.7898 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.2652, allocations: 0 / 0.7898 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.2652, allocations: 11.98 kB / 0.7898 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.216e-05/0.2653, allocations: 95.31 kB / 0.7899 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2653, allocations: 0 / 0.7899 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003826/0.2657, allocations: 91.98 kB / 0.79 GB, free: 6.176 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.001212/0.2669, allocations: 0.8779 MB / 0.7908 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009406/0.2678, allocations: 243.8 kB / 0.7911 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2678, allocations: 0 / 0.7911 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004096/0.2682, allocations: 92.08 kB / 0.7912 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.2685, allocations: 11.66 kB / 0.7912 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00608/0.2746, allocations: 2.69 MB / 0.7938 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.2749, allocations: 0.6887 MB / 0.7945 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005134/0.2754, allocations: 48 kB / 0.7945 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/0.2759, allocations: 23.42 kB / 0.7945 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2759, allocations: 0 / 0.7945 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.3075, allocations: 9.222 MB / 0.8035 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.3077, allocations: 209.9 kB / 0.8037 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/2.48, allocations: 3.938 kB / 0.8037 GB, free: 7.938 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)