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.418/1.418, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 180.2 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.203/2.203, allocations: 205.4 MB / 0.5775 GB, free: 20.18 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.001139/0.001139, allocations: 89.61 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004896, allocations: 9.156 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3209, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.062/6.383, allocations: 2.183 GB / 3.083 GB, free: 37.58 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/6.384, allocations: 91.95 kB / 3.083 GB, free: 37.49 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.378/7.762, allocations: 332.5 MB / 3.407 GB, free: 63.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.487e-06/7.762, allocations: 0 / 3.407 GB, free: 63.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.734e-05/7.762, allocations: 11.98 kB / 3.407 GB, free: 63.19 MB / 0.8855 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.001844/7.764, allocations: 0.705 MB / 3.408 GB, free: 62.43 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.153e-05/7.764, allocations: 8.031 kB / 3.408 GB, free: 62.43 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.657e-05/7.764, allocations: 62.53 kB / 3.408 GB, free: 62.36 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004106/7.764, allocations: 55.59 kB / 3.408 GB, free: 62.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/7.765, allocations: 325.7 kB / 3.409 GB, free: 61.94 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/7.765, allocations: 16.44 kB / 3.409 GB, free: 61.93 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/7.765, allocations: 20 kB / 3.409 GB, free: 61.91 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/7.765, allocations: 296.6 kB / 3.409 GB, free: 61.57 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/7.765, allocations: 0 / 3.409 GB, free: 61.57 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/7.765, allocations: 15.95 kB / 3.409 GB, free: 61.56 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/7.765, allocations: 8 kB / 3.409 GB, free: 61.55 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/7.766, allocations: 183.5 kB / 3.409 GB, free: 61.37 MB / 0.8855 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.001786/7.768, allocations: 1.698 MB / 3.411 GB, free: 59.55 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/7.768, allocations: 94.55 kB / 3.411 GB, free: 59.45 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003352/7.768, allocations: 194.2 kB / 3.411 GB, free: 59.22 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/7.768, allocations: 34.56 kB / 3.411 GB, free: 59.18 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/7.768, allocations: 0 / 3.411 GB, free: 59.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0006989/7.769, allocations: 229.2 kB / 3.411 GB, free: 58.95 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/7.769, allocations: 59.36 kB / 3.411 GB, free: 58.88 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/7.769, allocations: 267.9 kB / 3.412 GB, free: 58.61 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/7.769, allocations: 29.7 kB / 3.412 GB, free: 58.57 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/7.769, allocations: 215.6 kB / 3.412 GB, free: 58.36 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/7.769, allocations: 35.45 kB / 3.412 GB, free: 58.32 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/7.77, allocations: 4 kB / 3.412 GB, free: 58.32 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001118/7.77, allocations: 342.8 kB / 3.412 GB, free: 57.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/7.77, allocations: 51.97 kB / 3.412 GB, free: 57.93 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/7.77, allocations: 197 kB / 3.412 GB, free: 57.67 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/7.77, allocations: 87.91 kB / 3.413 GB, free: 57.59 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/7.77, allocations: 0 / 3.413 GB, free: 57.59 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004083/7.771, allocations: 257 kB / 3.413 GB, free: 57.33 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006178/7.771, allocations: 1.395 MB / 3.414 GB, free: 55.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/7.771, allocations: 4 kB / 3.414 GB, free: 55.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/7.771, allocations: 8 kB / 3.414 GB, free: 55.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/7.772, allocations: 51.91 kB / 3.414 GB, free: 55.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/7.772, allocations: 4 kB / 3.414 GB, free: 55.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/7.772, allocations: 51.61 kB / 3.414 GB, free: 55.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/7.772, allocations: 16 kB / 3.414 GB, free: 55.69 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/7.772, allocations: 6.969 kB / 3.414 GB, free: 55.69 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003482/7.772, allocations: 207.8 kB / 3.414 GB, free: 55.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/7.772, allocations: 8.062 kB / 3.414 GB, free: 55.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/7.772, allocations: 8 kB / 3.414 GB, free: 55.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/7.772, allocations: 47.92 kB / 3.415 GB, free: 55.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/7.772, allocations: 7.984 kB / 3.415 GB, free: 55.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/7.773, allocations: 43.94 kB / 3.415 GB, free: 55.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/7.773, allocations: 12 kB / 3.415 GB, free: 55.36 MB / 0.8855 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.000199/7.773, allocations: 231.4 kB / 3.415 GB, free: 55.12 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/7.773, allocations: 39.84 kB / 3.415 GB, free: 55.09 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/7.773, allocations: 180.6 kB / 3.415 GB, free: 54.91 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/7.773, allocations: 7.984 kB / 3.415 GB, free: 54.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/7.773, allocations: 0 / 3.415 GB, free: 54.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/7.773, allocations: 0 / 3.415 GB, free: 54.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009878/7.774, allocations: 0.6055 MB / 3.416 GB, free: 54.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/7.774, allocations: 0 / 3.416 GB, free: 54.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/7.775, allocations: 32.14 kB / 3.416 GB, free: 54.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/7.775, allocations: 4 kB / 3.416 GB, free: 54.18 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/7.775, allocations: 4 kB / 3.416 GB, free: 54.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/7.775, allocations: 7.984 kB / 3.416 GB, free: 54.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/7.775, allocations: 0 / 3.416 GB, free: 54.17 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/7.775, allocations: 404.9 kB / 3.416 GB, free: 53.69 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/7.775, allocations: 112.8 kB / 3.416 GB, free: 53.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/7.775, allocations: 7.984 kB / 3.416 GB, free: 53.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/7.775, allocations: 27.83 kB / 3.416 GB, free: 53.53 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/7.775, allocations: 19.88 kB / 3.416 GB, free: 53.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/7.776, allocations: 4 kB / 3.416 GB, free: 53.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002071/7.776, allocations: 219.1 kB / 3.416 GB, free: 53.29 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/7.776, allocations: 0 / 3.416 GB, free: 53.29 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001226/7.777, allocations: 251.9 kB / 3.417 GB, free: 53.04 MB / 0.8855 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.003086/7.78, allocations: 2.552 MB / 3.419 GB, free: 50.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005685/7.781, allocations: 257 kB / 3.419 GB, free: 50.15 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/7.781, allocations: 0 / 3.419 GB, free: 50.15 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/7.781, allocations: 67.97 kB / 3.419 GB, free: 50.08 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007325/7.782, allocations: 133.3 kB / 3.42 GB, free: 49.95 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/7.785, allocations: 3.862 MB / 3.423 GB, free: 45.94 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/7.785, allocations: 0.7875 MB / 3.424 GB, free: 45.12 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002897/7.785, allocations: 87.48 kB / 3.424 GB, free: 45.04 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/7.785, allocations: 87.41 kB / 3.424 GB, free: 44.96 MB / 0.8855 GB Notification: Performance of SimCode: time 6.372e-06/7.785, allocations: 0 / 3.424 GB, free: 44.96 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04672/7.832, allocations: 26.79 MB / 3.45 GB, free: 18.31 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/7.832, allocations: 216.5 kB / 3.451 GB, free: 18.07 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.078/10.91, allocations: 0 / 3.451 GB, free: 18.07 MB / 0.8855 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)