Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.674/1.674, allocations: 288.4 MB / 303.6 MB, free: 8.129 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.0008748/0.0008748, allocations: 187 kB / 372.3 MB, free: 10.1 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.363/1.363, allocations: 205.4 MB / 0.631 GB, free: 9.789 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007573/0.0007573, allocations: 90.36 kB / 0.7444 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 12.19 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1891, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001074/0.1902, allocations: 0.9706 MB / 0.9811 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006701/0.1909, allocations: 0.5347 MB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.1909, allocations: 0 / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.191, allocations: 0 / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.358e-05/0.191, allocations: 4 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.1915, allocations: 120.7 kB / 0.9818 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.1915, allocations: 11.94 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.725e-05/0.1916, allocations: 0 / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.493e-05/0.1916, allocations: 7.984 kB / 0.9818 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.283e-05/0.1917, allocations: 7.922 kB / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.1917, allocations: 0 / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004062/0.1921, allocations: 335.3 kB / 0.9821 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.1921, allocations: 3.984 kB / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.1922, allocations: 37.7 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.1923, allocations: 88.12 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.1924, allocations: 0 / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1924, allocations: 0 / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.1924, allocations: 4 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003725/0.1928, allocations: 343.5 kB / 0.9826 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1928, allocations: 8.031 kB / 0.9826 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.787e-05/0.1928, allocations: 34.75 kB / 0.9826 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.1929, allocations: 8.781 kB / 0.9826 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.005e-05/0.193, allocations: 168.4 kB / 0.9828 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.193, allocations: 4.312 kB / 0.9828 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.193, allocations: 384 / 0.9828 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.402e-05/0.1931, allocations: 30.27 kB / 0.9828 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1931, allocations: 3.938 kB / 0.9828 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1931, allocations: 4 kB / 0.9828 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.1932, allocations: 4 kB / 0.9828 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.554e-05/0.1932, allocations: 3.984 kB / 0.9828 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.1933, allocations: 149.7 kB / 0.983 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.41e-05/0.1934, allocations: 26.55 kB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.1934, allocations: 8.922 kB / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.1934, allocations: 3.984 kB / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1935, allocations: 30.56 kB / 0.9831 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.1935, allocations: 3.938 kB / 0.9831 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001474/0.1936, allocations: 45.77 kB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.1937, allocations: 55.41 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.66e-05/0.1937, allocations: 101.8 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.1937, allocations: 25.7 kB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.541e-05/0.1938, allocations: 84.12 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.1938, allocations: 3.906 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-06/0.1938, allocations: 3.938 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.372e-05/0.1938, allocations: 310.8 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.1939, allocations: 8.125 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.333e-06/0.1939, allocations: 4 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.451e-05/0.1939, allocations: 12.86 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1939, allocations: 0 / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.709e-05/0.194, allocations: 41.69 kB / 0.9837 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.194, allocations: 7.938 kB / 0.9837 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.194, allocations: 0 / 0.9837 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.194, allocations: 0 / 0.9837 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.1942, allocations: 11.98 kB / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002328/0.1944, allocations: 0.5861 MB / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.1944, allocations: 4.031 kB / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.1944, allocations: 0 / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/0.1945, allocations: 109.8 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-06/0.1945, allocations: 3.906 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.741e-05/0.1946, allocations: 56.83 kB / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1946, allocations: 4 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1946, allocations: 0 / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1946, allocations: 0 / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.026e-05/0.1947, allocations: 153.6 kB / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1947, allocations: 11.94 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.831e-05/0.1948, allocations: 4 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1948, allocations: 4 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.1948, allocations: 3.984 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000182/0.195, allocations: 0.5822 MB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.195, allocations: 3.938 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.183e-05/0.1951, allocations: 61.14 kB / 0.9853 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.1951, allocations: 85.09 kB / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.1951, allocations: 3.938 kB / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.432e-05/0.1951, allocations: 4.125 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.1951, allocations: 3.938 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1951, allocations: 4 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.619e-05/0.1952, allocations: 79.28 kB / 0.9855 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1952, allocations: 0 / 0.9855 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001855/0.1954, allocations: 15.94 kB / 0.9855 GB, free: 21.42 MB / 0.6198 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002453/0.1956, allocations: 0.6125 MB / 0.9861 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.1958, allocations: 19.98 kB / 0.9861 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1958, allocations: 0 / 0.9861 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.961e-05/0.1959, allocations: 15.98 kB / 0.9861 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.196, allocations: 6.984 kB / 0.9861 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.1964, allocations: 145 kB / 0.9862 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.49e-05/0.1965, allocations: 0.677 MB / 0.9869 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.916e-05/0.1965, allocations: 0 / 0.9869 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.1965, allocations: 11.38 kB / 0.9869 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.1965, allocations: 3.938 kB / 0.9869 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1457/0.3423, allocations: 1.124 MB / 0.988 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.3425, allocations: 249.1 kB / 0.9883 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/1.884, allocations: 4.062 kB / 0.9883 GB, free: 18.63 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)