Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.59/1.59, allocations: 288.4 MB / 303.6 MB, free: 7.977 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.001122/0.001123, allocations: 198 kB / 372.3 MB, free: 10.11 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.691/1.691, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.000717/0.0007171, allocations: 102.3 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003947, allocations: 13.66 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2199, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.000719/0.2207, allocations: 347.7 kB / 0.9805 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.2223, allocations: 1.379 MB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.2224, allocations: 4 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.812e-05/0.2224, allocations: 3.938 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.363e-05/0.2225, allocations: 4 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006191/0.2231, allocations: 133.4 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.911e-05/0.2232, allocations: 39.89 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.2233, allocations: 0 / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.388e-05/0.2233, allocations: 19.98 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.2234, allocations: 27.89 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.2234, allocations: 4 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.2237, allocations: 179.8 kB / 0.9823 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.2238, allocations: 15.92 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.2238, allocations: 49.56 kB / 0.9823 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.224, allocations: 124 kB / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2241, allocations: 0 / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2241, allocations: 0 / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2241, allocations: 0 / 0.9825 GB, free: 24.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003989/0.2245, allocations: 434.7 kB / 0.9829 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.2245, allocations: 12.03 kB / 0.9829 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.186e-05/0.2246, allocations: 34.73 kB / 0.9829 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.2246, allocations: 12.84 kB / 0.9829 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.634e-05/0.2247, allocations: 177.9 kB / 0.9831 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.2247, allocations: 384 / 0.9831 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.2247, allocations: 4.375 kB / 0.9831 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.2249, allocations: 101.8 kB / 0.9832 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2249, allocations: 0 / 0.9832 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.225, allocations: 0 / 0.9832 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.225, allocations: 3.938 kB / 0.9832 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.998e-05/0.225, allocations: 59.95 kB / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.2252, allocations: 177.7 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.444e-05/0.2253, allocations: 78.53 kB / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.814e-05/0.2253, allocations: 68.89 kB / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.2253, allocations: 0 / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.2254, allocations: 38.5 kB / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.2254, allocations: 0 / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003317/0.2257, allocations: 259.1 kB / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.2258, allocations: 85.14 kB / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/0.2258, allocations: 147.3 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.2259, allocations: 25.7 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.2259, allocations: 95.98 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.2259, allocations: 7.906 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-06/0.2259, allocations: 4 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.226, allocations: 314.8 kB / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.826e-05/0.2261, allocations: 99.94 kB / 0.9846 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.2262, allocations: 107.9 kB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.2264, allocations: 285.7 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2264, allocations: 0 / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000258/0.2267, allocations: 320.8 kB / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.2267, allocations: 71.39 kB / 0.9853 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2267, allocations: 0 / 0.9853 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2267, allocations: 4.078 kB / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.2268, allocations: 0 / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2268, allocations: 0 / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.2269, allocations: 15.84 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.2269, allocations: 16.03 kB / 0.9854 GB, free: 21.6 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 7.636e-05/0.227, allocations: 155.5 kB / 0.9855 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.227, allocations: 7.844 kB / 0.9855 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.228e-05/0.2271, allocations: 8.25 kB / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2271, allocations: 0 / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2271, allocations: 4 kB / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2271, allocations: 0 / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.298e-05/0.2272, allocations: 173.6 kB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2272, allocations: 3.938 kB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.2272, allocations: 4 kB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.2272, allocations: 0 / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.2272, allocations: 4 kB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2272, allocations: 3.938 kB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2272, allocations: 0 / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.2274, allocations: 226.6 kB / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.2274, allocations: 84.95 kB / 0.986 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.2275, allocations: 7.984 kB / 0.986 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.583e-05/0.2275, allocations: 8.031 kB / 0.986 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.2276, allocations: 11.98 kB / 0.9861 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.2276, allocations: 0 / 0.9861 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.2276, allocations: 104.8 kB / 0.9862 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2277, allocations: 0 / 0.9862 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002756/0.2279, allocations: 67.98 kB / 0.9862 GB, free: 20.63 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000499/0.2284, allocations: 0.813 MB / 0.987 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.2287, allocations: 370.6 kB / 0.9874 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2288, allocations: 3.938 kB / 0.9874 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.239e-05/0.2289, allocations: 139.3 kB / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.229, allocations: 10 kB / 0.9875 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009865/0.23, allocations: 1.016 MB / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.2301, allocations: 0.6926 MB / 0.9892 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.911e-06/0.2301, allocations: 3.984 kB / 0.9892 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.2302, allocations: 15.44 kB / 0.9892 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.2302, allocations: 0 / 0.9892 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.2436, allocations: 2.917 MB / 0.992 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.2438, allocations: 207.7 kB / 0.9922 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.263, allocations: 0 / 0.9922 GB, free: 14.44 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)