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.005616/0.005616, allocations: 102.5 kB / 15.73 MB, free: 6.047 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.001239/0.001239, allocations: 196.8 kB / 16.68 MB, free: 5.961 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.569/1.569, allocations: 205.1 MB / 222.6 MB, free: 4.398 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.5918/0.5918, allocations: 95.48 MB / 365.4 MB, free: 9.695 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.002349/0.002349, allocations: 83.88 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1778, allocations: 69.08 MB / 0.5711 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6014/0.7792, allocations: 187.7 MB / 0.7544 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01083/0.7901, allocations: 8.812 MB / 0.763 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006317/0.7908, allocations: 15.88 kB / 0.763 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.7919, allocations: 286.2 kB / 0.7633 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.7934, allocations: 0.5091 MB / 0.7638 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003284/0.7967, allocations: 1.252 MB / 0.765 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.7983, allocations: 1.123 MB / 0.7661 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006428/0.799, allocations: 383.9 kB / 0.7665 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.8, allocations: 0.4939 MB / 0.767 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006364/0.8007, allocations: 356.5 kB / 0.7673 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.8008, allocations: 44 kB / 0.7674 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.803, allocations: 1.283 MB / 0.7686 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.8032, allocations: 191.5 kB / 0.7688 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.8035, allocations: 282.7 kB / 0.7691 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.8059, allocations: 1.391 MB / 0.7704 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8059, allocations: 0 / 0.7704 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8059, allocations: 0 / 0.7704 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.002e-05/0.8059, allocations: 7.938 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.00178/0.8077, allocations: 0.9274 MB / 0.7713 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.8077, allocations: 19.98 kB / 0.7714 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002807/0.808, allocations: 63.36 kB / 0.7714 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006381/0.8087, allocations: 415.3 kB / 0.7718 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.8087, allocations: 29 kB / 0.7718 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.8088, allocations: 36 kB / 0.7719 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008843/0.8097, allocations: 0.5039 MB / 0.7724 GB, free: 156 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.8097, allocations: 0 / 0.7724 GB, free: 156 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.8097, allocations: 16 kB / 0.7724 GB, free: 140 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.8098, allocations: 19.92 kB / 0.7724 GB, free: 120 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008053/0.8106, allocations: 431.7 kB / 0.7728 GB, free: 15.69 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.003045/0.8136, allocations: 2.439 MB / 0.7752 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.814, allocations: 150.5 kB / 0.7753 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.8142, allocations: 66.91 kB / 0.7754 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.8145, allocations: 352.5 kB / 0.7757 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.8145, allocations: 34.5 kB / 0.7758 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.8145, allocations: 4 kB / 0.7758 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.000716/0.8152, allocations: 252.9 kB / 0.776 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.8153, allocations: 51.41 kB / 0.7761 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/0.8159, allocations: 0.5448 MB / 0.7766 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.8159, allocations: 29.7 kB / 0.7766 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.8161, allocations: 290.9 kB / 0.7769 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.8162, allocations: 43.44 kB / 0.7769 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.8163, allocations: 81.59 kB / 0.777 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.8164, allocations: 350.8 kB / 0.7774 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.8167, allocations: 120.8 kB / 0.7775 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.817, allocations: 254.1 kB / 0.7777 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/0.8175, allocations: 338.8 kB / 0.778 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.8176, allocations: 4 kB / 0.778 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008091/0.8184, allocations: 432.1 kB / 0.7785 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.8184, allocations: 4 kB / 0.7785 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.8184, allocations: 11.94 kB / 0.7785 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.8185, allocations: 4 kB / 0.7785 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.8188, allocations: 87.83 kB / 0.7786 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.8188, allocations: 7.984 kB / 0.7786 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.8193, allocations: 59.36 kB / 0.7786 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.8193, allocations: 16.25 kB / 0.7786 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00035/0.8197, allocations: 256 kB / 0.7789 GB, free: 9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000292/0.82, allocations: 245.5 kB / 0.7791 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004957/0.8205, allocations: 339.7 kB / 0.7794 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.809e-06/0.8205, allocations: 7.938 kB / 0.7794 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0007859/0.8213, allocations: 428.5 kB / 0.7799 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.8213, allocations: 8 kB / 0.7799 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.8213, allocations: 4.531 kB / 0.7799 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.8213, allocations: 19.92 kB / 0.7799 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.8217, allocations: 79.89 kB / 0.78 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.8217, allocations: 11.94 kB / 0.78 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.8221, allocations: 28.58 kB / 0.78 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.8221, allocations: 16 kB / 0.78 GB, free: 7.711 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.0001651/0.8223, allocations: 200.1 kB / 0.7802 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/0.8224, allocations: 47.44 kB / 0.7803 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004968/0.8229, allocations: 225.3 kB / 0.7805 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.8229, allocations: 0 / 0.7805 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8229, allocations: 0.5625 kB / 0.7805 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8229, allocations: 0 / 0.7805 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.8233, allocations: 385.2 kB / 0.7808 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.8234, allocations: 128 / 0.7808 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.8235, allocations: 39.97 kB / 0.7809 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.8235, allocations: 0 / 0.7809 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.8235, allocations: 3.938 kB / 0.7809 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.8235, allocations: 6.344 kB / 0.7809 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8236, allocations: 0 / 0.7809 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/0.824, allocations: 290.9 kB / 0.7812 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.8242, allocations: 148.5 kB / 0.7813 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.947e-05/0.8242, allocations: 11.94 kB / 0.7813 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.8246, allocations: 19.92 kB / 0.7813 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.8246, allocations: 7.984 kB / 0.7813 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.8247, allocations: 15.98 kB / 0.7814 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003992/0.8251, allocations: 382.8 kB / 0.7817 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8251, allocations: 0 / 0.7817 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009574/0.8261, allocations: 351.6 kB / 0.7821 GB, free: 5.527 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.000747/0.8268, allocations: 330.6 kB / 0.7824 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008122/0.8276, allocations: 421.3 kB / 0.7828 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.8277, allocations: 4.25 kB / 0.7828 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.8278, allocations: 63.97 kB / 0.7828 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.8289, allocations: 238.6 kB / 0.7831 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.83, allocations: 0.6887 MB / 0.7837 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.8304, allocations: 0.8349 MB / 0.7846 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004167/0.8308, allocations: 128.3 kB / 0.7847 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.8309, allocations: 35.44 kB / 0.7847 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.8309, allocations: 0 / 0.7847 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of Templates: time 0.01929/0.8502, allocations: 11.04 MB / 0.7955 GB, free: 7.805 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)