Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.001023/0.001028, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001229/0.001229, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.883/1.883, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.00054/0.00054, allocations: 15.81 kB / 0.6738 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2819, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008816/0.2828, allocations: 351.4 kB / 0.7877 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.2849, allocations: 1.379 MB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.2849, allocations: 0 / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.071e-05/0.285, allocations: 3.938 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/0.285, allocations: 3.984 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006524/0.2857, allocations: 131.8 kB / 0.7892 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.613e-05/0.2858, allocations: 39.89 kB / 0.7893 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.877e-05/0.2859, allocations: 3.984 kB / 0.7893 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.664e-05/0.2859, allocations: 23.98 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.315e-05/0.286, allocations: 19.92 kB / 0.7893 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.286, allocations: 4 kB / 0.7893 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003546/0.2864, allocations: 183.7 kB / 0.7895 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.2864, allocations: 11.92 kB / 0.7895 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.2865, allocations: 33.7 kB / 0.7895 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.2867, allocations: 124 kB / 0.7896 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2867, allocations: 0 / 0.7896 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2867, allocations: 0 / 0.7896 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2867, allocations: 0 / 0.7896 GB, free: 9.496 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004495/0.2872, allocations: 441.3 kB / 0.7901 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.2872, allocations: 8.031 kB / 0.7901 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.2873, allocations: 30.56 kB / 0.7901 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.2873, allocations: 7.906 kB / 0.7901 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.2875, allocations: 182.9 kB / 0.7903 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.2875, allocations: 4 kB / 0.7903 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.2876, allocations: 0 / 0.7903 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.2878, allocations: 93.64 kB / 0.7904 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2878, allocations: 0 / 0.7904 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.2878, allocations: 4 kB / 0.7904 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.2878, allocations: 4 kB / 0.7904 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.678e-05/0.2879, allocations: 59.95 kB / 0.7904 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.2882, allocations: 177.5 kB / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.2883, allocations: 86.47 kB / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.728e-05/0.2884, allocations: 64.89 kB / 0.7908 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.2885, allocations: 0 / 0.7908 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.2885, allocations: 50.5 kB / 0.7908 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.2885, allocations: 0 / 0.7908 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004987/0.289, allocations: 247.2 kB / 0.791 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/0.2891, allocations: 89.03 kB / 0.7911 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.2893, allocations: 144.8 kB / 0.7913 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.2893, allocations: 25.7 kB / 0.7913 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.2894, allocations: 92.12 kB / 0.7914 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.2894, allocations: 7.812 kB / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.2894, allocations: 4 kB / 0.7914 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2896, allocations: 334.8 kB / 0.7917 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.2898, allocations: 99.94 kB / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.2899, allocations: 107.9 kB / 0.7919 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.2901, allocations: 163.4 kB / 0.7921 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2901, allocations: 0 / 0.7921 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003602/0.2905, allocations: 316.8 kB / 0.7924 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.034e-05/0.2906, allocations: 71.39 kB / 0.7924 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2906, allocations: 0 / 0.7924 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.2906, allocations: 4 kB / 0.7924 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-06/0.2906, allocations: 8.047 kB / 0.7924 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2906, allocations: 0 / 0.7924 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.2908, allocations: 11.84 kB / 0.7925 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.2908, allocations: 7.938 kB / 0.7925 GB, free: 6.328 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: 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 0.0001306/0.291, allocations: 155.5 kB / 0.7926 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.291, allocations: 7.906 kB / 0.7926 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.291, allocations: 8.391 kB / 0.7926 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.291, allocations: 7.969 kB / 0.7926 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2911, allocations: 4 kB / 0.7926 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2911, allocations: 0 / 0.7926 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.2912, allocations: 173.6 kB / 0.7928 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2912, allocations: 3.984 kB / 0.7928 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/0.2912, allocations: 0 / 0.7928 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2912, allocations: 0 / 0.7928 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.2913, allocations: 4 kB / 0.7928 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2913, allocations: 0 / 0.7928 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2913, allocations: 0 / 0.7928 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.2916, allocations: 226.6 kB / 0.793 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.2917, allocations: 85.06 kB / 0.7931 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.2917, allocations: 3.938 kB / 0.7931 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.609e-05/0.2918, allocations: 4 kB / 0.7931 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.2918, allocations: 15.92 kB / 0.7931 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.2919, allocations: 4 kB / 0.7931 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.657e-05/0.2919, allocations: 106.2 kB / 0.7932 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.292, allocations: 3.938 kB / 0.7932 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003304/0.2923, allocations: 64 kB / 0.7933 GB, free: 5.355 MB / 0.6075 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.000909/0.2932, allocations: 0.8131 MB / 0.7941 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004143/0.2936, allocations: 366.7 kB / 0.7944 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.2937, allocations: 0 / 0.7944 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.2938, allocations: 143.3 kB / 0.7946 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.294, allocations: 10.69 kB / 0.7946 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.2953, allocations: 1.013 MB / 0.7956 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.2957, allocations: 0.6926 MB / 0.7963 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.777e-06/0.2957, allocations: 11.94 kB / 0.7963 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.2957, allocations: 15.44 kB / 0.7963 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2957, allocations: 3.938 kB / 0.7963 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.3126, allocations: 2.921 MB / 0.7991 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000314/0.313, allocations: 199.6 kB / 0.7993 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.164, allocations: 4 kB / 0.7993 GB, free: 15.12 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) Environment - environmentSimulation: