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.66/1.66, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.001235/0.001235, allocations: 181 kB / 371.8 MB, free: 10.29 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.634/1.634, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0008978/0.0008975, allocations: 110.8 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004512/0.0004513, allocations: 12.28 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2564, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.7892/1.046, allocations: 141.8 MB / 1.118 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008034/1.054, allocations: 5.985 MB / 1.124 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006741/1.055, allocations: 14.22 kB / 1.124 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009146/1.055, allocations: 214.9 kB / 1.124 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/1.058, allocations: 0.5147 MB / 1.125 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/1.059, allocations: 440.7 kB / 1.125 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001052/1.061, allocations: 430.8 kB / 1.125 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/1.061, allocations: 199.8 kB / 1.126 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006245/1.062, allocations: 259.4 kB / 1.126 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/1.062, allocations: 133.3 kB / 1.126 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/1.062, allocations: 10.19 kB / 1.126 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/1.063, allocations: 389.1 kB / 1.126 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/1.063, allocations: 94.36 kB / 1.126 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/1.063, allocations: 81.39 kB / 1.126 GB, free: 16.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005737/1.064, allocations: 344.5 kB / 1.127 GB, free: 16.72 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/1.064, allocations: 0 / 1.127 GB, free: 16.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.444e-06/1.064, allocations: 0 / 1.127 GB, free: 16.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.064, allocations: 0 / 1.127 GB, free: 16.72 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.0009089/1.065, allocations: 0.5798 MB / 1.127 GB, free: 16.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.065, allocations: 10.28 kB / 1.127 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.199e-05/1.065, allocations: 54.69 kB / 1.127 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004131/1.065, allocations: 62.81 kB / 1.127 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/1.066, allocations: 291.8 kB / 1.128 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/1.066, allocations: 17.09 kB / 1.128 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/1.066, allocations: 21.5 kB / 1.128 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/1.066, allocations: 315 kB / 1.128 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.066, allocations: 1.031 kB / 1.128 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/1.067, allocations: 13.12 kB / 1.128 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/1.067, allocations: 5.281 kB / 1.128 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/1.067, allocations: 177.8 kB / 1.128 GB, free: 15.82 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.001879/1.069, allocations: 1.712 MB / 1.13 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/1.069, allocations: 103 kB / 1.13 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.148e-05/1.069, allocations: 10.97 kB / 1.13 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/1.069, allocations: 32.53 kB / 1.13 GB, free: 14.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/1.069, allocations: 0 / 1.13 GB, free: 14.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.000809/1.07, allocations: 247 kB / 1.13 GB, free: 14.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/1.07, allocations: 51.41 kB / 1.13 GB, free: 14.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/1.07, allocations: 320.9 kB / 1.131 GB, free: 14.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/1.071, allocations: 31.2 kB / 1.131 GB, free: 14.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/1.071, allocations: 194.5 kB / 1.131 GB, free: 14.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/1.071, allocations: 44.09 kB / 1.131 GB, free: 14.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-06/1.071, allocations: 3.438 kB / 1.131 GB, free: 14.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.071, allocations: 343.5 kB / 1.131 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/1.071, allocations: 57.3 kB / 1.131 GB, free: 13.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/1.071, allocations: 200 kB / 1.132 GB, free: 13.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/1.072, allocations: 87.69 kB / 1.132 GB, free: 13.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.072, allocations: 2.469 kB / 1.132 GB, free: 13.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004786/1.072, allocations: 256.6 kB / 1.132 GB, free: 13.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006524/1.073, allocations: 1.398 MB / 1.133 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.073, allocations: 5.094 kB / 1.133 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/1.073, allocations: 17.28 kB / 1.133 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/1.073, allocations: 51.88 kB / 1.133 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/1.073, allocations: 12.94 kB / 1.133 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/1.073, allocations: 49.36 kB / 1.133 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/1.073, allocations: 10.78 kB / 1.133 GB, free: 11.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/1.073, allocations: 3.781 kB / 1.133 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003939/1.074, allocations: 214.5 kB / 1.134 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.074, allocations: 2.719 kB / 1.134 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.021e-06/1.074, allocations: 5.031 kB / 1.134 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/1.074, allocations: 49.44 kB / 1.134 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/1.074, allocations: 5.406 kB / 1.134 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/1.074, allocations: 41.16 kB / 1.134 GB, free: 11.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/1.074, allocations: 14.34 kB / 1.134 GB, free: 11.89 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.0001967/1.074, allocations: 232.7 kB / 1.134 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/1.074, allocations: 34.66 kB / 1.134 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/1.075, allocations: 173.6 kB / 1.134 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/1.075, allocations: 6.75 kB / 1.134 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.075, allocations: 3.938 kB / 1.134 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.075, allocations: 0 / 1.134 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009613/1.076, allocations: 0.621 MB / 1.135 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.076, allocations: 3.094 kB / 1.135 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/1.076, allocations: 24.61 kB / 1.135 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/1.076, allocations: 7.312 kB / 1.135 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/1.076, allocations: 2.375 kB / 1.135 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/1.076, allocations: 5.906 kB / 1.135 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.076, allocations: 9.031 kB / 1.135 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/1.077, allocations: 389.6 kB / 1.135 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/1.077, allocations: 115.8 kB / 1.135 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/1.077, allocations: 8.578 kB / 1.135 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/1.077, allocations: 20.73 kB / 1.135 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/1.077, allocations: 12.98 kB / 1.135 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/1.077, allocations: 3.094 kB / 1.135 GB, free: 10.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002245/1.077, allocations: 228.2 kB / 1.136 GB, free: 10.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.077, allocations: 0 / 1.136 GB, free: 10.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005896/1.078, allocations: 132.7 kB / 1.136 GB, free: 10.71 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.001303/1.079, allocations: 1.48 MB / 1.137 GB, free: 9.367 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000594/1.08, allocations: 255.4 kB / 1.137 GB, free: 9.344 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.08, allocations: 2.875 kB / 1.137 GB, free: 9.344 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/1.08, allocations: 76.02 kB / 1.137 GB, free: 9.332 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007943/1.081, allocations: 127.6 kB / 1.138 GB, free: 9.328 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/1.084, allocations: 3.882 MB / 1.141 GB, free: 6.262 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/1.085, allocations: 0.7841 MB / 1.142 GB, free: 5.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003229/1.085, allocations: 80.8 kB / 1.142 GB, free: 5.484 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/1.085, allocations: 91.19 kB / 1.142 GB, free: 5.469 MB / 0.698 GB Notification: Performance of SimCode: time 1.884e-06/1.085, allocations: 0 / 1.142 GB, free: 5.469 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/1.11, allocations: 7.503 MB / 1.15 GB, free: 1.879 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/1.11, allocations: 223.5 kB / 1.15 GB, free: 1.637 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/3.262, allocations: 3.938 kB / 1.15 GB, free: 1.633 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)