Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001008/0.001008, allocations: 106.2 kB / 16.36 MB, free: 6.012 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.001009/0.001009, allocations: 194.3 kB / 17.3 MB, free: 5.613 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.534/1.534, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 292.3 MB / 0.5496 GB, free: 17.41 MB / 462.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.001825/0.001825, allocations: 63.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2604, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6602/0.9206, allocations: 169.5 MB / 0.9503 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007604/0.9283, allocations: 7.321 MB / 0.9574 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004442/0.9287, allocations: 11.94 kB / 0.9574 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005728/0.9293, allocations: 214.5 kB / 0.9576 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.9307, allocations: 0.5755 MB / 0.9582 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.9318, allocations: 429.5 kB / 0.9586 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0008736/0.9327, allocations: 0.7103 MB / 0.9593 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003729/0.9331, allocations: 267.1 kB / 0.9595 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006671/0.9338, allocations: 378.5 kB / 0.9599 GB, free: 6.73 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.934, allocations: 211 kB / 0.9601 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.229e-05/0.9341, allocations: 24 kB / 0.9601 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.9352, allocations: 0.7016 MB / 0.9608 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.9353, allocations: 107.7 kB / 0.9609 GB, free: 5.691 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.9355, allocations: 163.1 kB / 0.9611 GB, free: 5.531 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007204/0.9362, allocations: 0.5803 MB / 0.9616 GB, free: 4.949 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.9362, allocations: 0 / 0.9616 GB, free: 4.949 MB / 0.7481 GB Notification: Performance of FrontEnd: time 9.92e-07/0.9362, allocations: 0 / 0.9616 GB, free: 4.949 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.9362, allocations: 0 / 0.9616 GB, free: 4.949 MB / 0.7481 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.000843/0.9371, allocations: 0.6338 MB / 0.9623 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.9371, allocations: 12.03 kB / 0.9623 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003397/0.9375, allocations: 71.38 kB / 0.9623 GB, free: 4.188 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.9378, allocations: 304.1 kB / 0.9626 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.9379, allocations: 16.42 kB / 0.9626 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.9379, allocations: 27.94 kB / 0.9627 GB, free: 3.809 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.9384, allocations: 296.6 kB / 0.963 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.9384, allocations: 4 kB / 0.963 GB, free: 3.48 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.9384, allocations: 11.94 kB / 0.963 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.9384, allocations: 8 kB / 0.963 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003528/0.9388, allocations: 180.7 kB / 0.9632 GB, free: 3.285 MB / 0.7481 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.001481/0.9403, allocations: 1.694 MB / 0.9648 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.9405, allocations: 82.56 kB / 0.9649 GB, free: 1.379 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.9407, allocations: 80.84 kB / 0.965 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.9409, allocations: 190.2 kB / 0.9651 GB, free: 1.074 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.941, allocations: 38.5 kB / 0.9652 GB, free: 1.027 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.941, allocations: 0 / 0.9652 GB, free: 1.027 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.0006588/0.9416, allocations: 226.1 kB / 0.9654 GB, free: 0.8008 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.9417, allocations: 51.41 kB / 0.9654 GB, free: 0.7383 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.942, allocations: 324.5 kB / 0.9658 GB, free: 420 kB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.942, allocations: 25.7 kB / 0.9658 GB, free: 388 kB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.9422, allocations: 203.8 kB / 0.966 GB, free: 180 kB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.9422, allocations: 35.45 kB / 0.966 GB, free: 144 kB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.9423, allocations: 53.61 kB / 0.9661 GB, free: 84 kB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.9424, allocations: 339.6 kB / 0.9664 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.9426, allocations: 60.81 kB / 0.9664 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.9429, allocations: 195.1 kB / 0.9666 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.9432, allocations: 233.5 kB / 0.9668 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.9432, allocations: 0.6875 kB / 0.9668 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004456/0.9437, allocations: 257.3 kB / 0.9671 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.9437, allocations: 12 kB / 0.9671 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.9437, allocations: 0 / 0.9671 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.9437, allocations: 9.5 kB / 0.9671 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.9439, allocations: 47.91 kB / 0.9672 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.944, allocations: 4 kB / 0.9672 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.9442, allocations: 37.23 kB / 0.9672 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.9442, allocations: 12 kB / 0.9672 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002173/0.9445, allocations: 174.9 kB / 0.9674 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002196/0.9447, allocations: 202.5 kB / 0.9676 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003204/0.945, allocations: 229.5 kB / 0.9678 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.336e-06/0.945, allocations: 4 kB / 0.9678 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004364/0.9455, allocations: 241.5 kB / 0.968 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.9455, allocations: 20.91 kB / 0.968 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.9455, allocations: 4 kB / 0.968 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.164e-06/0.9455, allocations: 7.984 kB / 0.9681 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.9457, allocations: 47.92 kB / 0.9681 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.9457, allocations: 4 kB / 0.9681 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.9459, allocations: 35.81 kB / 0.9681 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.946, allocations: 14.23 kB / 0.9682 GB, free: 13.7 MB / 0.7637 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.0001197/0.9461, allocations: 200.2 kB / 0.9683 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.9461, allocations: 27.66 kB / 0.9684 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003631/0.9465, allocations: 161.4 kB / 0.9685 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.9465, allocations: 4 kB / 0.9685 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.9465, allocations: 1.812 kB / 0.9685 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.9466, allocations: 3.938 kB / 0.9685 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008853/0.9474, allocations: 0.617 MB / 0.9691 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.9475, allocations: 0 / 0.9691 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.9476, allocations: 28.2 kB / 0.9692 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.9476, allocations: 0 / 0.9692 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.9476, allocations: 8 kB / 0.9692 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.9476, allocations: 7.938 kB / 0.9692 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9476, allocations: 0 / 0.9692 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.948, allocations: 301.1 kB / 0.9695 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.9481, allocations: 116.7 kB / 0.9696 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.9481, allocations: 4 kB / 0.9696 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.9483, allocations: 7.984 kB / 0.9696 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.9484, allocations: 25.17 kB / 0.9696 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.9484, allocations: 4 kB / 0.9696 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000207/0.9486, allocations: 227 kB / 0.9698 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.483e-06/0.9486, allocations: 0 / 0.9698 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0005645/0.9492, allocations: 131.8 kB / 0.97 GB, free: 11.71 MB / 0.7637 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.0003649/0.9496, allocations: 169.9 kB / 0.9701 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005327/0.9501, allocations: 242.7 kB / 0.9703 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.9501, allocations: 1.406 kB / 0.9704 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.9503, allocations: 72.02 kB / 0.9704 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007431/0.951, allocations: 125 kB / 0.9705 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008133/0.9518, allocations: 0.4959 MB / 0.971 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.9522, allocations: 0.7756 MB / 0.9718 GB, free: 9.785 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002337/0.9525, allocations: 81.56 kB / 0.9719 GB, free: 9.707 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.9525, allocations: 31.42 kB / 0.9719 GB, free: 9.676 MB / 0.7637 GB Notification: Performance of SimCode: time 2.3e-07/0.9525, allocations: 0 / 0.9719 GB, free: 9.676 MB / 0.7637 GB Notification: Performance of Templates: time 0.009649/0.9622, allocations: 4.863 MB / 0.9766 GB, free: 4.945 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)