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.79/1.79, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.001362/0.001362, allocations: 189 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 2.18/2.18, 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.0009559/0.0009558, allocations: 97.08 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005427/0.0005428, allocations: 17.03 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3215, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.88/6.202, allocations: 2.064 GB / 3.044 GB, free: 207.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/6.202, allocations: 94.77 kB / 3.044 GB, free: 207.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.303/7.505, allocations: 343.6 MB / 3.379 GB, free: 248.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.625e-06/7.505, allocations: 0 / 3.379 GB, free: 248.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.862e-05/7.505, allocations: 4 kB / 3.379 GB, free: 248.1 MB / 0.948 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.001918/7.507, allocations: 0.7155 MB / 3.38 GB, free: 247.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/7.507, allocations: 8.031 kB / 3.38 GB, free: 247.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/7.507, allocations: 58.55 kB / 3.38 GB, free: 247.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005054/7.507, allocations: 62.5 kB / 3.38 GB, free: 247.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007065/7.508, allocations: 322.6 kB / 3.381 GB, free: 246.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/7.508, allocations: 12.44 kB / 3.381 GB, free: 246.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/7.508, allocations: 24 kB / 3.381 GB, free: 246.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/7.509, allocations: 308.5 kB / 3.381 GB, free: 246.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/7.509, allocations: 4 kB / 3.381 GB, free: 246.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/7.509, allocations: 12 kB / 3.381 GB, free: 246.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/7.509, allocations: 4 kB / 3.381 GB, free: 246.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/7.509, allocations: 176.6 kB / 3.381 GB, free: 246.3 MB / 0.948 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.001743/7.511, allocations: 1.718 MB / 3.383 GB, free: 244.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/7.511, allocations: 90.56 kB / 3.383 GB, free: 244.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003315/7.512, allocations: 190.2 kB / 3.383 GB, free: 244.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/7.512, allocations: 30.56 kB / 3.383 GB, free: 244.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 2.515e-06/7.512, allocations: 4.156 kB / 3.383 GB, free: 244.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0007309/7.512, allocations: 241.1 kB / 3.383 GB, free: 243.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/7.512, allocations: 55.41 kB / 3.383 GB, free: 243.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/7.513, allocations: 275.7 kB / 3.384 GB, free: 243.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/7.513, allocations: 33.7 kB / 3.384 GB, free: 243.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.639e-05/7.513, allocations: 195.8 kB / 3.384 GB, free: 243.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/7.513, allocations: 39.45 kB / 3.384 GB, free: 243.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/7.513, allocations: 4 kB / 3.384 GB, free: 243.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.3e-05/7.513, allocations: 339.9 kB / 3.384 GB, free: 242.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/7.513, allocations: 55.97 kB / 3.384 GB, free: 242.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/7.513, allocations: 211.3 kB / 3.385 GB, free: 242.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/7.513, allocations: 87.89 kB / 3.385 GB, free: 242.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/7.513, allocations: 0 / 3.385 GB, free: 242.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004268/7.514, allocations: 257.3 kB / 3.385 GB, free: 242.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003499/7.514, allocations: 1.406 MB / 3.386 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/7.514, allocations: 7.938 kB / 3.386 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/7.514, allocations: 4 kB / 3.386 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/7.514, allocations: 55.91 kB / 3.386 GB, free: 240.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/7.514, allocations: 4 kB / 3.386 GB, free: 240.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/7.515, allocations: 55.61 kB / 3.386 GB, free: 240.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/7.515, allocations: 12.14 kB / 3.386 GB, free: 240.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/7.515, allocations: 5.875 kB / 3.386 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004079/7.515, allocations: 211.5 kB / 3.387 GB, free: 240.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/7.515, allocations: 4 kB / 3.387 GB, free: 240.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.563e-06/7.515, allocations: 4 kB / 3.387 GB, free: 240.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/7.515, allocations: 47.91 kB / 3.387 GB, free: 240.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/7.516, allocations: 12.36 kB / 3.387 GB, free: 240.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/7.516, allocations: 39.81 kB / 3.387 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/7.516, allocations: 12 kB / 3.387 GB, free: 240.2 MB / 0.948 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.0001707/7.516, allocations: 233 kB / 3.387 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/7.516, allocations: 35.58 kB / 3.387 GB, free: 239.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/7.516, allocations: 180.4 kB / 3.387 GB, free: 239.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/7.516, allocations: 3.938 kB / 3.387 GB, free: 239.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/7.516, allocations: 4 kB / 3.387 GB, free: 239.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/7.517, allocations: 3.984 kB / 3.387 GB, free: 239.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008688/7.517, allocations: 0.6212 MB / 3.388 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/7.517, allocations: 0 / 3.388 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/7.518, allocations: 31.92 kB / 3.388 GB, free: 239 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/7.518, allocations: 0 / 3.388 GB, free: 239 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/7.518, allocations: 4 kB / 3.388 GB, free: 239 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/7.518, allocations: 4 kB / 3.388 GB, free: 239 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/7.518, allocations: 3.984 kB / 3.388 GB, free: 239 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/7.518, allocations: 396 kB / 3.388 GB, free: 238.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/7.518, allocations: 116.7 kB / 3.388 GB, free: 238.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/7.518, allocations: 11.98 kB / 3.388 GB, free: 238.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/7.518, allocations: 19.92 kB / 3.388 GB, free: 238.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/7.518, allocations: 19.88 kB / 3.388 GB, free: 238.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/7.518, allocations: 8 kB / 3.388 GB, free: 238.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002196/7.519, allocations: 231 kB / 3.389 GB, free: 238.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/7.519, allocations: 0 / 3.389 GB, free: 238.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001214/7.52, allocations: 251.8 kB / 3.389 GB, free: 237.9 MB / 0.948 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.002601/7.523, allocations: 2.547 MB / 3.391 GB, free: 235.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006175/7.523, allocations: 265 kB / 3.392 GB, free: 235 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/7.523, allocations: 0 / 3.392 GB, free: 235 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/7.523, allocations: 63.91 kB / 3.392 GB, free: 234.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008001/7.524, allocations: 141.7 kB / 3.392 GB, free: 234.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/7.527, allocations: 3.897 MB / 3.396 GB, free: 230.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/7.527, allocations: 0.7797 MB / 3.396 GB, free: 229.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003185/7.528, allocations: 86.88 kB / 3.396 GB, free: 229.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/7.528, allocations: 95.41 kB / 3.396 GB, free: 229.8 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/7.528, allocations: 0 / 3.396 GB, free: 229.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04481/7.573, allocations: 27.04 MB / 3.423 GB, free: 202.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/7.573, allocations: 212.5 kB / 3.423 GB, free: 202.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.124/10.7, allocations: 0 / 3.423 GB, free: 202.6 MB / 0.948 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)