Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.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.Sensors.Examples.Pressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Pressure",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.568/1.568, allocations: 288.4 MB / 303.6 MB, free: 8.086 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.0009909/0.0009909, allocations: 184.5 kB / 372.3 MB, free: 10.13 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.33/1.33, allocations: 205.4 MB / 0.631 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006461/0.0006462, allocations: 98.28 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004881, allocations: 16.61 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2065, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.5601/0.7667, allocations: 154 MB / 1.131 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005871/0.7726, allocations: 6.777 MB / 1.137 GB, free: 15.69 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.7729, allocations: 12.69 kB / 1.137 GB, free: 15.68 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.7734, allocations: 161.2 kB / 1.137 GB, free: 15.61 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.7746, allocations: 0.5053 MB / 1.138 GB, free: 15.41 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008567/0.7755, allocations: 355.1 kB / 1.138 GB, free: 15.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007398/0.7762, allocations: 0.8692 MB / 1.139 GB, free: 15.19 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/0.7765, allocations: 218 kB / 1.139 GB, free: 15.15 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005064/0.777, allocations: 335.5 kB / 1.14 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.7772, allocations: 203.8 kB / 1.14 GB, free: 15 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.7773, allocations: 10.06 kB / 1.14 GB, free: 15 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009507/0.7782, allocations: 0.7659 MB / 1.14 GB, free: 14.87 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.659e-05/0.7783, allocations: 100.9 kB / 1.141 GB, free: 14.85 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.7785, allocations: 164 kB / 1.141 GB, free: 14.78 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004164/0.7789, allocations: 401.8 kB / 1.141 GB, free: 14.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7789, allocations: 0 / 1.141 GB, free: 14.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7789, allocations: 0 / 1.141 GB, free: 14.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.7789, allocations: 0 / 1.141 GB, free: 14.71 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007085/0.7796, allocations: 0.5845 MB / 1.142 GB, free: 14.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.7797, allocations: 13.56 kB / 1.142 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.7797, allocations: 56.62 kB / 1.142 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002765/0.78, allocations: 64.89 kB / 1.142 GB, free: 14.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.7804, allocations: 312.4 kB / 1.142 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.7804, allocations: 20 kB / 1.142 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.7804, allocations: 27.19 kB / 1.142 GB, free: 13.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.7809, allocations: 300.1 kB / 1.142 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.7809, allocations: 1.156 kB / 1.142 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.7809, allocations: 12.91 kB / 1.142 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.7809, allocations: 5.562 kB / 1.142 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.7813, allocations: 191.1 kB / 1.143 GB, free: 13.77 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.7827, allocations: 1.713 MB / 1.144 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.7829, allocations: 91.94 kB / 1.144 GB, free: 12.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.7831, allocations: 83.48 kB / 1.144 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/0.7833, allocations: 192.2 kB / 1.145 GB, free: 12.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.7834, allocations: 32.47 kB / 1.145 GB, free: 12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.7834, allocations: 0 / 1.145 GB, free: 12 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0006206/0.784, allocations: 237.8 kB / 1.145 GB, free: 11.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.784, allocations: 53 kB / 1.145 GB, free: 11.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.7843, allocations: 324.7 kB / 1.145 GB, free: 11.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.7844, allocations: 28.33 kB / 1.145 GB, free: 11.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.7845, allocations: 198.1 kB / 1.146 GB, free: 11.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.7845, allocations: 44.25 kB / 1.146 GB, free: 11.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.7845, allocations: 2.062 kB / 1.146 GB, free: 11.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.7846, allocations: 339.7 kB / 1.146 GB, free: 11.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.7848, allocations: 60.45 kB / 1.146 GB, free: 11.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.785, allocations: 200.7 kB / 1.146 GB, free: 10.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.7854, allocations: 237.3 kB / 1.146 GB, free: 10.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.7854, allocations: 1.188 kB / 1.146 GB, free: 10.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004413/0.7858, allocations: 268 kB / 1.147 GB, free: 10.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.125e-05/0.7859, allocations: 191.7 kB / 1.147 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.7859, allocations: 3.969 kB / 1.147 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.786, allocations: 4.156 kB / 1.147 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.7861, allocations: 54.19 kB / 1.147 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.7861, allocations: 5.562 kB / 1.147 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.7864, allocations: 45.22 kB / 1.147 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.7864, allocations: 13.34 kB / 1.147 GB, free: 10.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.884e-06/0.7864, allocations: 5.188 kB / 1.147 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003619/0.7868, allocations: 202.7 kB / 1.147 GB, free: 10.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.7868, allocations: 4 kB / 1.147 GB, free: 10.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/0.7868, allocations: 13.03 kB / 1.147 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.787, allocations: 53.75 kB / 1.147 GB, free: 10.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.787, allocations: 11.81 kB / 1.147 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.7872, allocations: 41.16 kB / 1.147 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.7873, allocations: 15.28 kB / 1.147 GB, free: 10.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.7874, allocations: 235 kB / 1.147 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.7875, allocations: 29.72 kB / 1.148 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.7878, allocations: 169.5 kB / 1.148 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.7879, allocations: 5.281 kB / 1.148 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.7879, allocations: 0 / 1.148 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7879, allocations: 5.031 kB / 1.148 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008069/0.7887, allocations: 0.62 MB / 1.148 GB, free: 9.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.7887, allocations: 1.438 kB / 1.148 GB, free: 9.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.7888, allocations: 25.73 kB / 1.148 GB, free: 9.586 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.7888, allocations: 2.781 kB / 1.148 GB, free: 9.586 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.7888, allocations: 5.594 kB / 1.148 GB, free: 9.586 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.7889, allocations: 7.094 kB / 1.148 GB, free: 9.582 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.7889, allocations: 2.594 kB / 1.148 GB, free: 9.582 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.7892, allocations: 315 kB / 1.149 GB, free: 9.344 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-05/0.7893, allocations: 115.7 kB / 1.149 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.7894, allocations: 3.375 kB / 1.149 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.7896, allocations: 26.3 kB / 1.149 GB, free: 9.219 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.7896, allocations: 20.05 kB / 1.149 GB, free: 9.207 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.7896, allocations: 4.531 kB / 1.149 GB, free: 9.207 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001943/0.7898, allocations: 224.1 kB / 1.149 GB, free: 9.098 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7898, allocations: 0 / 1.149 GB, free: 9.098 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005075/0.7904, allocations: 139.2 kB / 1.149 GB, free: 9.078 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007965/0.7912, allocations: 0.9003 MB / 1.15 GB, free: 8.289 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005072/0.7917, allocations: 263.6 kB / 1.15 GB, free: 8.219 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7917, allocations: 3.938 kB / 1.15 GB, free: 8.215 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.7918, allocations: 70.23 kB / 1.15 GB, free: 8.199 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.7927, allocations: 139.9 kB / 1.15 GB, free: 8.152 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.7948, allocations: 1.645 MB / 1.152 GB, free: 7.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.7951, allocations: 0.7725 MB / 1.153 GB, free: 6.445 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002795/0.7954, allocations: 91.25 kB / 1.153 GB, free: 6.402 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.7956, allocations: 88.5 kB / 1.153 GB, free: 6.387 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/0.7956, allocations: 4 kB / 1.153 GB, free: 6.383 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5674/1.363, allocations: 7.58 MB / 1.16 GB, free: 2.766 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003099/1.363, allocations: 238.2 kB / 1.161 GB, free: 2.516 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.809, allocations: 0 / 1.161 GB, free: 2.516 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)