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.405/1.405, allocations: 249.3 MB / 261.8 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009769/0.000977, allocations: 168.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.1 MB / 0.572 GB, free: 10.59 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.0008364/0.0008364, allocations: 88.34 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.518e-05/4.52e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.217, allocations: 106.3 MB / 0.8919 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.679/0.8961, allocations: 132 MB / 1.021 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.8964, allocations: 77.89 kB / 1.021 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006915/0.9033, allocations: 2.283 MB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9034, allocations: 0 / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.9034, allocations: 0 / 1.023 GB, free: 0.6367 MB / 0.6355 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.0003017/0.9037, allocations: 334 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.9037, allocations: 8.031 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.971e-05/0.9038, allocations: 30.56 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.394e-05/0.9038, allocations: 4 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.9039, allocations: 163 kB / 1.024 GB, free: 20 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.9039, allocations: 3.938 kB / 1.024 GB, free: 16 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.904, allocations: 4 kB / 1.024 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.9041, allocations: 33.69 kB / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.9041, allocations: 0 / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.9041, allocations: 7.062 kB / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.9041, allocations: 0 / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.378e-05/0.9042, allocations: 4 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.9043, allocations: 157.1 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 5.35e-05/0.9044, allocations: 22.61 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.9044, allocations: 12.3 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.9044, allocations: 3.984 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.9045, allocations: 30.56 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.9045, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001177/0.9046, allocations: 37.64 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.9047, allocations: 55.41 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.877e-05/0.9047, allocations: 92.41 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.9047, allocations: 25.7 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.9048, allocations: 80.14 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.9048, allocations: 11.89 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.9048, allocations: 0 / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.9049, allocations: 318.2 kB / 1.025 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.318e-06/0.9049, allocations: 3.938 kB / 1.025 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-06/0.905, allocations: 4 kB / 1.025 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.735e-05/0.905, allocations: 8.188 kB / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.905, allocations: 0 / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.072e-05/0.9051, allocations: 41.02 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.9051, allocations: 7.984 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.9051, allocations: 0 / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.9051, allocations: 0 / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.9053, allocations: 8 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003508/0.9056, allocations: 0.5932 MB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.9057, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.9057, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.6511 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.328e-05/0.9058, allocations: 105 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.9058, allocations: 4 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.9059, allocations: 50.41 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.9059, allocations: 3.984 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.901e-05/0.9059, allocations: 4.062 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.9059, allocations: 7.953 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.7e-05/0.906, allocations: 149.7 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.9061, allocations: 0 / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.996e-05/0.9061, allocations: 14.86 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.9061, allocations: 4 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.9062, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002833/0.9064, allocations: 0.5849 MB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9065, allocations: 4.094 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.163e-05/0.9065, allocations: 64.66 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.9066, allocations: 81.02 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.9066, allocations: 3.984 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.432e-05/0.9066, allocations: 3.953 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.9067, allocations: 3.5 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.9067, allocations: 4 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.072e-05/0.9067, allocations: 83.3 kB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9067, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001825/0.9069, allocations: 12 kB / 1.026 GB, free: 13.07 MB / 0.6511 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.0004327/0.9073, allocations: 0.6148 MB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.9075, allocations: 20.11 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.9075, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.948e-05/0.9076, allocations: 11.94 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.9077, allocations: 11.62 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.908, allocations: 83.16 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.9082, allocations: 0.677 MB / 1.028 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.013e-05/0.9082, allocations: 4.125 kB / 1.028 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.9083, allocations: 7.438 kB / 1.028 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.9083, allocations: 0 / 1.028 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.9214, allocations: 1.155 MB / 1.029 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.9217, allocations: 224.4 kB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.438, allocations: 0 / 1.029 GB, free: 10.41 MB / 0.6511 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)