Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.009273/0.009273, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001983/0.001983, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.563/1.563, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5945/0.5945, allocations: 95.48 MB / 365.4 MB, free: 9.785 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 79.89 kB / 0.5036 GB, free: 13.44 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1573, allocations: 69.08 MB / 0.5711 GB, free: 8.297 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.5866/0.744, allocations: 187.7 MB / 0.7544 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009762/0.7538, allocations: 8.812 MB / 0.763 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006907/0.7546, allocations: 11.94 kB / 0.763 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009671/0.7556, allocations: 294.1 kB / 0.7633 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.7569, allocations: 0.509 MB / 0.7638 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00371/0.7606, allocations: 1.26 MB / 0.765 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001983/0.7626, allocations: 1.119 MB / 0.7661 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005757/0.7632, allocations: 379.9 kB / 0.7665 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008848/0.7641, allocations: 489.8 kB / 0.767 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000454/0.7646, allocations: 362.5 kB / 0.7673 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.873e-05/0.7647, allocations: 44 kB / 0.7674 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002643/0.7673, allocations: 1.271 MB / 0.7686 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.7675, allocations: 191.5 kB / 0.7688 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.7678, allocations: 290.7 kB / 0.7691 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.7699, allocations: 1.383 MB / 0.7704 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7699, allocations: 0 / 0.7704 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7699, allocations: 0 / 0.7704 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.7699, allocations: 4 kB / 0.7704 GB, free: 2.258 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001614/0.7715, allocations: 0.9351 MB / 0.7713 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.7716, allocations: 15.98 kB / 0.7713 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.7719, allocations: 63.36 kB / 0.7714 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.7725, allocations: 415.3 kB / 0.7718 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.7725, allocations: 29 kB / 0.7718 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.7726, allocations: 36 kB / 0.7719 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000866/0.7735, allocations: 0.5078 MB / 0.7724 GB, free: 148 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.7735, allocations: 0 / 0.7724 GB, free: 148 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.7735, allocations: 16 kB / 0.7724 GB, free: 132 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.7736, allocations: 15.94 kB / 0.7724 GB, free: 116 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007925/0.7744, allocations: 439.5 kB / 0.7728 GB, free: 15.68 MB / 0.5919 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.003239/0.7776, allocations: 2.432 MB / 0.7752 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.778, allocations: 158.3 kB / 0.7753 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.7782, allocations: 68.81 kB / 0.7754 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/0.7785, allocations: 352.5 kB / 0.7757 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.7785, allocations: 34.56 kB / 0.7758 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.943e-06/0.7786, allocations: 0 / 0.7758 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0007604/0.7793, allocations: 256.9 kB / 0.776 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.7794, allocations: 55.34 kB / 0.7761 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.78, allocations: 0.5409 MB / 0.7766 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.78, allocations: 29.7 kB / 0.7766 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.7802, allocations: 290.9 kB / 0.7769 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.7803, allocations: 39.45 kB / 0.7769 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.7804, allocations: 81.59 kB / 0.777 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.7806, allocations: 354.8 kB / 0.7773 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.7808, allocations: 116.8 kB / 0.7775 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.7811, allocations: 247.1 kB / 0.7777 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005072/0.7816, allocations: 348.8 kB / 0.778 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.7817, allocations: 0.875 kB / 0.778 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008151/0.7825, allocations: 424.9 kB / 0.7784 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.7825, allocations: 8 kB / 0.7784 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.7825, allocations: 7.984 kB / 0.7784 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.7826, allocations: 11.98 kB / 0.7785 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.783, allocations: 85.02 kB / 0.7785 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.783, allocations: 8 kB / 0.7786 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.7834, allocations: 55.36 kB / 0.7786 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.258e-05/0.7835, allocations: 24.23 kB / 0.7786 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003619/0.7838, allocations: 248 kB / 0.7789 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003142/0.7842, allocations: 241.6 kB / 0.7791 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005863/0.7848, allocations: 349.5 kB / 0.7794 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.138e-06/0.7848, allocations: 0 / 0.7794 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0007465/0.7855, allocations: 437.2 kB / 0.7798 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.7855, allocations: 8.531 kB / 0.7799 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.7855, allocations: 4 kB / 0.7799 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.7856, allocations: 11.94 kB / 0.7799 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.7859, allocations: 87.83 kB / 0.78 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.7859, allocations: 7.984 kB / 0.78 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.7863, allocations: 23.84 kB / 0.78 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.7863, allocations: 23.98 kB / 0.78 GB, free: 7.695 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (42): * Single equations (assignments): 42 * 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.000231/0.7866, allocations: 204.1 kB / 0.7802 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.7867, allocations: 43.44 kB / 0.7802 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000567/0.7873, allocations: 221.3 kB / 0.7805 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.7873, allocations: 4 kB / 0.7805 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.7873, allocations: 0 / 0.7805 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.7873, allocations: 0 / 0.7805 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/0.7878, allocations: 381.2 kB / 0.7808 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.7878, allocations: 0 / 0.7808 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.7879, allocations: 35.92 kB / 0.7809 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.788, allocations: 4 kB / 0.7809 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.788, allocations: 3.938 kB / 0.7809 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.788, allocations: 0 / 0.7809 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.788, allocations: 0 / 0.7809 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004645/0.7885, allocations: 298.5 kB / 0.7811 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.7887, allocations: 152.5 kB / 0.7813 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.7888, allocations: 3.938 kB / 0.7813 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.7891, allocations: 15.98 kB / 0.7813 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.7892, allocations: 11.92 kB / 0.7813 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.7892, allocations: 15.98 kB / 0.7813 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005034/0.7897, allocations: 386.8 kB / 0.7817 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7897, allocations: 0 / 0.7817 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001281/0.791, allocations: 351.6 kB / 0.782 GB, free: 5.516 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0007977/0.7918, allocations: 336.9 kB / 0.7824 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009341/0.7928, allocations: 416.2 kB / 0.7828 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7928, allocations: 4.125 kB / 0.7828 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.793, allocations: 71.89 kB / 0.7828 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.7941, allocations: 225.1 kB / 0.783 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.7954, allocations: 0.6965 MB / 0.7837 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.7958, allocations: 0.8271 MB / 0.7845 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004556/0.7963, allocations: 128.3 kB / 0.7847 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-05/0.7964, allocations: 39.42 kB / 0.7847 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of SimCode: time 1.022e-06/0.7964, allocations: 0 / 0.7847 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.01873/0.8151, allocations: 10.91 MB / 0.7954 GB, free: 7.922 MB / 0.6075 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)