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.0008877/0.0008877, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001129/0.001129, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.686/1.686, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004845/0.0004846, allocations: 16.5 kB / 0.6737 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2446, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.7246/0.9693, allocations: 154 MB / 0.9377 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008079/0.9774, allocations: 6.754 MB / 0.9442 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007029/0.9782, allocations: 11.47 kB / 0.9443 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008332/0.979, allocations: 143 kB / 0.9444 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.981, allocations: 448.3 kB / 0.9448 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.9828, allocations: 355.9 kB / 0.9452 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001862/0.9847, allocations: 0.8598 MB / 0.946 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005159/0.9852, allocations: 195.8 kB / 0.9462 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008366/0.986, allocations: 320.2 kB / 0.9465 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003368/0.9864, allocations: 210.9 kB / 0.9467 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/0.9864, allocations: 10.59 kB / 0.9467 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.9877, allocations: 0.5246 MB / 0.9472 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.9878, allocations: 97.5 kB / 0.9473 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004287/0.9883, allocations: 85.8 kB / 0.9474 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006407/0.9889, allocations: 389.9 kB / 0.9478 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.9889, allocations: 0 / 0.9478 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.989, allocations: 0.5938 kB / 0.9478 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.989, allocations: 0 / 0.9478 GB, free: 21.2 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.0008743/0.9898, allocations: 0.5903 MB / 0.9483 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.9899, allocations: 9.562 kB / 0.9483 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003726/0.9903, allocations: 62.88 kB / 0.9484 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.9907, allocations: 295.4 kB / 0.9487 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.9907, allocations: 18.5 kB / 0.9487 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.9908, allocations: 23.72 kB / 0.9487 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.9914, allocations: 309.3 kB / 0.949 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.9914, allocations: 5.156 kB / 0.949 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.9914, allocations: 7.625 kB / 0.949 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.9915, allocations: 9.562 kB / 0.949 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004488/0.9919, allocations: 188 kB / 0.9492 GB, free: 20.32 MB / 0.7325 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.001696/0.9936, allocations: 1.709 MB / 0.9509 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.9939, allocations: 91.78 kB / 0.951 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.994, allocations: 85.98 kB / 0.9511 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/0.9943, allocations: 188.8 kB / 0.9512 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.9944, allocations: 33.75 kB / 0.9513 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.9944, allocations: 4 kB / 0.9513 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0006697/0.995, allocations: 248.1 kB / 0.9515 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.9951, allocations: 53.09 kB / 0.9516 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.9954, allocations: 313.3 kB / 0.9519 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.9955, allocations: 30.08 kB / 0.9519 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.9956, allocations: 200.6 kB / 0.9521 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.9956, allocations: 37.58 kB / 0.9521 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.9956, allocations: 7.734 kB / 0.9521 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9958, allocations: 337.9 kB / 0.9525 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.9959, allocations: 60.91 kB / 0.9525 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.9961, allocations: 200.2 kB / 0.9527 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.9963, allocations: 89.56 kB / 0.9528 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9963, allocations: 6.406 kB / 0.9528 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004576/0.9968, allocations: 257.6 kB / 0.953 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.675e-05/0.9969, allocations: 194.1 kB / 0.9532 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.9969, allocations: 6.969 kB / 0.9532 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.9969, allocations: 6.125 kB / 0.9532 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.9971, allocations: 50.95 kB / 0.9533 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.9971, allocations: 4.812 kB / 0.9533 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.9974, allocations: 43.94 kB / 0.9533 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.9974, allocations: 12.12 kB / 0.9533 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.9975, allocations: 7.25 kB / 0.9533 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003751/0.9978, allocations: 213.6 kB / 0.9536 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9979, allocations: 4.25 kB / 0.9536 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.832e-06/0.9979, allocations: 7.203 kB / 0.9536 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.998, allocations: 47.08 kB / 0.9536 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.998, allocations: 9.297 kB / 0.9536 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.9983, allocations: 41.88 kB / 0.9537 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.9983, allocations: 14.27 kB / 0.9537 GB, free: 17.46 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.9985, allocations: 230.7 kB / 0.9539 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.9985, allocations: 28.84 kB / 0.9539 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.9989, allocations: 182.6 kB / 0.9541 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.9989, allocations: 2.312 kB / 0.9541 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.9989, allocations: 7.891 kB / 0.9541 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.9989, allocations: 4.719 kB / 0.9541 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008326/0.9998, allocations: 0.6177 MB / 0.9547 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.9998, allocations: 2.156 kB / 0.9547 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.9999, allocations: 35.95 kB / 0.9547 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.9999, allocations: 4.359 kB / 0.9548 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.9999, allocations: 5.656 kB / 0.9548 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.9999, allocations: 2.656 kB / 0.9548 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.9999, allocations: 2.031 kB / 0.9548 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/1, allocations: 311.5 kB / 0.9551 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.84e-05/1, allocations: 120.4 kB / 0.9552 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/1, allocations: 2.188 kB / 0.9552 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/1.001, allocations: 20.62 kB / 0.9552 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/1.001, allocations: 7.469 kB / 0.9552 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/1.001, allocations: 4.75 kB / 0.9552 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002232/1.001, allocations: 229.6 kB / 0.9554 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.001, allocations: 0 / 0.9554 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006163/1.002, allocations: 137.2 kB / 0.9556 GB, free: 16.39 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003853/1.002, allocations: 157.9 kB / 0.9557 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005317/1.002, allocations: 253.4 kB / 0.9559 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.002, allocations: 3.938 kB / 0.956 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/1.003, allocations: 73.52 kB / 0.956 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008094/1.003, allocations: 142.3 kB / 0.9562 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007832/1.004, allocations: 0.5828 MB / 0.9567 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/1.005, allocations: 0.7809 MB / 0.9575 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002953/1.005, allocations: 82.69 kB / 0.9576 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/1.005, allocations: 27.53 kB / 0.9576 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/1.005, allocations: 1.094 kB / 0.9576 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.008971/1.014, allocations: 4.587 MB / 0.9621 GB, free: 14.82 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: