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.001349/0.001349, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001652/0.001653, allocations: 191.9 kB / 16.13 MB, free: 6.703 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.649/1.649, allocations: 205.1 MB / 222 MB, free: 4.785 MB / 174.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.718/1.718, allocations: 292.2 MB / 0.5484 GB, free: 13.7 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.001567/0.001567, allocations: 77.84 kB / 0.6708 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2948, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.7308/1.026, allocations: 167.2 MB / 0.946 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008649/1.034, allocations: 7.338 MB / 0.9531 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008803/1.035, allocations: 9.5 kB / 0.9531 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009057/1.036, allocations: 180.2 kB / 0.9533 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001853/1.038, allocations: 0.5348 MB / 0.9538 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/1.04, allocations: 380.5 kB / 0.9542 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002826/1.043, allocations: 1.026 MB / 0.9552 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008306/1.044, allocations: 219.8 kB / 0.9554 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/1.045, allocations: 345.7 kB / 0.9557 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005288/1.046, allocations: 233.1 kB / 0.956 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.163e-05/1.046, allocations: 13.34 kB / 0.956 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/1.048, allocations: 0.7812 MB / 0.9567 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/1.048, allocations: 104.5 kB / 0.9568 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002446/1.048, allocations: 149.9 kB / 0.957 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001279/1.049, allocations: 0.5841 MB / 0.9576 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/1.049, allocations: 4.562 kB / 0.9576 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/1.049, allocations: 0 / 0.9576 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.668e-06/1.049, allocations: 0.5938 kB / 0.9576 GB, free: 5.371 MB / 0.7325 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.001752/1.051, allocations: 0.6386 MB / 0.9582 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/1.051, allocations: 9.469 kB / 0.9582 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004522/1.052, allocations: 70.91 kB / 0.9583 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/1.052, allocations: 307.4 kB / 0.9585 GB, free: 20.63 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/1.052, allocations: 21.69 kB / 0.9586 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/1.052, allocations: 22.66 kB / 0.9586 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006561/1.053, allocations: 303.9 kB / 0.9589 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/1.053, allocations: 1.156 kB / 0.9589 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/1.053, allocations: 13.73 kB / 0.9589 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/1.053, allocations: 5.5 kB / 0.9589 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004957/1.054, allocations: 181.6 kB / 0.9591 GB, free: 20.49 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.002175/1.056, allocations: 1.699 MB / 0.9607 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/1.056, allocations: 84.31 kB / 0.9608 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/1.056, allocations: 83.94 kB / 0.9609 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003468/1.057, allocations: 190.4 kB / 0.9611 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/1.057, allocations: 35.69 kB / 0.9611 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 2.264e-06/1.057, allocations: 0 / 0.9611 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.0007753/1.058, allocations: 219.2 kB / 0.9613 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/1.058, allocations: 55.66 kB / 0.9614 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/1.058, allocations: 324.3 kB / 0.9617 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/1.058, allocations: 32.81 kB / 0.9617 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/1.058, allocations: 195.5 kB / 0.9619 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/1.058, allocations: 38.19 kB / 0.9619 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.261e-05/1.058, allocations: 56.77 kB / 0.962 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.058, allocations: 334.4 kB / 0.9623 GB, free: 18.19 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/1.059, allocations: 65.17 kB / 0.9624 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/1.059, allocations: 199.5 kB / 0.9626 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/1.059, allocations: 235.6 kB / 0.9628 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.059, allocations: 1.438 kB / 0.9628 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004957/1.06, allocations: 249.7 kB / 0.963 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/1.06, allocations: 10.31 kB / 0.963 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.06, allocations: 5.375 kB / 0.963 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/1.06, allocations: 8.062 kB / 0.963 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/1.06, allocations: 47.8 kB / 0.9631 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.06, allocations: 4.781 kB / 0.9631 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/1.06, allocations: 41.78 kB / 0.9631 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/1.06, allocations: 15.28 kB / 0.9632 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002411/1.061, allocations: 172.8 kB / 0.9633 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002112/1.061, allocations: 189.3 kB / 0.9635 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003352/1.061, allocations: 231.2 kB / 0.9637 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.066e-06/1.061, allocations: 1.125 kB / 0.9637 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004512/1.062, allocations: 255 kB / 0.964 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/1.062, allocations: 10.91 kB / 0.964 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.062, allocations: 3.453 kB / 0.964 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/1.062, allocations: 12.77 kB / 0.964 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/1.062, allocations: 48.16 kB / 0.964 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/1.062, allocations: 9 kB / 0.964 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/1.062, allocations: 28.84 kB / 0.9641 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/1.062, allocations: 17.25 kB / 0.9641 GB, free: 17.36 MB / 0.7481 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.0001401/1.062, allocations: 193.1 kB / 0.9643 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/1.062, allocations: 33.31 kB / 0.9643 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003862/1.063, allocations: 164.2 kB / 0.9645 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.063, allocations: 1.5 kB / 0.9645 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.063, allocations: 1.625 kB / 0.9645 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.063, allocations: 4.047 kB / 0.9645 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009236/1.064, allocations: 0.6169 MB / 0.9651 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.064, allocations: 3.25 kB / 0.9651 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/1.064, allocations: 21.72 kB / 0.9651 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/1.064, allocations: 7.266 kB / 0.9651 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/1.064, allocations: 1.656 kB / 0.9651 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/1.064, allocations: 6.281 kB / 0.9651 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.064, allocations: 2.281 kB / 0.9651 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/1.064, allocations: 304.5 kB / 0.9654 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/1.064, allocations: 110.9 kB / 0.9655 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/1.065, allocations: 14.98 kB / 0.9655 GB, free: 16.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/1.065, allocations: 12.12 kB / 0.9655 GB, free: 16.44 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/1.065, allocations: 19.25 kB / 0.9655 GB, free: 16.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/1.065, allocations: 4.812 kB / 0.9656 GB, free: 16.44 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002335/1.065, allocations: 226 kB / 0.9658 GB, free: 16.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/1.065, allocations: 4 kB / 0.9658 GB, free: 16.35 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006698/1.066, allocations: 139 kB / 0.9659 GB, free: 16.34 MB / 0.7481 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.00041/1.066, allocations: 165.8 kB / 0.9661 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005798/1.067, allocations: 242.3 kB / 0.9663 GB, free: 16.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.067, allocations: 1.25 kB / 0.9663 GB, free: 16.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/1.067, allocations: 63.94 kB / 0.9664 GB, free: 16.23 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009577/1.068, allocations: 139.1 kB / 0.9665 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009523/1.069, allocations: 0.5897 MB / 0.9671 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/1.069, allocations: 0.7789 MB / 0.9678 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000348/1.07, allocations: 86.09 kB / 0.9679 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/1.07, allocations: 24.09 kB / 0.9679 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of SimCode: time 7.01e-07/1.07, allocations: 1.094 kB / 0.9679 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of Templates: time 0.01082/1.081, allocations: 4.746 MB / 0.9726 GB, free: 14.8 MB / 0.7481 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)