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_m_flow.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_m_flow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.456/1.456, allocations: 252 MB / 267 MB, free: 10.94 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.0009708/0.0009708, allocations: 181.5 kB / 326.6 MB, free: 2.207 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.552/1.552, allocations: 205.4 MB / 0.5777 GB, free: 20.5 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.0007853/0.0007852, allocations: 84.08 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003126, allocations: 10.03 kB / 0.7965 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1952, allocations: 106.3 MB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001213/0.1965, allocations: 0.9854 MB / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006924/0.1972, allocations: 0.5311 MB / 0.9018 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.1972, allocations: 0 / 0.9018 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.1973, allocations: 0 / 0.9018 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.961e-05/0.1973, allocations: 7.938 kB / 0.9018 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.1977, allocations: 121.8 kB / 0.9019 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.956e-05/0.1977, allocations: 7.938 kB / 0.9019 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.1978, allocations: 0 / 0.9019 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.848e-05/0.1978, allocations: 8 kB / 0.9019 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.1979, allocations: 7.969 kB / 0.9019 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.1979, allocations: 0 / 0.9019 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.1982, allocations: 331.3 kB / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.953e-06/0.1983, allocations: 0 / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.1983, allocations: 33.7 kB / 0.9023 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1984, allocations: 92.11 kB / 0.9024 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1984, allocations: 0 / 0.9024 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1984, allocations: 0 / 0.9024 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.1985, allocations: 0 / 0.9024 GB, free: 62.03 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.0002613/0.1987, allocations: 347.3 kB / 0.9027 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1988, allocations: 8.031 kB / 0.9027 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.566e-05/0.1988, allocations: 34.56 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.148e-05/0.1988, allocations: 4 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.444e-05/0.1989, allocations: 175 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-06/0.1989, allocations: 3.938 kB / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.1989, allocations: 0 / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.497e-05/0.199, allocations: 29.7 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.199, allocations: 0 / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.842e-06/0.199, allocations: 0 / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.199, allocations: 0 / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.1991, allocations: 4 kB / 0.903 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.1992, allocations: 157.7 kB / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.079e-05/0.1992, allocations: 30.52 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/0.1993, allocations: 8.922 kB / 0.9031 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.1993, allocations: 0 / 0.9031 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.1993, allocations: 34.55 kB / 0.9032 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1993, allocations: 0 / 0.9032 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001175/0.1994, allocations: 41.69 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.1995, allocations: 59.53 kB / 0.9033 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.102e-05/0.1995, allocations: 93.8 kB / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.1995, allocations: 25.7 kB / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.329e-05/0.1995, allocations: 88.12 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.1996, allocations: 11.84 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.1996, allocations: 0 / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.101e-05/0.1996, allocations: 314.8 kB / 0.9038 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.1996, allocations: 4 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-06/0.1996, allocations: 4.125 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.412e-05/0.1997, allocations: 4 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1997, allocations: 0 / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.809e-05/0.1997, allocations: 41.69 kB / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1998, allocations: 4 kB / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1998, allocations: 3.938 kB / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1998, allocations: 0 / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1999, allocations: 8 kB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002241/0.2002, allocations: 0.5938 MB / 0.9044 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.2002, allocations: 7.984 kB / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.2002, allocations: 0 / 0.9044 GB, free: 59.67 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 4.927e-05/0.2003, allocations: 109.8 kB / 0.9045 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.2003, allocations: 4 kB / 0.9045 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.589e-05/0.2004, allocations: 48.84 kB / 0.9046 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2004, allocations: 4.031 kB / 0.9046 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2004, allocations: 0 / 0.9046 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2004, allocations: 0 / 0.9046 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.732e-05/0.2005, allocations: 157.6 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2005, allocations: 0 / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.708e-05/0.2005, allocations: 8 kB / 0.9047 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2005, allocations: 3.938 kB / 0.9048 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.2006, allocations: 0 / 0.9048 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001613/0.2007, allocations: 0.5899 MB / 0.9053 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2007, allocations: 4 kB / 0.9053 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.918e-05/0.2008, allocations: 73.11 kB / 0.9054 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.2008, allocations: 81.02 kB / 0.9055 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.2008, allocations: 3.984 kB / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.416e-05/0.2008, allocations: 0 / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.2009, allocations: 8.078 kB / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.2009, allocations: 4 kB / 0.9055 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.512e-05/0.2009, allocations: 75.28 kB / 0.9056 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2009, allocations: 0 / 0.9056 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001894/0.2011, allocations: 8 kB / 0.9056 GB, free: 58.37 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.0002499/0.2013, allocations: 0.615 MB / 0.9062 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.2015, allocations: 19.92 kB / 0.9062 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2015, allocations: 4 kB / 0.9062 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.587e-05/0.2016, allocations: 8 kB / 0.9062 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.2017, allocations: 9.172 kB / 0.9062 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.2021, allocations: 148.9 kB / 0.9064 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.752e-05/0.2022, allocations: 0.6731 MB / 0.907 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.775e-05/0.2022, allocations: 3.984 kB / 0.907 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.2022, allocations: 7.438 kB / 0.907 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of SimCode: time 9.82e-07/0.2022, allocations: 0 / 0.907 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01128/0.2135, allocations: 1.174 MB / 0.9082 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/0.2137, allocations: 264.1 kB / 0.9084 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/1.782, allocations: 0 / 0.9084 GB, free: 55.52 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)