Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 2.417/2.417, allocations: 284.9 MB / 292.4 MB, free: 10.6 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.001443/0.001443, allocations: 180.8 kB / 360.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.2 MB / 0.6191 GB, free: 12.21 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.001133/0.001133, allocations: 89.5 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.493e-05/2.505e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8064/0.8065, allocations: 115.3 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2331/1.04, allocations: 137.5 MB / 1.098 GB, free: 2.922 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/1.04, allocations: 76.45 kB / 1.098 GB, free: 2.848 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01172/1.052, allocations: 2.263 MB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.228e-06/1.052, allocations: 4.547 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.323e-06/1.052, allocations: 0 / 1.1 GB, free: 0.6367 MB / 0.698 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.00037/1.052, allocations: 329 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/1.052, allocations: 8.031 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/1.052, allocations: 8.625 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/1.052, allocations: 163.6 kB / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/1.052, allocations: 0 / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/1.052, allocations: 0.7188 kB / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.973e-05/1.053, allocations: 4 kB / 1.1 GB, free: 56 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.225e-05/1.053, allocations: 34.58 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.053, allocations: 2.984 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/1.053, allocations: 0 / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/1.053, allocations: 0.625 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/1.053, allocations: 137.7 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.216e-05/1.053, allocations: 31.2 kB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/1.053, allocations: 5.859 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/1.053, allocations: 0 / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/1.053, allocations: 36.03 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 3.346e-06/1.053, allocations: 0 / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001387/1.053, allocations: 44.16 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/1.053, allocations: 55.41 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.896e-05/1.053, allocations: 89 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/1.053, allocations: 26.3 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/1.053, allocations: 81.27 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/1.054, allocations: 4 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-06/1.054, allocations: 2.719 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.054, allocations: 312.2 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/1.054, allocations: 0 / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.798e-05/1.054, allocations: 8 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.148e-05/1.054, allocations: 9.203 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.054, allocations: 0 / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.898e-05/1.054, allocations: 45.78 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.054, allocations: 8 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.054, allocations: 0 / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/1.054, allocations: 0 / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/1.054, allocations: 11.98 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004294/1.055, allocations: 0.5782 MB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/1.055, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/1.055, allocations: 4.156 kB / 1.102 GB, free: 14.43 MB / 0.7136 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 () * 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 9.282e-05/1.055, allocations: 118.7 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.08e-05/1.055, allocations: 41.69 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/1.055, allocations: 0 / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/1.055, allocations: 41.44 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/1.055, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.055, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.055, allocations: 3.953 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/1.055, allocations: 134.3 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/1.055, allocations: 0 / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/1.055, allocations: 15.92 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.055, allocations: 1.312 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/1.055, allocations: 0 / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003739/1.056, allocations: 0.5898 MB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.056, allocations: 0 / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.715e-05/1.056, allocations: 68.44 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/1.056, allocations: 78.19 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/1.056, allocations: 3.938 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.033e-05/1.056, allocations: 0 / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/1.056, allocations: 7.953 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/1.056, allocations: 3.938 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.458e-05/1.056, allocations: 79.27 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.056, allocations: 4.125 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002825/1.056, allocations: 12 kB / 1.103 GB, free: 13.13 MB / 0.7136 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 () * 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.0004747/1.057, allocations: 0.6046 MB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002106/1.057, allocations: 17.67 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.057, allocations: 4.094 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/1.057, allocations: 15.94 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/1.057, allocations: 7.953 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/1.058, allocations: 77.88 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/1.058, allocations: 0.6768 MB / 1.104 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.091e-05/1.058, allocations: 0 / 1.104 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/1.058, allocations: 7.438 kB / 1.104 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/1.058, allocations: 4.062 kB / 1.104 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03924/1.097, allocations: 0.7444 MB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003295/1.098, allocations: 176.5 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/3.481, allocations: 1.125 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)