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_dp.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_dp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.532/1.532, allocations: 285.4 MB / 298 MB, free: 5.996 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.00116/0.00116, allocations: 172.9 kB / 366.4 MB, free: 2.086 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.472/1.472, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0009817/0.0009813, allocations: 90.64 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.333e-05/3.335e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6839/0.6839, allocations: 115.3 MB / 0.971 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/0.8815, allocations: 138.4 MB / 1.106 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.8818, allocations: 79.94 kB / 1.106 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01037/0.8922, allocations: 3.444 MB / 1.11 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8922, allocations: 0 / 1.11 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.8923, allocations: 0.5312 kB / 1.11 GB, free: 9.852 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.0003462/0.8926, allocations: 339.6 kB / 1.11 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.8927, allocations: 12.03 kB / 1.11 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/0.8927, allocations: 34.22 kB / 1.11 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.8927, allocations: 0 / 1.11 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.8929, allocations: 167.7 kB / 1.11 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.8929, allocations: 8 kB / 1.11 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.8929, allocations: 3.938 kB / 1.11 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.102e-05/0.893, allocations: 32.17 kB / 1.11 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.8931, allocations: 0 / 1.11 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.8931, allocations: 0 / 1.11 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.8931, allocations: 0 / 1.11 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.745e-05/0.8931, allocations: 4 kB / 1.11 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.8933, allocations: 157.1 kB / 1.11 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.77e-05/0.8933, allocations: 23.8 kB / 1.11 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.8934, allocations: 13.67 kB / 1.11 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.8934, allocations: 6.875 kB / 1.11 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.8934, allocations: 31.28 kB / 1.11 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.8934, allocations: 1.5 kB / 1.11 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001384/0.8936, allocations: 37.61 kB / 1.11 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.8936, allocations: 56.27 kB / 1.111 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.139e-05/0.8937, allocations: 99.31 kB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.8937, allocations: 25.7 kB / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.8938, allocations: 80.14 kB / 1.111 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.8938, allocations: 0 / 1.111 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.8938, allocations: 0 / 1.111 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.894, allocations: 310.8 kB / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.894, allocations: 10.69 kB / 1.111 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-06/0.894, allocations: 3.938 kB / 1.111 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.962e-05/0.894, allocations: 7.953 kB / 1.111 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.894, allocations: 0 / 1.111 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.766e-05/0.8941, allocations: 41.59 kB / 1.111 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.8941, allocations: 8.781 kB / 1.111 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.8941, allocations: 0 / 1.111 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.8942, allocations: 3.281 kB / 1.111 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.8943, allocations: 11.98 kB / 1.111 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003842/0.8947, allocations: 0.5821 MB / 1.112 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.8948, allocations: 7.953 kB / 1.112 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.8948, allocations: 0 / 1.112 GB, free: 7.547 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.625e-05/0.8949, allocations: 109.4 kB / 1.112 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.8949, allocations: 0 / 1.112 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.895, allocations: 44.81 kB / 1.112 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.895, allocations: 0 / 1.112 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.895, allocations: 0 / 1.112 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.895, allocations: 0 / 1.112 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.8951, allocations: 153.6 kB / 1.112 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8951, allocations: 1.688 kB / 1.112 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.929e-05/0.8952, allocations: 8 kB / 1.112 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.8952, allocations: 4.031 kB / 1.112 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.8953, allocations: 3.938 kB / 1.112 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003161/0.8956, allocations: 0.5979 MB / 1.113 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8956, allocations: 0 / 1.113 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.112e-05/0.8957, allocations: 57.27 kB / 1.113 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.8957, allocations: 81.11 kB / 1.113 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.8957, allocations: 7.984 kB / 1.113 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.483e-05/0.8958, allocations: 0 / 1.113 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.8958, allocations: 7.891 kB / 1.113 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.8958, allocations: 3.938 kB / 1.113 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.504e-05/0.8958, allocations: 79.28 kB / 1.113 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8958, allocations: 0 / 1.113 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001957/0.896, allocations: 15.94 kB / 1.113 GB, free: 6.262 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.000438/0.8965, allocations: 0.6213 MB / 1.113 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.8966, allocations: 19.94 kB / 1.113 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8967, allocations: 0 / 1.113 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.943e-05/0.8967, allocations: 19.45 kB / 1.113 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.876e-05/0.8968, allocations: 3.953 kB / 1.113 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.8972, allocations: 93.61 kB / 1.114 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.8975, allocations: 0.677 MB / 1.114 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.686e-05/0.8975, allocations: 0 / 1.114 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.8975, allocations: 7.438 kB / 1.114 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.8975, allocations: 0 / 1.114 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.9098, allocations: 1.144 MB / 1.115 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.91, allocations: 225.4 kB / 1.116 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/2.358, allocations: 0 / 1.116 GB, free: 3.613 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)