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.001483/0.001483, allocations: 107.3 kB / 15.23 MB, free: 0.6523 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.001796/0.001796, allocations: 199.8 kB / 16.14 MB, free: 6.648 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.585/1.585, allocations: 205.1 MB / 222 MB, free: 4.977 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.578/1.578, allocations: 251.7 MB / 0.5088 GB, free: 3.348 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.001489/0.00149, allocations: 67.84 kB / 0.6216 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5486/0.5501, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1946/0.7447, allocations: 167.3 MB / 0.8872 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008966/0.7537, allocations: 7.395 MB / 0.8944 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006502/0.7544, allocations: 11.94 kB / 0.8945 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008279/0.7553, allocations: 175 kB / 0.8946 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001962/0.7573, allocations: 0.5369 MB / 0.8952 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.7589, allocations: 377.4 kB / 0.8955 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001433/0.7603, allocations: 1.021 MB / 0.8965 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004688/0.7608, allocations: 222.4 kB / 0.8967 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007672/0.7616, allocations: 338.6 kB / 0.897 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.7619, allocations: 231 kB / 0.8973 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.7619, allocations: 12 kB / 0.8973 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.7633, allocations: 0.7872 MB / 0.898 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.7634, allocations: 95.7 kB / 0.8981 GB, free: 9.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.7636, allocations: 139.3 kB / 0.8983 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008079/0.7644, allocations: 0.5842 MB / 0.8988 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7644, allocations: 0 / 0.8988 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7644, allocations: 0 / 0.8988 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.7644, allocations: 0 / 0.8988 GB, free: 9.23 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.001051/0.7655, allocations: 0.6349 MB / 0.8995 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.236e-05/0.7655, allocations: 8.031 kB / 0.8995 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004275/0.766, allocations: 63.53 kB / 0.8995 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.7664, allocations: 293.3 kB / 0.8998 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.7665, allocations: 20.44 kB / 0.8998 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.7665, allocations: 20 kB / 0.8998 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.7671, allocations: 304.5 kB / 0.9001 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.7671, allocations: 7.938 kB / 0.9001 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.7671, allocations: 7.938 kB / 0.9002 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.7672, allocations: 15.94 kB / 0.9002 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.7676, allocations: 171.8 kB / 0.9003 GB, free: 7.57 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.001759/0.7694, allocations: 1.686 MB / 0.902 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.7697, allocations: 98.53 kB / 0.9021 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.7698, allocations: 76.81 kB / 0.9021 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/0.7702, allocations: 194.2 kB / 0.9023 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.7702, allocations: 34.5 kB / 0.9024 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.7702, allocations: 0 / 0.9024 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0007397/0.771, allocations: 221.2 kB / 0.9026 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.771, allocations: 59.34 kB / 0.9026 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.7714, allocations: 316.4 kB / 0.9029 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.7715, allocations: 29.7 kB / 0.903 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.7717, allocations: 191.9 kB / 0.9031 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.7717, allocations: 35.45 kB / 0.9032 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/0.7718, allocations: 53.7 kB / 0.9032 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.772, allocations: 330.8 kB / 0.9035 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.7722, allocations: 64.81 kB / 0.9036 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.7724, allocations: 179.5 kB / 0.9038 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.7728, allocations: 233.4 kB / 0.904 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7728, allocations: 0 / 0.904 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000468/0.7733, allocations: 256.8 kB / 0.9042 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.7733, allocations: 5.875 kB / 0.9042 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.7733, allocations: 4 kB / 0.9043 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.7734, allocations: 8 kB / 0.9043 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.7736, allocations: 47.91 kB / 0.9043 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.833e-05/0.7736, allocations: 12.34 kB / 0.9043 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.7739, allocations: 39.67 kB / 0.9044 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.774, allocations: 15.98 kB / 0.9044 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002368/0.7742, allocations: 168.1 kB / 0.9045 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002403/0.7745, allocations: 179.3 kB / 0.9047 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003845/0.7749, allocations: 237.5 kB / 0.9049 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.714e-06/0.7749, allocations: 0 / 0.9049 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004478/0.7753, allocations: 249 kB / 0.9052 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.7753, allocations: 11.94 kB / 0.9052 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.7753, allocations: 0 / 0.9052 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.7754, allocations: 8 kB / 0.9052 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.7755, allocations: 40.45 kB / 0.9052 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.7755, allocations: 15.92 kB / 0.9052 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.7758, allocations: 35.83 kB / 0.9053 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.7758, allocations: 15.94 kB / 0.9053 GB, free: 2.039 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 0.0001368/0.7759, allocations: 188.3 kB / 0.9055 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.776, allocations: 35.56 kB / 0.9055 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/0.7764, allocations: 176.6 kB / 0.9057 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.7764, allocations: 0 / 0.9057 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.7764, allocations: 0 / 0.9057 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.7764, allocations: 3.984 kB / 0.9057 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009319/0.7774, allocations: 0.6016 MB / 0.9063 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7774, allocations: 0 / 0.9063 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.7775, allocations: 27.92 kB / 0.9063 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.7775, allocations: 4 kB / 0.9063 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.7776, allocations: 4 kB / 0.9063 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.7776, allocations: 4 kB / 0.9063 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.7776, allocations: 4.219 kB / 0.9063 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.778, allocations: 309.1 kB / 0.9066 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.7781, allocations: 112.7 kB / 0.9067 GB, free: 452 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.7782, allocations: 8 kB / 0.9067 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.7784, allocations: 11.98 kB / 0.9067 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.7784, allocations: 23.86 kB / 0.9067 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.7784, allocations: 4 kB / 0.9068 GB, free: 404 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000228/0.7787, allocations: 219 kB / 0.907 GB, free: 184 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7787, allocations: 4 kB / 0.907 GB, free: 180 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006019/0.7793, allocations: 135.8 kB / 0.9071 GB, free: 44 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.4205/1.2, allocations: 149.9 kB / 0.9072 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009404/1.201, allocations: 240.5 kB / 0.9075 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.201, allocations: 0.8438 kB / 0.9075 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/1.201, allocations: 64.83 kB / 0.9075 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/1.202, allocations: 143 kB / 0.9077 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/1.203, allocations: 0.5732 MB / 0.9082 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/1.204, allocations: 0.7785 MB / 0.909 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003951/1.204, allocations: 88.58 kB / 0.9091 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.751e-05/1.204, allocations: 23.81 kB / 0.9091 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of SimCode: time 8.41e-07/1.204, allocations: 0 / 0.9091 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.01321/1.218, allocations: 4.608 MB / 0.9136 GB, free: 184.2 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)