Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.45/1.45, allocations: 252 MB / 267 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009624/0.0009623, allocations: 175.8 kB / 326.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.4 MB / 0.5777 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007427/0.0007428, allocations: 90.95 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004394, allocations: 15.41 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1859, allocations: 106.4 MB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001204/0.1872, allocations: 1.005 MB / 0.9013 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006633/0.1879, allocations: 0.5506 MB / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.913e-05/0.1879, allocations: 0 / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.188, allocations: 0 / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.327e-05/0.188, allocations: 0 / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.1884, allocations: 119.6 kB / 0.9019 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.433e-05/0.1884, allocations: 23.86 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.1885, allocations: 0 / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.973e-05/0.1885, allocations: 7.984 kB / 0.902 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.353e-05/0.1885, allocations: 15.92 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.1886, allocations: 4 kB / 0.902 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.1889, allocations: 335.3 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.474e-06/0.1889, allocations: 3.984 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.189, allocations: 25.7 kB / 0.9023 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.1891, allocations: 96.06 kB / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1891, allocations: 0 / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.943e-06/0.1891, allocations: 0 / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1892, allocations: 0 / 0.9024 GB, free: 62.02 MB / 0.6042 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.0002948/0.1895, allocations: 355.3 kB / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1895, allocations: 12.03 kB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.141e-05/0.1895, allocations: 34.56 kB / 0.9028 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.003e-05/0.1895, allocations: 4 kB / 0.9028 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.557e-05/0.1896, allocations: 170.9 kB / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.1896, allocations: 0 / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.1897, allocations: 4 kB / 0.903 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.452e-05/0.1897, allocations: 37.69 kB / 0.903 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-06/0.1898, allocations: 0 / 0.903 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.1898, allocations: 4 kB / 0.903 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.1898, allocations: 4 kB / 0.903 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.79e-05/0.1898, allocations: 15.98 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.1901, allocations: 260.8 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.1902, allocations: 46.56 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.1903, allocations: 20.84 kB / 0.9034 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1903, allocations: 0 / 0.9034 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.139e-05/0.1903, allocations: 42.56 kB / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1903, allocations: 0 / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001331/0.1904, allocations: 53.69 kB / 0.9035 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.1905, allocations: 55.34 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.332e-05/0.1905, allocations: 102 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.854e-06/0.1905, allocations: 25.7 kB / 0.9036 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.051e-05/0.1906, allocations: 84.12 kB / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/0.1906, allocations: 19.75 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.1906, allocations: 7.938 kB / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.664e-05/0.1906, allocations: 310.8 kB / 0.904 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.1906, allocations: 8 kB / 0.904 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.081e-05/0.1907, allocations: 17.7 kB / 0.9041 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.173e-05/0.1907, allocations: 16.17 kB / 0.9041 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1907, allocations: 0 / 0.9041 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.095e-05/0.1908, allocations: 57.62 kB / 0.9041 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.1908, allocations: 12.03 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1908, allocations: 0 / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1908, allocations: 0 / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.342e-05/0.1909, allocations: 8 kB / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1909, allocations: 3.984 kB / 0.9042 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.1909, allocations: 3.906 kB / 0.9042 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.1909, allocations: 7.953 kB / 0.9042 GB, free: 60.02 MB / 0.6042 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 (5): * Single equations (assignments): 5 * 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 4.119e-05/0.191, allocations: 109.8 kB / 0.9043 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.191, allocations: 4 kB / 0.9043 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.1911, allocations: 65.11 kB / 0.9043 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1911, allocations: 4 kB / 0.9043 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.1911, allocations: 0 / 0.9043 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1911, allocations: 3.984 kB / 0.9043 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.1912, allocations: 157.6 kB / 0.9045 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1913, allocations: 0 / 0.9045 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.1913, allocations: 11.94 kB / 0.9045 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1913, allocations: 0 / 0.9045 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.1913, allocations: 0 / 0.9045 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1913, allocations: 4 kB / 0.9045 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1913, allocations: 0 / 0.9045 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.616e-05/0.1914, allocations: 155.3 kB / 0.9047 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.1914, allocations: 77.11 kB / 0.9047 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.1914, allocations: 4 kB / 0.9047 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.762e-05/0.1915, allocations: 0 / 0.9047 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.1915, allocations: 3.984 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1915, allocations: 4 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.602e-05/0.1915, allocations: 83.28 kB / 0.9048 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1915, allocations: 0 / 0.9048 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002229/0.1918, allocations: 19.94 kB / 0.9048 GB, free: 59.22 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0002689/0.192, allocations: 0.7084 MB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.18e-05/0.1921, allocations: 28.33 kB / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1921, allocations: 0 / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.565e-05/0.1922, allocations: 11.98 kB / 0.9056 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.1923, allocations: 0 / 0.9056 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.1927, allocations: 171.2 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.912e-05/0.1928, allocations: 0.6733 MB / 0.9064 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.1928, allocations: 15.95 kB / 0.9064 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.1929, allocations: 11.44 kB / 0.9064 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/0.1929, allocations: 0 / 0.9064 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0101/0.203, allocations: 1.201 MB / 0.9076 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001352/0.2031, allocations: 222.6 kB / 0.9078 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/1.709, allocations: 0 / 0.9078 GB, free: 56.25 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)