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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 187.3 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.1 MB / 222.1 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.591/1.591, allocations: 251.6 MB / 0.5089 GB, free: 3.281 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 64.47 kB / 0.6217 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5864/0.588, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1811/0.7691, allocations: 167.3 MB / 0.8874 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008164/0.7773, allocations: 7.316 MB / 0.8945 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/0.7779, allocations: 15.88 kB / 0.8945 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.7786, allocations: 187 kB / 0.8947 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.7799, allocations: 0.5369 MB / 0.8952 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.781, allocations: 388.8 kB / 0.8956 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007429/0.7817, allocations: 0.7011 MB / 0.8963 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.7821, allocations: 251.1 kB / 0.8965 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005777/0.7827, allocations: 378.5 kB / 0.8969 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.7829, allocations: 223 kB / 0.8971 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.783, allocations: 24 kB / 0.8971 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009513/0.7839, allocations: 0.7171 MB / 0.8978 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.7841, allocations: 95.7 kB / 0.8979 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.7842, allocations: 159.2 kB / 0.8981 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006736/0.7849, allocations: 0.592 MB / 0.8986 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.7849, allocations: 0 / 0.8986 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7849, allocations: 0 / 0.8986 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.7849, allocations: 0 / 0.8986 GB, free: 9.609 MB / 0.7169 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.0007676/0.7857, allocations: 0.6349 MB / 0.8993 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.7857, allocations: 12.03 kB / 0.8993 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.7861, allocations: 63.53 kB / 0.8993 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.7864, allocations: 297.3 kB / 0.8996 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.7864, allocations: 12.44 kB / 0.8996 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.7865, allocations: 24 kB / 0.8996 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.7869, allocations: 308.5 kB / 0.8999 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.7869, allocations: 0 / 0.8999 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.787, allocations: 15.94 kB / 0.9 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.787, allocations: 4 kB / 0.9 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.7873, allocations: 175.8 kB / 0.9001 GB, free: 7.949 MB / 0.7169 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.001422/0.7888, allocations: 1.694 MB / 0.9018 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.789, allocations: 86.56 kB / 0.9019 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.7892, allocations: 80.86 kB / 0.9019 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/0.7894, allocations: 186.2 kB / 0.9021 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.7895, allocations: 38.5 kB / 0.9022 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.7895, allocations: 0 / 0.9022 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0006772/0.7901, allocations: 225.4 kB / 0.9024 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.7902, allocations: 51.41 kB / 0.9024 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.7905, allocations: 324.4 kB / 0.9027 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.7905, allocations: 25.7 kB / 0.9028 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.7906, allocations: 187.9 kB / 0.9029 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.7907, allocations: 39.45 kB / 0.903 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.308e-05/0.7907, allocations: 45.7 kB / 0.903 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7908, allocations: 342.8 kB / 0.9033 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.791, allocations: 56.81 kB / 0.9034 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.7913, allocations: 179.3 kB / 0.9036 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.7918, allocations: 233.5 kB / 0.9038 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.7918, allocations: 4 kB / 0.9038 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006873/0.7925, allocations: 260.8 kB / 0.904 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.7925, allocations: 8 kB / 0.9041 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.7926, allocations: 7.938 kB / 0.9041 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.7926, allocations: 4 kB / 0.9041 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.7929, allocations: 43.97 kB / 0.9041 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.7929, allocations: 11.88 kB / 0.9041 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.7932, allocations: 44.05 kB / 0.9042 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.7933, allocations: 15.98 kB / 0.9042 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002138/0.7935, allocations: 168.1 kB / 0.9043 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002066/0.7937, allocations: 187.2 kB / 0.9045 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003231/0.794, allocations: 229.5 kB / 0.9047 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.794, allocations: 0 / 0.9047 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004204/0.7945, allocations: 245 kB / 0.905 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.7945, allocations: 14.12 kB / 0.905 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.7945, allocations: 4 kB / 0.905 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.86e-06/0.7945, allocations: 4 kB / 0.905 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.7947, allocations: 44.05 kB / 0.905 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.7947, allocations: 15.92 kB / 0.905 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.7949, allocations: 36.2 kB / 0.9051 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.795, allocations: 19.94 kB / 0.9051 GB, free: 2.402 MB / 0.7169 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 9.659e-05/0.7951, allocations: 188.2 kB / 0.9053 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.7951, allocations: 27.66 kB / 0.9053 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.7955, allocations: 172.1 kB / 0.9055 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.7955, allocations: 4.281 kB / 0.9055 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7955, allocations: 7.984 kB / 0.9055 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.7955, allocations: 3.984 kB / 0.9055 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009223/0.7964, allocations: 0.6015 MB / 0.9061 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.7964, allocations: 4 kB / 0.9061 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.7966, allocations: 23.98 kB / 0.9061 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7966, allocations: 4 kB / 0.9061 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.7966, allocations: 4 kB / 0.9061 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.7966, allocations: 4 kB / 0.9061 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7966, allocations: 3.938 kB / 0.9061 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.797, allocations: 301.4 kB / 0.9064 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.062e-05/0.7971, allocations: 112.7 kB / 0.9065 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.7971, allocations: 4 kB / 0.9065 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.7973, allocations: 15.92 kB / 0.9065 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.7974, allocations: 19.92 kB / 0.9065 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.7974, allocations: 7.938 kB / 0.9066 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001928/0.7976, allocations: 227 kB / 0.9068 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7976, allocations: 0 / 0.9068 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005798/0.7982, allocations: 131.8 kB / 0.9069 GB, free: 424 kB / 0.7169 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.000356/0.7985, allocations: 161.4 kB / 0.907 GB, free: 256 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005215/0.7991, allocations: 240.3 kB / 0.9073 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7991, allocations: 0 / 0.9073 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.3231/1.122, allocations: 62.97 kB / 0.9073 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009815/1.123, allocations: 128.5 kB / 0.9075 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00087/1.124, allocations: 0.5721 MB / 0.908 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/1.124, allocations: 0.7765 MB / 0.9088 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002996/1.125, allocations: 83.7 kB / 0.9089 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/1.125, allocations: 26.41 kB / 0.9089 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of SimCode: time 7.92e-07/1.125, allocations: 3.219 kB / 0.9089 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.01084/1.136, allocations: 4.658 MB / 0.9134 GB, free: 184.1 MB / 0.7169 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)