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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.748/1.748, 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.001079/0.001079, allocations: 180.9 kB / 361.4 MB, free: 6.824 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.38/1.38, allocations: 205.2 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.0008547/0.0008547, allocations: 89.33 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.859e-05/1.86e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6666/0.6666, allocations: 115.3 MB / 0.9645 GB, free: 78.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2139/0.8807, allocations: 137.7 MB / 1.099 GB, free: 2.047 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.881, allocations: 78.94 kB / 1.099 GB, free: 1.973 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006842/0.8878, allocations: 2.271 MB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.492e-06/0.8879, allocations: 0 / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.8879, allocations: 0 / 1.101 GB, free: 15.76 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.0002956/0.8882, allocations: 331.8 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.8882, allocations: 8.031 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.8883, allocations: 5.031 kB / 1.102 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.8884, allocations: 168.2 kB / 1.102 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.8884, allocations: 2.156 kB / 1.102 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.8884, allocations: 0.9375 kB / 1.102 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.859e-05/0.8885, allocations: 7.406 kB / 1.102 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.802e-05/0.8886, allocations: 33.69 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.8886, allocations: 0 / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.8886, allocations: 0 / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.8886, allocations: 0 / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.8887, allocations: 134.1 kB / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.832e-05/0.8888, allocations: 32.19 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.8888, allocations: 8.859 kB / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.8888, allocations: 0 / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.8889, allocations: 41.03 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.8889, allocations: 0 / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001335/0.889, allocations: 33.61 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.8891, allocations: 56.28 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.11e-05/0.8891, allocations: 90 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.8892, allocations: 25.7 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.504e-05/0.8892, allocations: 83.61 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.8892, allocations: 7.984 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.8892, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.901e-05/0.8893, allocations: 310.8 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.257e-06/0.8893, allocations: 0 / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-06/0.8893, allocations: 7.938 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.497e-05/0.8894, allocations: 7.094 kB / 1.103 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8894, allocations: 2.125 kB / 1.103 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.644e-05/0.8894, allocations: 41.56 kB / 1.103 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.8895, allocations: 13.08 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.8895, allocations: 0 / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.8895, allocations: 0 / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.8897, allocations: 12.25 kB / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000333/0.89, allocations: 0.5782 MB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.89, allocations: 3.984 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.89, allocations: 0 / 1.103 GB, free: 13.55 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 6.794e-05/0.8901, allocations: 112.9 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.667e-05/0.8902, allocations: 33.7 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.8902, allocations: 11.19 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.052e-05/0.8903, allocations: 41.44 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8903, allocations: 2.203 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.8903, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.8903, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.345e-05/0.8904, allocations: 138.2 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.8904, allocations: 0 / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.8905, allocations: 11.94 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.8905, allocations: 0 / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.8905, allocations: 4.031 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002838/0.8908, allocations: 0.5898 MB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.8908, allocations: 3.953 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.653e-05/0.8909, allocations: 61.11 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.8909, allocations: 77.11 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.891, allocations: 8.109 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.368e-05/0.891, allocations: 0 / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.891, allocations: 13.67 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.891, allocations: 0 / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.9e-05/0.891, allocations: 75.28 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8911, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001982/0.8913, allocations: 12 kB / 1.104 GB, free: 12.26 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.0003712/0.8916, allocations: 0.6208 MB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.8918, allocations: 8 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8918, allocations: 0 / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.776e-05/0.8919, allocations: 23.92 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001027/0.892, allocations: 0 / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.8923, allocations: 85.03 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.8925, allocations: 0.6768 MB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.677e-05/0.8925, allocations: 0 / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.8926, allocations: 7.438 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8926, allocations: 0 / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.9095, allocations: 0.7491 MB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/0.9098, allocations: 195.3 kB / 1.107 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.419/2.328, allocations: 0 / 1.107 GB, free: 9.848 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)