Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.801/2.801, allocations: 287.3 MB / 302.3 MB, free: 8.223 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.001493/0.001492, allocations: 179.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.00159/0.00159, allocations: 93.19 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006705/0.0006708, allocations: 17.66 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2366, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0008371/0.2375, allocations: 363.5 kB / 0.9786 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004255/0.238, allocations: 183.5 kB / 0.9788 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.238, allocations: 0 / 0.9788 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.253e-05/0.238, allocations: 3.938 kB / 0.9788 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.2382, allocations: 11.98 kB / 0.9788 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.2384, allocations: 63.81 kB / 0.9789 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.205e-05/0.2385, allocations: 8 kB / 0.9789 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.2385, allocations: 7.984 kB / 0.9789 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.7e-05/0.2386, allocations: 11.92 kB / 0.9789 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.2387, allocations: 27.91 kB / 0.9789 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.2387, allocations: 0 / 0.9789 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.2389, allocations: 111.8 kB / 0.979 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.2389, allocations: 3.984 kB / 0.9791 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.239, allocations: 37.64 kB / 0.9791 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.2391, allocations: 67.94 kB / 0.9792 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2392, allocations: 0 / 0.9792 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2392, allocations: 0 / 0.9792 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2392, allocations: 0 / 0.9792 GB, free: 27.39 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.0005528/0.2397, allocations: 377.6 kB / 0.9795 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2398, allocations: 12.02 kB / 0.9795 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.2398, allocations: 30.56 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.2399, allocations: 7.906 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.24, allocations: 171 kB / 0.9797 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.24, allocations: 0 / 0.9797 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.2401, allocations: 7.984 kB / 0.9797 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.2403, allocations: 57.67 kB / 0.9798 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.2403, allocations: 0 / 0.9798 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2403, allocations: 0 / 0.9798 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2403, allocations: 0 / 0.9798 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.2406, allocations: 43.91 kB / 0.9798 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.2409, allocations: 264.8 kB / 0.9801 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.2412, allocations: 78.52 kB / 0.9802 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2413, allocations: 11.92 kB / 0.9802 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.2413, allocations: 34.56 kB / 0.9802 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.2413, allocations: 0 / 0.9802 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.05646/0.2978, allocations: 1.749 MB / 0.9819 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.2979, allocations: 59.3 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.298, allocations: 125.8 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.263e-05/0.2981, allocations: 25.7 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.2982, allocations: 88.05 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.2983, allocations: 23.66 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.682e-05/0.2984, allocations: 0 / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.2985, allocations: 322.8 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008824/0.2993, allocations: 159.9 kB / 0.9827 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008568/0.3002, allocations: 163.9 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009024/0.3011, allocations: 156 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3012, allocations: 0 / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002173/0.3033, allocations: 389.3 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.3034, allocations: 4 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3034, allocations: 4 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.3034, allocations: 0 / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/0.3065, allocations: 80.48 kB / 0.9834 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.3065, allocations: 3.953 kB / 0.9834 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/0.3092, allocations: 59.94 kB / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.3094, allocations: 7.984 kB / 0.9835 GB, free: 22.7 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.0002617/0.3096, allocations: 113.8 kB / 0.9836 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.3098, allocations: 7.906 kB / 0.9836 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.31, allocations: 24.36 kB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.31, allocations: 7.938 kB / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.31, allocations: 0 / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.31, allocations: 3.953 kB / 0.9837 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.3209, allocations: 0.9002 MB / 0.9845 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.321, allocations: 0 / 0.9845 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002265/0.3232, allocations: 75.8 kB / 0.9846 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.3233, allocations: 4 kB / 0.9846 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-05/0.3234, allocations: 11.92 kB / 0.9846 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.3234, allocations: 7.984 kB / 0.9846 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3234, allocations: 4.062 kB / 0.9846 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.3251, allocations: 396.3 kB / 0.985 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.3252, allocations: 93 kB / 0.9851 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.3253, allocations: 0 / 0.9851 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002074/0.3274, allocations: 43.95 kB / 0.9851 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.3274, allocations: 8 kB / 0.9852 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.824e-05/0.3275, allocations: 11.97 kB / 0.9852 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.781e-05/0.3276, allocations: 91.27 kB / 0.9852 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3276, allocations: 0 / 0.9852 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005922/0.3282, allocations: 100 kB / 0.9853 GB, free: 20.7 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.002052/0.3303, allocations: 1.07 MB / 0.9864 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001785/0.3321, allocations: 283.8 kB / 0.9867 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.3322, allocations: 0 / 0.9867 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007469/0.3329, allocations: 120 kB / 0.9868 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.3332, allocations: 7.953 kB / 0.9868 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008768/0.342, allocations: 1.62 MB / 0.9884 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.3422, allocations: 0.6887 MB / 0.989 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009481/0.3431, allocations: 59.92 kB / 0.9891 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008213/0.344, allocations: 35.38 kB / 0.9891 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of SimCode: time 1.553e-06/0.344, allocations: 3.938 kB / 0.9891 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04088/0.3849, allocations: 9.025 MB / 0.9979 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/0.3852, allocations: 191.6 kB / 0.9981 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.961/3.346, allocations: 4 kB / 0.9981 GB, free: 7.523 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)