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.967/1.967, allocations: 252 MB / 267.3 MB, free: 10.86 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.003862/0.003862, allocations: 179.7 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.536/3.536, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.001555/0.001555, allocations: 80.59 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005906/0.0005907, allocations: 9.188 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4026, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00261/0.4053, allocations: 0.9882 MB / 0.9019 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.407, allocations: 0.593 MB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.4071, allocations: 0 / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.707e-05/0.4072, allocations: 7.984 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.4073, allocations: 0 / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.4084, allocations: 111.6 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.372e-05/0.4085, allocations: 11.94 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.4087, allocations: 7.984 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.015e-05/0.4087, allocations: 0 / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.525e-05/0.4088, allocations: 11.92 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.4089, allocations: 0 / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008792/0.4097, allocations: 343.3 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.4098, allocations: 0 / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.4099, allocations: 29.7 kB / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.4103, allocations: 143.9 kB / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.4104, allocations: 0 / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.979e-06/0.4104, allocations: 4 kB / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.4104, allocations: 0 / 0.9031 GB, free: 61.13 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.0005807/0.411, allocations: 343.5 kB / 0.9034 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 8.047e-05/0.4111, allocations: 16.02 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.4111, allocations: 30.75 kB / 0.9035 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.4112, allocations: 4.938 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.4114, allocations: 160.4 kB / 0.9036 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.4114, allocations: 384 / 0.9036 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.4114, allocations: 4.375 kB / 0.9036 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.4116, allocations: 34.2 kB / 0.9037 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.4116, allocations: 3.938 kB / 0.9037 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.4116, allocations: 7.984 kB / 0.9037 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.4116, allocations: 0 / 0.9037 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.94e-05/0.4117, allocations: 4 kB / 0.9037 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.4119, allocations: 149.7 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.86e-05/0.412, allocations: 30.53 kB / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.4121, allocations: 8.922 kB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.4121, allocations: 7.922 kB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.4121, allocations: 34.56 kB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.4122, allocations: 0 / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002164/0.4124, allocations: 45.64 kB / 0.904 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.4124, allocations: 51.41 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/0.4125, allocations: 97.84 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.4126, allocations: 25.7 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.4126, allocations: 84.14 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.4126, allocations: 7.844 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.4127, allocations: 0 / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.4128, allocations: 319 kB / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.4128, allocations: 4 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.4128, allocations: 7.938 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.973e-05/0.4129, allocations: 16.84 kB / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.4129, allocations: 0 / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.067e-05/0.4129, allocations: 37.7 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.413, allocations: 7.938 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.413, allocations: 0 / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.413, allocations: 4 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.4133, allocations: 12.08 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003944/0.4137, allocations: 0.5898 MB / 0.9052 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.4137, allocations: 0 / 0.9052 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.4137, allocations: 0 / 0.9052 GB, free: 58.76 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.197e-05/0.4138, allocations: 111.6 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-06/0.4139, allocations: 4.094 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.414, allocations: 48.81 kB / 0.9053 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.414, allocations: 0 / 0.9053 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.414, allocations: 0 / 0.9053 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.414, allocations: 0 / 0.9053 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.57e-05/0.4141, allocations: 161.5 kB / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.4141, allocations: 0 / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.045e-05/0.4142, allocations: 11.98 kB / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4143, allocations: 0 / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.4143, allocations: 0 / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002645/0.4146, allocations: 0.586 MB / 0.9061 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4146, allocations: 3.969 kB / 0.9061 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.027e-05/0.4147, allocations: 77 kB / 0.9061 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.4147, allocations: 77.11 kB / 0.9062 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.4147, allocations: 128 / 0.9062 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.849e-05/0.4148, allocations: 4 kB / 0.9062 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.4148, allocations: 7.938 kB / 0.9062 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.4148, allocations: 0 / 0.9062 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.4148, allocations: 79.28 kB / 0.9063 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4148, allocations: 0 / 0.9063 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003064/0.4152, allocations: 8 kB / 0.9063 GB, free: 57.46 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004265/0.4156, allocations: 0.6087 MB / 0.9069 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.4158, allocations: 23.92 kB / 0.9069 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/0.4158, allocations: 0 / 0.9069 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.4159, allocations: 15.98 kB / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.4162, allocations: 7.875 kB / 0.907 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.4168, allocations: 149 kB / 0.9071 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.4169, allocations: 0.6809 MB / 0.9078 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.623e-05/0.417, allocations: 0 / 0.9078 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.417, allocations: 11.44 kB / 0.9078 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/0.417, allocations: 0 / 0.9078 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2395/0.6565, allocations: 1.162 MB / 0.9089 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003643/0.657, allocations: 284.1 kB / 0.9092 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.035/3.692, allocations: 7.312 kB / 0.9092 GB, free: 54.57 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)