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.705/1.705, allocations: 252 MB / 267.3 MB, free: 10.84 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.00123/0.00123, allocations: 179.8 kB / 327 MB, free: 2.078 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.077/2.077, allocations: 205.4 MB / 0.578 GB, free: 20.05 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.0008805/0.0008805, allocations: 79.23 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004582, allocations: 13.44 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2555, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.8/1.056, allocations: 165.1 MB / 1.062 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009323/1.065, allocations: 7.295 MB / 1.069 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004995/1.066, allocations: 11.81 kB / 1.069 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008296/1.066, allocations: 178.2 kB / 1.069 GB, free: 1.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001983/1.068, allocations: 0.5439 MB / 1.07 GB, free: 1.809 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/1.07, allocations: 374.4 kB / 1.07 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001723/1.072, allocations: 1.022 MB / 1.071 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000462/1.072, allocations: 217 kB / 1.072 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008566/1.073, allocations: 336.3 kB / 1.072 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000442/1.074, allocations: 221.8 kB / 1.072 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/1.074, allocations: 12.38 kB / 1.072 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/1.076, allocations: 0.7739 MB / 1.073 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001988/1.076, allocations: 96.91 kB / 1.073 GB, free: 1.758 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002451/1.076, allocations: 168.3 kB / 1.073 GB, free: 1.727 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/1.078, allocations: 0.5692 MB / 1.074 GB, free: 1.691 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/1.078, allocations: 0.5938 kB / 1.074 GB, free: 1.691 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.075e-06/1.078, allocations: 0 / 1.074 GB, free: 1.691 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.516e-06/1.078, allocations: 0.5938 kB / 1.074 GB, free: 1.691 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.00139/1.079, allocations: 0.5801 MB / 1.074 GB, free: 17.22 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.583e-05/1.079, allocations: 13.75 kB / 1.074 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.391e-05/1.079, allocations: 54.77 kB / 1.074 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004518/1.08, allocations: 61.2 kB / 1.074 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/1.08, allocations: 297.1 kB / 1.075 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/1.08, allocations: 18.03 kB / 1.075 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/1.08, allocations: 22.62 kB / 1.075 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/1.081, allocations: 306.3 kB / 1.075 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/1.081, allocations: 4.219 kB / 1.075 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/1.081, allocations: 10.28 kB / 1.075 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/1.081, allocations: 6.25 kB / 1.075 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/1.082, allocations: 183.5 kB / 1.075 GB, free: 16.8 MB / 0.7136 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.002083/1.084, allocations: 1.718 MB / 1.077 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/1.084, allocations: 93.58 kB / 1.077 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/1.084, allocations: 90.08 kB / 1.077 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003448/1.085, allocations: 184.2 kB / 1.077 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/1.085, allocations: 38 kB / 1.077 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/1.085, allocations: 0 / 1.077 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0008325/1.085, allocations: 238.2 kB / 1.077 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/1.086, allocations: 52.44 kB / 1.078 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/1.086, allocations: 320.4 kB / 1.078 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/1.086, allocations: 26.64 kB / 1.078 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/1.086, allocations: 196.4 kB / 1.078 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/1.086, allocations: 39.67 kB / 1.078 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-06/1.086, allocations: 8.75 kB / 1.078 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002009/1.086, allocations: 337.6 kB / 1.078 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/1.087, allocations: 59.55 kB / 1.078 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/1.087, allocations: 182.9 kB / 1.079 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/1.087, allocations: 250.6 kB / 1.079 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/1.087, allocations: 0.6875 kB / 1.079 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006187/1.088, allocations: 256 kB / 1.079 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/1.088, allocations: 203.4 kB / 1.079 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.088, allocations: 3.062 kB / 1.079 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/1.088, allocations: 5.219 kB / 1.079 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/1.089, allocations: 48.17 kB / 1.079 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/1.089, allocations: 12.42 kB / 1.079 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/1.089, allocations: 43.55 kB / 1.079 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/1.089, allocations: 18.95 kB / 1.079 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/1.089, allocations: 4.281 kB / 1.079 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004963/1.089, allocations: 206.8 kB / 1.08 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.089, allocations: 4.031 kB / 1.08 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/1.089, allocations: 5.781 kB / 1.08 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/1.09, allocations: 53.34 kB / 1.08 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/1.09, allocations: 6.656 kB / 1.08 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/1.09, allocations: 35.81 kB / 1.08 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/1.09, allocations: 15.42 kB / 1.08 GB, free: 13.91 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002285/1.09, allocations: 239.4 kB / 1.08 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/1.09, allocations: 33.08 kB / 1.08 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004824/1.091, allocations: 174.1 kB / 1.08 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.091, allocations: 1.344 kB / 1.08 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.091, allocations: 0.6875 kB / 1.08 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.091, allocations: 4.562 kB / 1.08 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/1.092, allocations: 0.6068 MB / 1.081 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/1.092, allocations: 3.688 kB / 1.081 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/1.092, allocations: 26.52 kB / 1.081 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/1.092, allocations: 2.781 kB / 1.081 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/1.092, allocations: 7.75 kB / 1.081 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/1.092, allocations: 2.75 kB / 1.081 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/1.092, allocations: 10.36 kB / 1.081 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/1.093, allocations: 314 kB / 1.081 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/1.093, allocations: 114.6 kB / 1.081 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/1.093, allocations: 8.391 kB / 1.081 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/1.093, allocations: 25.81 kB / 1.081 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/1.093, allocations: 17.75 kB / 1.081 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/1.093, allocations: 9.5 kB / 1.081 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000359/1.094, allocations: 220 kB / 1.082 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.713e-06/1.094, allocations: 0 / 1.082 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007616/1.095, allocations: 134.8 kB / 1.082 GB, free: 12.86 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/1.096, allocations: 0.8978 MB / 1.083 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006653/1.096, allocations: 265.5 kB / 1.083 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/1.096, allocations: 1.5 kB / 1.083 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/1.097, allocations: 69.92 kB / 1.083 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/1.098, allocations: 143.4 kB / 1.083 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/1.102, allocations: 2.893 MB / 1.086 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/1.102, allocations: 0.7728 MB / 1.087 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003808/1.103, allocations: 90.23 kB / 1.087 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/1.103, allocations: 87.28 kB / 1.087 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/1.103, allocations: 2.906 kB / 1.087 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/1.125, allocations: 7.241 MB / 1.094 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/1.125, allocations: 245.3 kB / 1.094 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/3.395, allocations: 0 / 1.094 GB, free: 8.762 MB / 0.7136 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)