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.378/1.378, allocations: 251.9 MB / 266.8 MB, free: 11.02 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.001008/0.001008, allocations: 175.4 kB / 326.5 MB, free: 2.238 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.602/1.602, allocations: 205.4 MB / 0.5775 GB, free: 20.19 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.000934/0.0009338, allocations: 90 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 12.36 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2119, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1715/0.3834, allocations: 132.1 MB / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.3837, allocations: 83.88 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007115/0.3908, allocations: 2.276 MB / 1.031 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3909, allocations: 0 / 1.031 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3909, allocations: 3.938 kB / 1.031 GB, free: 9.16 MB / 0.6823 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.0003284/0.3912, allocations: 351.1 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3913, allocations: 12.03 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.3913, allocations: 30.56 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.165e-05/0.3914, allocations: 4 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.3915, allocations: 163 kB / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.3915, allocations: 0 / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.3915, allocations: 4 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.3916, allocations: 33.64 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3916, allocations: 3.984 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3917, allocations: 4 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3917, allocations: 0 / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.603e-05/0.3917, allocations: 4 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.3919, allocations: 153.6 kB / 1.032 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.731e-05/0.3919, allocations: 26.59 kB / 1.032 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3919, allocations: 8.047 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.392, allocations: 30.56 kB / 1.032 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.392, allocations: 0 / 1.032 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001328/0.3921, allocations: 41.64 kB / 1.032 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.3922, allocations: 55.53 kB / 1.032 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.742e-05/0.3922, allocations: 92.98 kB / 1.032 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.3922, allocations: 25.7 kB / 1.032 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.3923, allocations: 80.14 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.3923, allocations: 3.906 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.3923, allocations: 8 kB / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3924, allocations: 314.8 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.3925, allocations: 0 / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-06/0.3925, allocations: 8.125 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.514e-05/0.3925, allocations: 0 / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3925, allocations: 0 / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.147e-05/0.3926, allocations: 45.62 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3926, allocations: 10.66 kB / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3926, allocations: 0 / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3926, allocations: 0 / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.3928, allocations: 11.98 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003779/0.3932, allocations: 0.5876 MB / 1.034 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.3932, allocations: 3.953 kB / 1.034 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.3932, allocations: 3.938 kB / 1.034 GB, free: 6.832 MB / 0.6823 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 7.53e-05/0.3933, allocations: 114.3 kB / 1.034 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-06/0.3933, allocations: 4 kB / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.3934, allocations: 48.84 kB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3934, allocations: 4.031 kB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3934, allocations: 0 / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3934, allocations: 4 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.814e-05/0.3935, allocations: 149.6 kB / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3935, allocations: 0 / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.29e-05/0.3936, allocations: 8 kB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3936, allocations: 0 / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3936, allocations: 7.984 kB / 1.034 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003205/0.394, allocations: 0.5898 MB / 1.034 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.394, allocations: 0 / 1.034 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.727e-05/0.3941, allocations: 57.17 kB / 1.034 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.3941, allocations: 85 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.3941, allocations: 8 kB / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.39e-05/0.3942, allocations: 0 / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.3942, allocations: 8.078 kB / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.3942, allocations: 0 / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.437e-05/0.3942, allocations: 79.28 kB / 1.035 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3942, allocations: 0 / 1.035 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001847/0.3944, allocations: 15.94 kB / 1.035 GB, free: 5.535 MB / 0.6823 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.000419/0.3948, allocations: 0.6164 MB / 1.035 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.395, allocations: 19.98 kB / 1.035 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.395, allocations: 0 / 1.035 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.817e-05/0.3951, allocations: 11.94 kB / 1.035 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/0.3952, allocations: 9.984 kB / 1.035 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.3956, allocations: 144.9 kB / 1.035 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3959, allocations: 0.677 MB / 1.036 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.604e-05/0.3959, allocations: 0 / 1.036 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.396, allocations: 11.44 kB / 1.036 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.396, allocations: 0 / 1.036 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.4074, allocations: 1.14 MB / 1.037 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/0.4077, allocations: 260.2 kB / 1.037 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/1.857, allocations: 0 / 1.037 GB, free: 2.727 MB / 0.6823 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)