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: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.49/1.49, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.00106/0.00106, allocations: 166.8 kB / 326.5 MB, free: 2.707 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.752/1.752, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0007649/0.0007649, allocations: 97.23 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 8.688 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2056, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6493/0.8549, allocations: 167 MB / 1.06 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007805/0.8628, allocations: 7.392 MB / 1.067 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003563/0.8632, allocations: 9.375 kB / 1.067 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007169/0.8639, allocations: 177.3 kB / 1.067 GB, free: 1.766 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.8654, allocations: 0.5441 MB / 1.068 GB, free: 1.738 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.8665, allocations: 379.5 kB / 1.068 GB, free: 1.723 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001355/0.8679, allocations: 1.011 MB / 1.069 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004156/0.8683, allocations: 211.9 kB / 1.069 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008235/0.8691, allocations: 342.5 kB / 1.07 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.8695, allocations: 219.3 kB / 1.07 GB, free: 1.695 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.8695, allocations: 10.5 kB / 1.07 GB, free: 1.695 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.8712, allocations: 0.7794 MB / 1.071 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.8713, allocations: 95.77 kB / 1.071 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.8716, allocations: 139.3 kB / 1.071 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007651/0.8723, allocations: 394.4 kB / 1.071 GB, free: 1.656 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8723, allocations: 0 / 1.071 GB, free: 1.656 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8724, allocations: 0 / 1.071 GB, free: 1.656 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.8724, allocations: 0.875 kB / 1.071 GB, free: 1.656 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.001134/0.8735, allocations: 0.5824 MB / 1.072 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.8736, allocations: 9.375 kB / 1.072 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004532/0.874, allocations: 59.98 kB / 1.072 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.8745, allocations: 303.3 kB / 1.072 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.8745, allocations: 15.5 kB / 1.072 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.8746, allocations: 22.91 kB / 1.072 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/0.8751, allocations: 310.8 kB / 1.072 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.8752, allocations: 5.469 kB / 1.072 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.8752, allocations: 13.94 kB / 1.072 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.8752, allocations: 6.484 kB / 1.072 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.8756, allocations: 187.4 kB / 1.073 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.001863/0.8775, allocations: 1.698 MB / 1.074 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.8778, allocations: 98.38 kB / 1.074 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.878, allocations: 86.23 kB / 1.075 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/0.8783, allocations: 188.8 kB / 1.075 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.8784, allocations: 40.36 kB / 1.075 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.8784, allocations: 1.859 kB / 1.075 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0007679/0.8791, allocations: 238.8 kB / 1.075 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.8792, allocations: 53.03 kB / 1.075 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/0.8796, allocations: 316.5 kB / 1.075 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.8797, allocations: 29.3 kB / 1.075 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.8798, allocations: 192.3 kB / 1.076 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.8799, allocations: 31.86 kB / 1.076 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.8799, allocations: 27.45 kB / 1.076 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.88, allocations: 335.2 kB / 1.076 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.8802, allocations: 63.42 kB / 1.076 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.8804, allocations: 191.4 kB / 1.076 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.8808, allocations: 253.2 kB / 1.076 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.8809, allocations: 1.781 kB / 1.076 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005624/0.8814, allocations: 260.3 kB / 1.077 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.8815, allocations: 191.7 kB / 1.077 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.8816, allocations: 13.03 kB / 1.077 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.8816, allocations: 9.25 kB / 1.077 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.8818, allocations: 50.19 kB / 1.077 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.8818, allocations: 4.844 kB / 1.077 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.8821, allocations: 42.69 kB / 1.077 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.8821, allocations: 13.78 kB / 1.077 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.8821, allocations: 4.125 kB / 1.077 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004218/0.8826, allocations: 208.6 kB / 1.077 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.8826, allocations: 7.594 kB / 1.077 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.092e-06/0.8826, allocations: 5.562 kB / 1.077 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.8828, allocations: 52.92 kB / 1.077 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.8828, allocations: 12.75 kB / 1.077 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.883, allocations: 32.59 kB / 1.077 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.8831, allocations: 14.34 kB / 1.077 GB, free: 13.89 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.000188/0.8833, allocations: 232.4 kB / 1.077 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.8833, allocations: 32.34 kB / 1.078 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.8837, allocations: 184.6 kB / 1.078 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.8837, allocations: 1.906 kB / 1.078 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8838, allocations: 0 / 1.078 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.8838, allocations: 0.7188 kB / 1.078 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009793/0.8847, allocations: 0.6133 MB / 1.078 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.8848, allocations: 2.688 kB / 1.078 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.8849, allocations: 26.02 kB / 1.078 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.8849, allocations: 14.08 kB / 1.078 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.8849, allocations: 7.016 kB / 1.078 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-06/0.8849, allocations: 5.094 kB / 1.078 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.885, allocations: 5.25 kB / 1.078 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.8854, allocations: 317.7 kB / 1.079 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.8855, allocations: 115.5 kB / 1.079 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.8856, allocations: 11.03 kB / 1.079 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.8858, allocations: 14.89 kB / 1.079 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.8859, allocations: 15.2 kB / 1.079 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.8859, allocations: 8.312 kB / 1.079 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002519/0.8861, allocations: 223.5 kB / 1.079 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8861, allocations: 0 / 1.079 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006279/0.8868, allocations: 133.4 kB / 1.079 GB, free: 12.84 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.0004001/0.8872, allocations: 156.6 kB / 1.079 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005663/0.8878, allocations: 258.7 kB / 1.08 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8878, allocations: 1.312 kB / 1.08 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.8879, allocations: 72.08 kB / 1.08 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009765/0.8889, allocations: 140.5 kB / 1.08 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009862/0.8899, allocations: 0.6054 MB / 1.08 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.8903, allocations: 0.7745 MB / 1.081 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.8904, allocations: 23.72 kB / 1.081 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.8904, allocations: 0 / 1.081 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.007044/0.8974, allocations: 4.287 MB / 1.085 GB, free: 11.28 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)