Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.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.Sensors.Examples.Pressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 249.5 MB / 257 MB, free: 6.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.001033/0.001033, allocations: 172.9 kB / 316.3 MB, free: 3.258 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.544/1.544, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.001009/0.001009, allocations: 84.27 kB / 0.6714 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.377e-05/2.394e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2022, allocations: 106.4 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.105/5.308, allocations: 2.183 GB / 3.068 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/5.308, allocations: 90.55 kB / 3.068 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.112/6.42, allocations: 328 MB / 3.388 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.863e-06/6.42, allocations: 0 / 3.388 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.593e-05/6.42, allocations: 12 kB / 3.388 GB, free: 203.6 MB / 0.8698 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.001242/6.421, allocations: 0.672 MB / 3.389 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/6.421, allocations: 12.03 kB / 3.389 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003697/6.421, allocations: 59.53 kB / 3.389 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/6.422, allocations: 320.8 kB / 3.39 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/6.422, allocations: 8 kB / 3.39 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/6.422, allocations: 19.95 kB / 3.39 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002153/6.422, allocations: 116.8 kB / 3.39 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/6.422, allocations: 245.3 kB / 3.39 GB, free: 202 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/6.422, allocations: 7.938 kB / 3.39 GB, free: 202 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/6.422, allocations: 0 / 3.39 GB, free: 202 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/6.422, allocations: 4 kB / 3.39 GB, free: 202 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.001358/6.424, allocations: 1.639 MB / 3.392 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/6.424, allocations: 66.56 kB / 3.392 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.119e-05/6.424, allocations: 60.91 kB / 3.392 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/6.424, allocations: 186.2 kB / 3.392 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/6.424, allocations: 38.72 kB / 3.392 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 2.264e-06/6.424, allocations: 0 / 3.392 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0004412/6.425, allocations: 153.2 kB / 3.392 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/6.425, allocations: 51.41 kB / 3.392 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/6.425, allocations: 214.3 kB / 3.392 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/6.425, allocations: 25.7 kB / 3.392 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/6.425, allocations: 207.7 kB / 3.392 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/6.425, allocations: 35.45 kB / 3.393 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/6.425, allocations: 4 kB / 3.393 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.317e-05/6.425, allocations: 334.8 kB / 3.393 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/6.425, allocations: 32 kB / 3.393 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/6.425, allocations: 175.9 kB / 3.393 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.68e-05/6.426, allocations: 71.88 kB / 3.393 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/6.426, allocations: 4 kB / 3.393 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002395/6.426, allocations: 197.2 kB / 3.393 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003352/6.426, allocations: 1.391 MB / 3.395 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/6.426, allocations: 4 kB / 3.395 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/6.426, allocations: 4 kB / 3.395 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/6.426, allocations: 55.91 kB / 3.395 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/6.426, allocations: 19.83 kB / 3.395 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/6.427, allocations: 35.72 kB / 3.395 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/6.427, allocations: 12 kB / 3.395 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/6.427, allocations: 4 kB / 3.395 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001864/6.427, allocations: 139.7 kB / 3.395 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/6.427, allocations: 4 kB / 3.395 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.079e-06/6.427, allocations: 4 kB / 3.395 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/6.427, allocations: 55.91 kB / 3.395 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/6.427, allocations: 7.938 kB / 3.395 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/6.427, allocations: 32.23 kB / 3.395 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/6.427, allocations: 15.98 kB / 3.395 GB, free: 196.4 MB / 0.8698 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 () * 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 8.088e-05/6.427, allocations: 120.8 kB / 3.395 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001445/6.428, allocations: 109.4 kB / 3.395 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/6.428, allocations: 23.72 kB / 3.395 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/6.428, allocations: 135.4 kB / 3.395 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/6.428, allocations: 0 / 3.395 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/6.428, allocations: 4 kB / 3.395 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/6.428, allocations: 288 / 3.395 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005867/6.428, allocations: 0.5321 MB / 3.396 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/6.428, allocations: 4 kB / 3.396 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/6.429, allocations: 27.92 kB / 3.396 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/6.429, allocations: 4 kB / 3.396 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/6.429, allocations: 3.984 kB / 3.396 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/6.429, allocations: 4 kB / 3.396 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/6.429, allocations: 3.953 kB / 3.396 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/6.429, allocations: 353.5 kB / 3.396 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/6.429, allocations: 104.8 kB / 3.396 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/6.429, allocations: 7.953 kB / 3.396 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/6.429, allocations: 27.91 kB / 3.396 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/6.429, allocations: 11.94 kB / 3.396 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/6.429, allocations: 7.984 kB / 3.396 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001099/6.429, allocations: 166 kB / 3.397 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/6.429, allocations: 3.938 kB / 3.397 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007994/6.43, allocations: 215.7 kB / 3.397 GB, free: 194.4 MB / 0.8698 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 () * 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.002149/6.432, allocations: 2.674 MB / 3.399 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002966/6.433, allocations: 190.9 kB / 3.4 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/6.433, allocations: 4.125 kB / 3.4 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.547e-05/6.433, allocations: 48.02 kB / 3.4 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006244/6.433, allocations: 109.5 kB / 3.4 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000762/6.434, allocations: 418 kB / 3.4 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/6.434, allocations: 0.784 MB / 3.401 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002765/6.435, allocations: 81.98 kB / 3.401 GB, free: 190 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.506e-05/6.435, allocations: 83.34 kB / 3.401 GB, free: 190 MB / 0.8698 GB Notification: Performance of SimCode: time 3.1e-07/6.435, allocations: 4 kB / 3.401 GB, free: 190 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/6.473, allocations: 15.92 MB / 3.417 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/6.473, allocations: 169.6 kB / 3.417 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/8.83, allocations: 32 / 3.417 GB, free: 173.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)