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.001539/0.001539, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002143/0.002143, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.531/1.531, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.669/1.669, allocations: 251.7 MB / 0.5092 GB, free: 3.156 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.001511/0.001511, allocations: 67.91 kB / 0.6223 GB, free: 1.527 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5412/0.5427, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1958/0.7386, allocations: 169.6 MB / 0.8901 GB, free: 2.723 MB / 0.7013 GB Notification: Performance of NFInst.instExpressions: time 0.009964/0.7486, allocations: 7.371 MB / 0.8973 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008895/0.7495, allocations: 11.94 kB / 0.8973 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.7506, allocations: 218.6 kB / 0.8975 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.7528, allocations: 0.5638 MB / 0.8981 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.7542, allocations: 431.9 kB / 0.8985 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.7554, allocations: 0.7011 MB / 0.8992 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005995/0.756, allocations: 267.1 kB / 0.8994 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009893/0.757, allocations: 370.5 kB / 0.8998 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/0.7574, allocations: 215 kB / 0.9 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.863e-05/0.7575, allocations: 16 kB / 0.9 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.7589, allocations: 0.7016 MB / 0.9007 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.7591, allocations: 99.7 kB / 0.9008 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002629/0.7594, allocations: 155.2 kB / 0.9009 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.7605, allocations: 0.557 MB / 0.9015 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7605, allocations: 0 / 0.9015 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7605, allocations: 0 / 0.9015 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.7605, allocations: 0 / 0.9015 GB, free: 7.055 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.00109/0.7616, allocations: 0.631 MB / 0.9021 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.7617, allocations: 11.97 kB / 0.9021 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004005/0.7621, allocations: 63.52 kB / 0.9022 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.7626, allocations: 301.2 kB / 0.9025 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.7626, allocations: 16.44 kB / 0.9025 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.7626, allocations: 24 kB / 0.9025 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.7632, allocations: 304.6 kB / 0.9028 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.7632, allocations: 7.875 kB / 0.9028 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.7632, allocations: 15.94 kB / 0.9028 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.7632, allocations: 8 kB / 0.9028 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.7636, allocations: 167.8 kB / 0.903 GB, free: 5.391 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.001728/0.7653, allocations: 1.698 MB / 0.9046 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.7656, allocations: 86.5 kB / 0.9047 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.7658, allocations: 76.86 kB / 0.9048 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003133/0.7661, allocations: 190.2 kB / 0.905 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.7662, allocations: 38.5 kB / 0.905 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.7662, allocations: 0 / 0.905 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0007556/0.7669, allocations: 217.2 kB / 0.9052 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.767, allocations: 55.41 kB / 0.9053 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.7674, allocations: 316.4 kB / 0.9056 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.7674, allocations: 33.7 kB / 0.9056 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.7675, allocations: 191.9 kB / 0.9058 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.7676, allocations: 35.45 kB / 0.9058 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.7677, allocations: 53.64 kB / 0.9059 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.7678, allocations: 338.8 kB / 0.9062 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.768, allocations: 64.81 kB / 0.9063 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.7683, allocations: 175.4 kB / 0.9064 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.7687, allocations: 233.5 kB / 0.9066 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.7687, allocations: 4 kB / 0.9067 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005653/0.7693, allocations: 265.2 kB / 0.9069 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.7693, allocations: 9.875 kB / 0.9069 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.7693, allocations: 4 kB / 0.9069 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.7693, allocations: 4 kB / 0.9069 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.7695, allocations: 47.91 kB / 0.907 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.7696, allocations: 4 kB / 0.907 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.7698, allocations: 39.67 kB / 0.907 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.7699, allocations: 11.98 kB / 0.907 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002496/0.7701, allocations: 176.1 kB / 0.9072 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002333/0.7704, allocations: 180.9 kB / 0.9074 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003575/0.7707, allocations: 233.4 kB / 0.9076 GB, free: 224 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.973e-06/0.7707, allocations: 3.938 kB / 0.9076 GB, free: 220 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.419/1.19, allocations: 236.6 kB / 0.9078 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.19, allocations: 10.62 kB / 0.9078 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.19, allocations: 4.109 kB / 0.9078 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/1.19, allocations: 7.062 kB / 0.9078 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/1.19, allocations: 46.25 kB / 0.9079 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/1.19, allocations: 5.984 kB / 0.9079 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/1.19, allocations: 33.45 kB / 0.9079 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/1.191, allocations: 11.09 kB / 0.9079 GB, free: 185.4 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.0001255/1.191, allocations: 193.6 kB / 0.9081 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/1.191, allocations: 30.66 kB / 0.9081 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/1.191, allocations: 165.4 kB / 0.9083 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/1.191, allocations: 4.25 kB / 0.9083 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.191, allocations: 2.078 kB / 0.9083 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/1.191, allocations: 0 / 0.9083 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009761/1.192, allocations: 0.6087 MB / 0.9089 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.192, allocations: 1.625 kB / 0.9089 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/1.192, allocations: 24.23 kB / 0.9089 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/1.192, allocations: 5.969 kB / 0.9089 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/1.192, allocations: 8.281 kB / 0.9089 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.192, allocations: 3.984 kB / 0.9089 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.192, allocations: 9.094 kB / 0.9089 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/1.193, allocations: 295.9 kB / 0.9092 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.855e-05/1.193, allocations: 117 kB / 0.9093 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/1.193, allocations: 11.77 kB / 0.9094 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/1.193, allocations: 10.09 kB / 0.9094 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/1.193, allocations: 17.39 kB / 0.9094 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/1.193, allocations: 4.75 kB / 0.9094 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002448/1.194, allocations: 225.4 kB / 0.9096 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.194, allocations: 0 / 0.9096 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006301/1.194, allocations: 136.8 kB / 0.9097 GB, free: 184.5 MB / 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.0004049/1.195, allocations: 162.2 kB / 0.9099 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006692/1.195, allocations: 243.1 kB / 0.9101 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.195, allocations: 0 / 0.9101 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/1.195, allocations: 73.52 kB / 0.9102 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008738/1.196, allocations: 127.3 kB / 0.9103 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008697/1.197, allocations: 0.4909 MB / 0.9108 GB, free: 184 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/1.197, allocations: 0.7717 MB / 0.9115 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003093/1.198, allocations: 86.62 kB / 0.9116 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/1.198, allocations: 23.84 kB / 0.9116 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of SimCode: time 1.102e-06/1.198, allocations: 3.781 kB / 0.9116 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.01331/1.211, allocations: 4.719 MB / 0.9163 GB, free: 182.6 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)