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.0008665/0.0008666, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004701/0.004701, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.194/1.194, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.519/1.519, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0004889/0.0004889, allocations: 23.25 kB / 0.6744 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1825, allocations: 116.3 MB / 0.788 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001572/0.1841, allocations: 1.164 MB / 0.7891 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1854, allocations: 0.8329 MB / 0.79 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.1854, allocations: 4 kB / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.505e-05/0.1855, allocations: 0 / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.722e-05/0.1855, allocations: 11.92 kB / 0.79 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.186, allocations: 119.8 kB / 0.7901 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.053e-05/0.1861, allocations: 43.97 kB / 0.7901 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.695e-05/0.1862, allocations: 288 / 0.7901 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.1862, allocations: 19.92 kB / 0.7902 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.532e-05/0.1863, allocations: 19.86 kB / 0.7902 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1863, allocations: 4 kB / 0.7902 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.1866, allocations: 191.7 kB / 0.7904 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.1866, allocations: 8 kB / 0.7904 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.1867, allocations: 45.56 kB / 0.7904 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.1869, allocations: 187.6 kB / 0.7906 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1869, allocations: 0 / 0.7906 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1869, allocations: 0 / 0.7906 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.187, allocations: 0 / 0.7906 GB, free: 8.754 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.0004351/0.1874, allocations: 430.8 kB / 0.791 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1874, allocations: 8.031 kB / 0.791 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.1875, allocations: 38.75 kB / 0.791 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.1875, allocations: 4.844 kB / 0.791 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.1877, allocations: 168.3 kB / 0.7912 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1877, allocations: 4.375 kB / 0.7912 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.1877, allocations: 3.938 kB / 0.7912 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1879, allocations: 81.59 kB / 0.7913 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.1879, allocations: 0 / 0.7913 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1879, allocations: 7.984 kB / 0.7913 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1879, allocations: 0 / 0.7913 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.1881, allocations: 55.97 kB / 0.7914 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.1885, allocations: 280.9 kB / 0.7916 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1886, allocations: 66.42 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.1887, allocations: 52.91 kB / 0.7917 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/0.1887, allocations: 0 / 0.7917 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1887, allocations: 30.56 kB / 0.7918 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.1887, allocations: 0 / 0.7918 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003616/0.1891, allocations: 195.2 kB / 0.792 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.1891, allocations: 81.11 kB / 0.792 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.1892, allocations: 125.8 kB / 0.7921 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1893, allocations: 29.64 kB / 0.7922 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.1893, allocations: 92.12 kB / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.1893, allocations: 3.906 kB / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.1894, allocations: 17.72 kB / 0.7923 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.1895, allocations: 318.8 kB / 0.7926 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.931e-05/0.1896, allocations: 67.94 kB / 0.7927 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.805e-05/0.1897, allocations: 55.97 kB / 0.7927 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.1899, allocations: 197.9 kB / 0.7929 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1899, allocations: 0 / 0.7929 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002676/0.1902, allocations: 220.9 kB / 0.7931 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/0.1902, allocations: 70.06 kB / 0.7932 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1902, allocations: 3.984 kB / 0.7932 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1903, allocations: 4 kB / 0.7932 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/0.1903, allocations: 11.98 kB / 0.7932 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1903, allocations: 4 kB / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.1904, allocations: 4 kB / 0.7932 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1904, allocations: 4 kB / 0.7932 GB, free: 5.773 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.5e-05/0.1905, allocations: 156.1 kB / 0.7934 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.1905, allocations: 7.906 kB / 0.7934 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/0.1906, allocations: 3.906 kB / 0.7934 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1906, allocations: 0 / 0.7934 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1906, allocations: 0 / 0.7934 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1906, allocations: 0 / 0.7934 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.1907, allocations: 177.6 kB / 0.7935 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1907, allocations: 0 / 0.7935 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.1908, allocations: 7.984 kB / 0.7935 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1908, allocations: 0 / 0.7935 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1908, allocations: 4 kB / 0.7935 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1908, allocations: 0 / 0.7935 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1908, allocations: 0 / 0.7935 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.1911, allocations: 257.1 kB / 0.7938 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.1911, allocations: 84.95 kB / 0.7939 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.1911, allocations: 4 kB / 0.7939 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.1912, allocations: 12.02 kB / 0.7939 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.942e-05/0.1913, allocations: 7.938 kB / 0.7939 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.1913, allocations: 4 kB / 0.7939 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.36e-05/0.1914, allocations: 99.25 kB / 0.794 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.412e-06/0.1914, allocations: 0 / 0.794 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002962/0.1917, allocations: 59.88 kB / 0.794 GB, free: 4.793 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.000635/0.1923, allocations: 0.8315 MB / 0.7949 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002916/0.1926, allocations: 250.7 kB / 0.7951 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1926, allocations: 0 / 0.7951 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.1927, allocations: 107.4 kB / 0.7952 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.1929, allocations: 10.44 kB / 0.7952 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.1946, allocations: 1.773 MB / 0.7969 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.1948, allocations: 0.6888 MB / 0.7976 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.324e-05/0.1948, allocations: 0 / 0.7976 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.1948, allocations: 15.42 kB / 0.7976 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.1948, allocations: 0 / 0.7976 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.258/2.452, allocations: 2.516 MB / 0.8001 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003171/2.453, allocations: 233 kB / 0.8003 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/4.164, allocations: 0 / 0.8003 GB, free: 14.36 MB / 0.6231 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)