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: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 288.4 MB / 303.4 MB, free: 8.164 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.001025/0.001025, allocations: 181.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.682/1.682, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0011/0.0011, allocations: 86.38 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005271/0.0005272, allocations: 12.97 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2837, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.708/0.9918, allocations: 154 MB / 1.13 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007369/0.9992, allocations: 6.761 MB / 1.137 GB, free: 15.75 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003922/0.9997, allocations: 12.69 kB / 1.137 GB, free: 15.75 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006468/1, allocations: 147.8 kB / 1.137 GB, free: 15.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/1.002, allocations: 445.7 kB / 1.137 GB, free: 15.49 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/1.003, allocations: 357.5 kB / 1.137 GB, free: 15.42 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009028/1.004, allocations: 0.8608 MB / 1.138 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/1.004, allocations: 195 kB / 1.138 GB, free: 15.24 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006179/1.005, allocations: 309.6 kB / 1.139 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/1.005, allocations: 214.4 kB / 1.139 GB, free: 15.09 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/1.005, allocations: 14.75 kB / 1.139 GB, free: 15.09 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009225/1.006, allocations: 0.5317 MB / 1.14 GB, free: 15.02 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.681e-05/1.006, allocations: 90.56 kB / 1.14 GB, free: 15.01 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/1.006, allocations: 83.55 kB / 1.14 GB, free: 14.97 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000465/1.007, allocations: 395.6 kB / 1.14 GB, free: 14.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.007, allocations: 0 / 1.14 GB, free: 14.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.433e-06/1.007, allocations: 0 / 1.14 GB, free: 14.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.161e-06/1.007, allocations: 0 / 1.14 GB, free: 14.9 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.0009155/1.008, allocations: 0.5842 MB / 1.141 GB, free: 14.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/1.008, allocations: 12.86 kB / 1.141 GB, free: 14.42 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003384/1.008, allocations: 60.42 kB / 1.141 GB, free: 14.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/1.008, allocations: 300.5 kB / 1.141 GB, free: 14.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/1.008, allocations: 16.38 kB / 1.141 GB, free: 14.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/1.008, allocations: 27.42 kB / 1.141 GB, free: 14.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/1.009, allocations: 311 kB / 1.141 GB, free: 14.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.009, allocations: 0 / 1.141 GB, free: 14.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/1.009, allocations: 11.61 kB / 1.141 GB, free: 14.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/1.009, allocations: 6.781 kB / 1.141 GB, free: 14.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/1.009, allocations: 187 kB / 1.142 GB, free: 14.01 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.001647/1.011, allocations: 1.704 MB / 1.143 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/1.011, allocations: 96.27 kB / 1.143 GB, free: 12.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/1.012, allocations: 83.84 kB / 1.143 GB, free: 12.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002655/1.012, allocations: 187.1 kB / 1.144 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/1.012, allocations: 37.53 kB / 1.144 GB, free: 12.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/1.012, allocations: 0 / 1.144 GB, free: 12.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0006486/1.012, allocations: 248.5 kB / 1.144 GB, free: 12.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/1.013, allocations: 51.41 kB / 1.144 GB, free: 12.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/1.013, allocations: 313.7 kB / 1.144 GB, free: 12.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/1.013, allocations: 31.64 kB / 1.144 GB, free: 12.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/1.013, allocations: 201 kB / 1.144 GB, free: 11.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/1.013, allocations: 37.56 kB / 1.144 GB, free: 11.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-06/1.013, allocations: 6.438 kB / 1.144 GB, free: 11.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.013, allocations: 347.8 kB / 1.145 GB, free: 11.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/1.013, allocations: 56.62 kB / 1.145 GB, free: 11.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/1.014, allocations: 202.2 kB / 1.145 GB, free: 11.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/1.014, allocations: 84.72 kB / 1.145 GB, free: 11.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.014, allocations: 2.906 kB / 1.145 GB, free: 11.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004765/1.014, allocations: 255.4 kB / 1.145 GB, free: 11.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/1.014, allocations: 201.5 kB / 1.146 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.014, allocations: 4.156 kB / 1.146 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/1.014, allocations: 7.891 kB / 1.146 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/1.015, allocations: 48.52 kB / 1.146 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/1.015, allocations: 14.16 kB / 1.146 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/1.015, allocations: 50.66 kB / 1.146 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/1.015, allocations: 9.625 kB / 1.146 GB, free: 10.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.249e-06/1.015, allocations: 3.219 kB / 1.146 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003635/1.015, allocations: 208.5 kB / 1.146 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/1.015, allocations: 3.531 kB / 1.146 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/1.015, allocations: 7.625 kB / 1.146 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/1.016, allocations: 45.48 kB / 1.146 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/1.016, allocations: 10.75 kB / 1.146 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/1.016, allocations: 38.33 kB / 1.146 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/1.016, allocations: 16.81 kB / 1.146 GB, free: 10.86 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.0001693/1.016, allocations: 223.6 kB / 1.146 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/1.016, allocations: 30.91 kB / 1.146 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003745/1.016, allocations: 186.4 kB / 1.146 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/1.016, allocations: 3.375 kB / 1.146 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.016, allocations: 6.953 kB / 1.146 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.016, allocations: 288 / 1.146 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008614/1.017, allocations: 0.6168 MB / 1.147 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.017, allocations: 5.469 kB / 1.147 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/1.017, allocations: 33.36 kB / 1.147 GB, free: 10.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.299e-06/1.017, allocations: 2.188 kB / 1.147 GB, free: 10.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/1.017, allocations: 3.5 kB / 1.147 GB, free: 10.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/1.018, allocations: 5.953 kB / 1.147 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.018, allocations: 2.062 kB / 1.147 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/1.018, allocations: 313.9 kB / 1.147 GB, free: 9.863 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/1.018, allocations: 116.4 kB / 1.147 GB, free: 9.746 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/1.018, allocations: 10.36 kB / 1.147 GB, free: 9.742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/1.018, allocations: 14.83 kB / 1.147 GB, free: 9.738 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/1.018, allocations: 21.66 kB / 1.148 GB, free: 9.727 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/1.018, allocations: 5.406 kB / 1.148 GB, free: 9.727 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002356/1.019, allocations: 227.1 kB / 1.148 GB, free: 9.613 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.019, allocations: 0 / 1.148 GB, free: 9.613 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005564/1.019, allocations: 136.4 kB / 1.148 GB, free: 9.598 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.0004182/1.02, allocations: 157.4 kB / 1.148 GB, free: 9.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005725/1.02, allocations: 266.7 kB / 1.148 GB, free: 9.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.02, allocations: 0 / 1.148 GB, free: 9.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/1.02, allocations: 65.67 kB / 1.148 GB, free: 9.395 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008786/1.021, allocations: 141 kB / 1.148 GB, free: 9.348 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009517/1.022, allocations: 0.5804 MB / 1.149 GB, free: 8.926 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/1.023, allocations: 0.7807 MB / 1.15 GB, free: 8.184 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003091/1.023, allocations: 83 kB / 1.15 GB, free: 8.148 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/1.023, allocations: 27.61 kB / 1.15 GB, free: 8.137 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.023, allocations: 0 / 1.15 GB, free: 8.137 MB / 0.698 GB Notification: Performance of Templates: time 0.01077/1.034, allocations: 4.598 MB / 1.154 GB, free: 5.867 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)