Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 252 MB / 267 MB, free: 10.96 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.0009187/0.0009187, allocations: 181.2 kB / 326.6 MB, free: 2.227 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.522/1.522, allocations: 205.4 MB / 0.5777 GB, free: 20.33 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.0007578/0.0007578, allocations: 80.36 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004718, allocations: 14.22 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1863, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00121/0.1875, allocations: 0.9813 MB / 0.9013 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007244/0.1883, allocations: 0.5273 MB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.504e-05/0.1883, allocations: 4 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.1884, allocations: 0 / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.162e-05/0.1884, allocations: 3.938 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.1889, allocations: 130 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.427e-05/0.189, allocations: 4 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.189, allocations: 3.938 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.052e-05/0.1891, allocations: 11.98 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.361e-05/0.1891, allocations: 0 / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1891, allocations: 8 kB / 0.9019 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.1895, allocations: 335.3 kB / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.584e-06/0.1896, allocations: 0 / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.1896, allocations: 25.7 kB / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.1898, allocations: 92.11 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1898, allocations: 0 / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1898, allocations: 4 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.1898, allocations: 0 / 0.9024 GB, free: 61.68 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003054/0.1901, allocations: 343.3 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1902, allocations: 16.03 kB / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.1902, allocations: 34.55 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.1902, allocations: 4 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.82e-05/0.1903, allocations: 167 kB / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.1903, allocations: 0 / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1904, allocations: 4 kB / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.643e-05/0.1904, allocations: 25.7 kB / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1905, allocations: 0 / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1905, allocations: 8 kB / 0.903 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1905, allocations: 0 / 0.903 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.661e-05/0.1905, allocations: 7.984 kB / 0.903 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.1906, allocations: 153.6 kB / 0.9031 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.649e-05/0.1907, allocations: 26.55 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.1907, allocations: 12.91 kB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1908, allocations: 0 / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.1908, allocations: 30.56 kB / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1908, allocations: 4 kB / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001308/0.1909, allocations: 41.7 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.1909, allocations: 51.41 kB / 0.9033 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.006e-05/0.191, allocations: 97.84 kB / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.191, allocations: 29.64 kB / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.557e-05/0.191, allocations: 80.14 kB / 0.9035 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.1911, allocations: 11.84 kB / 0.9035 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.1911, allocations: 256 / 0.9035 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.1911, allocations: 318.8 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.1911, allocations: 4 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-06/0.1912, allocations: 0 / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.652e-05/0.1912, allocations: 4 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1912, allocations: 3.938 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.767e-05/0.1912, allocations: 45.67 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1913, allocations: 4 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1913, allocations: 7.938 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1913, allocations: 4.094 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.1915, allocations: 11.98 kB / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002502/0.1917, allocations: 0.5859 MB / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.1918, allocations: 3.953 kB / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.1918, allocations: 0 / 0.9044 GB, free: 59.32 MB / 0.6042 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 5.715e-05/0.1918, allocations: 114.7 kB / 0.9045 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.1918, allocations: 4 kB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.475e-05/0.1919, allocations: 44.81 kB / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.192, allocations: 0 / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.192, allocations: 3.938 kB / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.192, allocations: 0 / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.266e-05/0.192, allocations: 153.6 kB / 0.9047 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.192, allocations: 0 / 0.9047 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.567e-05/0.1921, allocations: 12.03 kB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1921, allocations: 0 / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.1922, allocations: 8.016 kB / 0.9048 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002102/0.1924, allocations: 0.5821 MB / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1924, allocations: 4.031 kB / 0.9053 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.347e-05/0.1924, allocations: 65.08 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.1925, allocations: 89.12 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.1925, allocations: 0 / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.411e-05/0.1925, allocations: 0 / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.1925, allocations: 7.953 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-06/0.1925, allocations: 0 / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.756e-05/0.1926, allocations: 75.28 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1926, allocations: 0 / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001987/0.1928, allocations: 8 kB / 0.9056 GB, free: 58.04 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 (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.0002795/0.193, allocations: 0.6165 MB / 0.9062 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.1932, allocations: 19.92 kB / 0.9062 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1932, allocations: 0 / 0.9062 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.052e-05/0.1933, allocations: 11.98 kB / 0.9062 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.1935, allocations: 14.14 kB / 0.9062 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.1938, allocations: 140.7 kB / 0.9063 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.596e-05/0.194, allocations: 0.677 MB / 0.907 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.82e-05/0.194, allocations: 0 / 0.907 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.194, allocations: 7.438 kB / 0.907 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.194, allocations: 0 / 0.907 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.2056, allocations: 1.169 MB / 0.9082 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/0.2058, allocations: 255.5 kB / 0.9084 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/1.774, allocations: 0 / 0.9084 GB, free: 55.2 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)