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_m_flow.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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.613/1.613, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.0009464/0.0009464, allocations: 176.8 kB / 361.4 MB, free: 6.852 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.496/1.496, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0008324/0.0008324, allocations: 91.58 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.656e-05/1.659e-05, allocations: 4 kB / 0.8517 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.589/0.5891, allocations: 115.3 MB / 0.9644 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1775/0.7666, allocations: 137.7 MB / 1.099 GB, free: 2.172 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.7669, allocations: 83.08 kB / 1.099 GB, free: 2.094 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006869/0.7738, allocations: 2.254 MB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7739, allocations: 0 / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.597e-06/0.7739, allocations: 0.625 kB / 1.101 GB, free: 15.89 MB / 0.7136 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.000317/0.7742, allocations: 335.4 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.7743, allocations: 8.031 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.7743, allocations: 1.75 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.7745, allocations: 171 kB / 1.102 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.7745, allocations: 0.6875 kB / 1.102 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.7745, allocations: 0 / 1.102 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.65e-05/0.7746, allocations: 6.438 kB / 1.102 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.713e-05/0.7746, allocations: 28.27 kB / 1.102 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.7746, allocations: 1.438 kB / 1.102 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.7747, allocations: 0 / 1.102 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.7747, allocations: 4 kB / 1.102 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.7748, allocations: 141.3 kB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.822e-05/0.7749, allocations: 22.55 kB / 1.102 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.556e-05/0.7749, allocations: 8.922 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.775, allocations: 0 / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.775, allocations: 34.56 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.775, allocations: 7 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001244/0.7751, allocations: 33.7 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.7752, allocations: 51.41 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.659e-05/0.7752, allocations: 94.33 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.7753, allocations: 25.7 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.7753, allocations: 82.48 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.7753, allocations: 11.84 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.7753, allocations: 0 / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.7755, allocations: 314.8 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-06/0.7755, allocations: 0 / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-06/0.7755, allocations: 4.156 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.482e-05/0.7755, allocations: 4 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7755, allocations: 0 / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.822e-05/0.7756, allocations: 52.41 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.7756, allocations: 5.094 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.7756, allocations: 0.9375 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.7756, allocations: 4 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.7758, allocations: 4 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003851/0.7762, allocations: 0.5939 MB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.7763, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.7763, allocations: 0 / 1.103 GB, free: 13.67 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 8.099e-05/0.7764, allocations: 109 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-06/0.7764, allocations: 2.625 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.7765, allocations: 46.75 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.7765, allocations: 128 / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7765, allocations: 4 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.7765, allocations: 0 / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.275e-05/0.7766, allocations: 130.2 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7766, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.7767, allocations: 11.98 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.7767, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.7767, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003113/0.7771, allocations: 0.5898 MB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7771, allocations: 0 / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.362e-05/0.7771, allocations: 72.11 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.7772, allocations: 77.11 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.7772, allocations: 3.938 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.339e-05/0.7772, allocations: 0 / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.7773, allocations: 3.984 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.7773, allocations: 4.125 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.055e-05/0.7773, allocations: 79.28 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7773, allocations: 0 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002119/0.7775, allocations: 8 kB / 1.104 GB, free: 12.43 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.0002134/0.7778, allocations: 123.4 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.7779, allocations: 16 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.7779, allocations: 0 / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.964e-05/0.778, allocations: 16.14 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.7781, allocations: 6.797 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001942/0.7783, allocations: 52.95 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.7786, allocations: 0.6729 MB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.046e-05/0.7786, allocations: 3.938 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.427e-05/0.7786, allocations: 7.438 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7786, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of Templates: time 0.002333/0.781, allocations: 420.8 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)