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.669/1.669, allocations: 288.4 MB / 303.3 MB, free: 8.094 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.001128/0.001128, allocations: 176.5 kB / 372 MB, free: 10.27 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.957/1.957, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.0009659/0.000966, allocations: 87.86 kB / 0.744 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000575/0.0005753, allocations: 12.59 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2793, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.8245/1.104, allocations: 154 MB / 1.13 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008091/1.112, allocations: 6.77 MB / 1.137 GB, free: 15.71 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005255/1.113, allocations: 15.69 kB / 1.137 GB, free: 15.71 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006811/1.113, allocations: 142.8 kB / 1.137 GB, free: 15.65 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001513/1.115, allocations: 453.8 kB / 1.137 GB, free: 15.45 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/1.116, allocations: 349.2 kB / 1.138 GB, free: 15.38 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001098/1.117, allocations: 0.8579 MB / 1.138 GB, free: 15.23 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004363/1.118, allocations: 201.9 kB / 1.139 GB, free: 15.2 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008321/1.118, allocations: 310.5 kB / 1.139 GB, free: 15.11 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003543/1.119, allocations: 214.6 kB / 1.139 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/1.119, allocations: 10.66 kB / 1.139 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/1.12, allocations: 0.5296 MB / 1.14 GB, free: 14.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/1.12, allocations: 96.77 kB / 1.14 GB, free: 14.97 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/1.121, allocations: 80.05 kB / 1.14 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006213/1.121, allocations: 389.7 kB / 1.14 GB, free: 14.87 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/1.121, allocations: 3.938 kB / 1.14 GB, free: 14.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/1.121, allocations: 0 / 1.14 GB, free: 14.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.682e-06/1.121, allocations: 0 / 1.14 GB, free: 14.86 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.0009678/1.122, allocations: 0.5969 MB / 1.141 GB, free: 14.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/1.122, allocations: 13.44 kB / 1.141 GB, free: 14.37 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.884e-05/1.122, allocations: 55.77 kB / 1.141 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003588/1.123, allocations: 60.69 kB / 1.141 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/1.123, allocations: 294 kB / 1.141 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/1.123, allocations: 16.56 kB / 1.141 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/1.123, allocations: 23.55 kB / 1.141 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/1.124, allocations: 311.8 kB / 1.141 GB, free: 13.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/1.124, allocations: 3.938 kB / 1.141 GB, free: 13.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/1.124, allocations: 9.875 kB / 1.141 GB, free: 13.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/1.124, allocations: 5.875 kB / 1.141 GB, free: 13.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/1.124, allocations: 180.8 kB / 1.142 GB, free: 13.94 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.001796/1.126, allocations: 1.711 MB / 1.143 GB, free: 12.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/1.126, allocations: 99.12 kB / 1.143 GB, free: 12.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/1.127, allocations: 80.73 kB / 1.143 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/1.127, allocations: 193.8 kB / 1.144 GB, free: 12.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/1.127, allocations: 41.86 kB / 1.144 GB, free: 12.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/1.127, allocations: 0 / 1.144 GB, free: 12.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0006933/1.128, allocations: 239.2 kB / 1.144 GB, free: 12.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/1.128, allocations: 51.41 kB / 1.144 GB, free: 12.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/1.128, allocations: 320.3 kB / 1.144 GB, free: 11.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/1.128, allocations: 31.92 kB / 1.144 GB, free: 11.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/1.128, allocations: 200.9 kB / 1.145 GB, free: 11.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/1.128, allocations: 33.58 kB / 1.145 GB, free: 11.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-06/1.128, allocations: 5.656 kB / 1.145 GB, free: 11.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.128, allocations: 340.5 kB / 1.145 GB, free: 11.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/1.129, allocations: 63.33 kB / 1.145 GB, free: 11.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/1.129, allocations: 195.6 kB / 1.145 GB, free: 11.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/1.129, allocations: 88.64 kB / 1.145 GB, free: 11.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.129, allocations: 3.188 kB / 1.145 GB, free: 11.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000465/1.13, allocations: 263.2 kB / 1.145 GB, free: 11.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.13, allocations: 191.3 kB / 1.146 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/1.13, allocations: 3.031 kB / 1.146 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.13, allocations: 6.75 kB / 1.146 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/1.13, allocations: 51.03 kB / 1.146 GB, free: 10.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/1.13, allocations: 6.406 kB / 1.146 GB, free: 10.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/1.13, allocations: 46.23 kB / 1.146 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/1.13, allocations: 12.59 kB / 1.146 GB, free: 10.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/1.13, allocations: 13.91 kB / 1.146 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004443/1.131, allocations: 201.7 kB / 1.146 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.131, allocations: 5.016 kB / 1.146 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/1.131, allocations: 5.625 kB / 1.146 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/1.131, allocations: 47.23 kB / 1.146 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/1.131, allocations: 17.19 kB / 1.146 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/1.131, allocations: 40.27 kB / 1.146 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/1.131, allocations: 14.91 kB / 1.146 GB, free: 10.79 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.0002053/1.131, allocations: 227.2 kB / 1.146 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/1.132, allocations: 32.58 kB / 1.146 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/1.132, allocations: 181.8 kB / 1.147 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/1.132, allocations: 3.469 kB / 1.147 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/1.132, allocations: 3.953 kB / 1.147 GB, free: 10.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.132, allocations: 0 / 1.147 GB, free: 10.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009454/1.133, allocations: 0.6207 MB / 1.147 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.133, allocations: 3.562 kB / 1.147 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/1.133, allocations: 31.5 kB / 1.147 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.133, allocations: 2.281 kB / 1.147 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/1.133, allocations: 5.781 kB / 1.147 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.133, allocations: 3.312 kB / 1.147 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.133, allocations: 7.25 kB / 1.147 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/1.134, allocations: 302.4 kB / 1.147 GB, free: 9.797 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/1.134, allocations: 122.5 kB / 1.148 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/1.134, allocations: 6.219 kB / 1.148 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/1.134, allocations: 14.67 kB / 1.148 GB, free: 9.672 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/1.134, allocations: 16.88 kB / 1.148 GB, free: 9.664 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/1.134, allocations: 8.625 kB / 1.148 GB, free: 9.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002518/1.134, allocations: 225.3 kB / 1.148 GB, free: 9.551 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.134, allocations: 0 / 1.148 GB, free: 9.551 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006109/1.135, allocations: 130.9 kB / 1.148 GB, free: 9.539 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.00112/1.136, allocations: 0.9091 MB / 1.149 GB, free: 8.742 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006544/1.137, allocations: 262.8 kB / 1.149 GB, free: 8.672 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.137, allocations: 0 / 1.149 GB, free: 8.672 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/1.137, allocations: 70.53 kB / 1.149 GB, free: 8.656 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009293/1.138, allocations: 128.5 kB / 1.149 GB, free: 8.617 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/1.141, allocations: 1.65 MB / 1.151 GB, free: 7.637 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/1.141, allocations: 0.7765 MB / 1.152 GB, free: 6.902 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003671/1.141, allocations: 90.53 kB / 1.152 GB, free: 6.859 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/1.142, allocations: 88.22 kB / 1.152 GB, free: 6.844 MB / 0.698 GB Notification: Performance of SimCode: time 7.82e-07/1.142, allocations: 0 / 1.152 GB, free: 6.844 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/1.166, allocations: 7.519 MB / 1.159 GB, free: 3.254 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/1.166, allocations: 232.5 kB / 1.159 GB, free: 3.008 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/3.39, allocations: 11.88 kB / 1.159 GB, free: 2.996 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)