Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.001116/0.001116, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.742/1.742, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001403/0.001403, allocations: 73.45 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1822, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002456/0.1847, allocations: 1.434 MB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1859, allocations: 0.8209 MB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.1859, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.353e-05/0.186, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.604e-05/0.1861, allocations: 11.91 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006333/0.1867, allocations: 179.4 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.516e-05/0.1868, allocations: 47.92 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.904e-05/0.1869, allocations: 7.984 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.456e-05/0.1869, allocations: 15.94 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.13e-05/0.187, allocations: 27.89 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.187, allocations: 4 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.1873, allocations: 195.7 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.908e-05/0.1874, allocations: 8 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.1874, allocations: 19.86 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.1877, allocations: 187.6 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1877, allocations: 4 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1877, allocations: 0 / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.1877, allocations: 0 / 0.7864 GB, free: 10.43 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.0004439/0.1882, allocations: 430.7 kB / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1882, allocations: 12.03 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.1882, allocations: 38.75 kB / 0.7868 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.1883, allocations: 8.922 kB / 0.7868 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1884, allocations: 172.2 kB / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1884, allocations: 384 / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.1884, allocations: 11.94 kB / 0.787 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1886, allocations: 73.66 kB / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1886, allocations: 0 / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1886, allocations: 4 kB / 0.7871 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1886, allocations: 0 / 0.7871 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1888, allocations: 43.97 kB / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.1891, allocations: 292.7 kB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.1893, allocations: 62.53 kB / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.1893, allocations: 40.92 kB / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.1894, allocations: 0 / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.1894, allocations: 38.55 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1894, allocations: 0 / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000376/0.1898, allocations: 187.2 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.1898, allocations: 81.11 kB / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/0.1899, allocations: 125.8 kB / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.19, allocations: 25.7 kB / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.19, allocations: 88.14 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.19, allocations: 7.891 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.1901, allocations: 25.75 kB / 0.7881 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.1902, allocations: 314.8 kB / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1903, allocations: 59.95 kB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.036e-05/0.1904, allocations: 63.91 kB / 0.7885 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.1906, allocations: 189.9 kB / 0.7887 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1906, allocations: 3.938 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002731/0.1909, allocations: 224.9 kB / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/0.1909, allocations: 67.41 kB / 0.7889 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.191, allocations: 0 / 0.7889 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.191, allocations: 0 / 0.7889 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.191, allocations: 7.984 kB / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.191, allocations: 0 / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.1911, allocations: 4 kB / 0.789 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1911, allocations: 0 / 0.789 GB, free: 7.477 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 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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 9.447e-05/0.1912, allocations: 152.1 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.1912, allocations: 11.91 kB / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.1913, allocations: 3.906 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1913, allocations: 4 kB / 0.7891 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1913, allocations: 0 / 0.7891 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1913, allocations: 0 / 0.7891 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.1915, allocations: 177.5 kB / 0.7893 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.1915, allocations: 4.062 kB / 0.7893 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.8e-05/0.1915, allocations: 4 kB / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1915, allocations: 3.984 kB / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.1915, allocations: 4 kB / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1915, allocations: 8 kB / 0.7893 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1915, allocations: 0 / 0.7893 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.1918, allocations: 249 kB / 0.7895 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.1919, allocations: 81.11 kB / 0.7896 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.1919, allocations: 0 / 0.7896 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.192, allocations: 7.984 kB / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.1921, allocations: 8 kB / 0.7896 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.1921, allocations: 4.031 kB / 0.7896 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.715e-05/0.1922, allocations: 99.64 kB / 0.7897 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1922, allocations: 0 / 0.7897 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003078/0.1925, allocations: 63.92 kB / 0.7898 GB, free: 6.496 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 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0006406/0.1931, allocations: 0.835 MB / 0.7906 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003094/0.1934, allocations: 238.7 kB / 0.7908 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1935, allocations: 0 / 0.7908 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1936, allocations: 103.4 kB / 0.7909 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.1938, allocations: 6.656 kB / 0.7909 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.1955, allocations: 1.755 MB / 0.7927 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.1957, allocations: 0.6923 MB / 0.7933 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.297e-05/0.1958, allocations: 0 / 0.7933 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.1958, allocations: 19.42 kB / 0.7934 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1958, allocations: 0 / 0.7934 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.2137, allocations: 2.79 MB / 0.7961 GB, free: 12 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.157, allocations: 9.875 kB / 0.7961 GB, free: 8 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)