Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",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.472/1.472, allocations: 288.4 MB / 303.6 MB, free: 8.852 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.0009213/0.0009214, allocations: 188.5 kB / 372.3 MB, free: 6.434 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.209/1.209, allocations: 205.4 MB / 0.631 GB, free: 13.47 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007604/0.0007603, allocations: 94.78 kB / 0.7444 GB, free: 64.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003273, allocations: 16 kB / 0.8676 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1877, allocations: 115.3 MB / 0.9802 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.0008458/0.1886, allocations: 0.5443 MB / 0.9807 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 9.874e-05/0.1887, allocations: 43.78 kB / 0.9808 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.1888, allocations: 0 / 0.9808 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.1888, allocations: 3.938 kB / 0.9808 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.069e-05/0.1889, allocations: 11.92 kB / 0.9808 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.394e-05/0.1889, allocations: 8 kB / 0.9808 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.97e-05/0.189, allocations: 63.78 kB / 0.9808 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1891, allocations: 49.36 kB / 0.9809 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.877e-05/0.1892, allocations: 19.88 kB / 0.9809 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.51e-05/0.1892, allocations: 19.86 kB / 0.9809 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1893, allocations: 4 kB / 0.9809 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.295e-06/0.1893, allocations: 4 kB / 0.9809 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.1893, allocations: 7.938 kB / 0.9809 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.1893, allocations: 57.44 kB / 0.981 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.761e-05/0.1894, allocations: 60.08 kB / 0.9811 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1894, allocations: 0 / 0.9811 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1894, allocations: 0 / 0.9811 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1894, allocations: 3.938 kB / 0.9811 GB, free: 12.1 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003481/0.1898, allocations: 377.1 kB / 0.9814 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1898, allocations: 12.03 kB / 0.9814 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.1899, allocations: 42.73 kB / 0.9815 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.434e-05/0.1899, allocations: 8.844 kB / 0.9815 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.1901, allocations: 200 kB / 0.9817 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.1901, allocations: 4.375 kB / 0.9817 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.1901, allocations: 12.38 kB / 0.9817 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1903, allocations: 83.95 kB / 0.9818 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.1903, allocations: 7.875 kB / 0.9818 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1903, allocations: 4 kB / 0.9818 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1903, allocations: 8 kB / 0.9818 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.141e-05/0.1904, allocations: 39.92 kB / 0.9818 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.1909, allocations: 444.5 kB / 0.9822 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.55e-05/0.191, allocations: 41.28 kB / 0.9823 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.191, allocations: 17.84 kB / 0.9823 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.191, allocations: 0 / 0.9823 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.191, allocations: 34.56 kB / 0.9823 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.191, allocations: 0 / 0.9823 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001519/0.1912, allocations: 69.67 kB / 0.9824 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1912, allocations: 81.14 kB / 0.9825 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.1914, allocations: 167.3 kB / 0.9826 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1914, allocations: 25.7 kB / 0.9827 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.1915, allocations: 108 kB / 0.9828 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.574e-06/0.1915, allocations: 7.891 kB / 0.9828 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.1915, allocations: 4 kB / 0.9828 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1916, allocations: 322.8 kB / 0.9831 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.1916, allocations: 4 kB / 0.9831 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.1916, allocations: 25.7 kB / 0.9831 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.144e-05/0.1917, allocations: 29.72 kB / 0.9831 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1917, allocations: 0 / 0.9831 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.65e-05/0.1918, allocations: 57.53 kB / 0.9832 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1918, allocations: 14.59 kB / 0.9832 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1918, allocations: 0 / 0.9832 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.1918, allocations: 4.062 kB / 0.9832 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.1919, allocations: 4 kB / 0.9832 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1919, allocations: 4 kB / 0.9832 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.1919, allocations: 7.906 kB / 0.9832 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.192, allocations: 4 kB / 0.9832 GB, free: 9.605 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.346e-05/0.192, allocations: 125.7 kB / 0.9834 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.1921, allocations: 15.78 kB / 0.9834 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.1921, allocations: 12.55 kB / 0.9834 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1921, allocations: 4 kB / 0.9834 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.1921, allocations: 7.938 kB / 0.9834 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1921, allocations: 3.938 kB / 0.9834 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.1925, allocations: 482.7 kB / 0.9839 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1925, allocations: 0 / 0.9839 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.1926, allocations: 7.938 kB / 0.9839 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1926, allocations: 0 / 0.9839 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.1926, allocations: 0 / 0.9839 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1926, allocations: 4.062 kB / 0.9839 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1926, allocations: 0 / 0.9839 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.998e-05/0.1927, allocations: 85.83 kB / 0.9839 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.1927, allocations: 85.02 kB / 0.984 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.1928, allocations: 0 / 0.984 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.283e-05/0.1928, allocations: 0 / 0.984 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.1928, allocations: 12.02 kB / 0.984 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1928, allocations: 0 / 0.984 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.479e-05/0.1929, allocations: 128.8 kB / 0.9842 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.1929, allocations: 0 / 0.9842 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000168/0.1931, allocations: 8 kB / 0.9842 GB, free: 8.531 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0003738/0.1935, allocations: 0.6194 MB / 0.9848 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.466e-05/0.1936, allocations: 19.94 kB / 0.9848 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1936, allocations: 0 / 0.9848 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.288e-05/0.1936, allocations: 8 kB / 0.9848 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.1937, allocations: 8 kB / 0.9848 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007727/0.1945, allocations: 0.5942 MB / 0.9854 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1948, allocations: 0.7004 MB / 0.9861 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.1948, allocations: 8.375 kB / 0.9861 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.1949, allocations: 23.42 kB / 0.9861 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.1949, allocations: 3.938 kB / 0.9861 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.2062, allocations: 1.59 MB / 0.9877 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.2064, allocations: 201 kB / 0.9879 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/1.696, allocations: 0 / 0.9879 GB, free: 4.723 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1)