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.001277/0.001277, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001468, allocations: 189.6 kB / 16.62 MB, free: 6.582 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.681/1.681, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.827/1.827, allocations: 292.3 MB / 0.5489 GB, free: 12.77 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.001605/0.001606, allocations: 80.81 kB / 0.6722 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2785, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.7626/1.041, allocations: 169.4 MB / 0.9496 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01008/1.051, allocations: 7.304 MB / 0.9567 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008508/1.052, allocations: 16.34 kB / 0.9567 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008355/1.053, allocations: 206.9 kB / 0.9569 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002041/1.055, allocations: 0.5805 MB / 0.9575 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/1.057, allocations: 433.2 kB / 0.9579 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001448/1.058, allocations: 0.706 MB / 0.9586 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005078/1.059, allocations: 265.7 kB / 0.9589 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009277/1.06, allocations: 377.6 kB / 0.9592 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003631/1.06, allocations: 217.6 kB / 0.9594 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.761e-05/1.06, allocations: 19.16 kB / 0.9595 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/1.062, allocations: 0.7031 MB / 0.9601 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001551/1.062, allocations: 110.2 kB / 0.9602 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000221/1.062, allocations: 158.7 kB / 0.9604 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/1.063, allocations: 0.5755 MB / 0.961 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.063, allocations: 0 / 0.961 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.864e-06/1.063, allocations: 0 / 0.961 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.523e-05/1.063, allocations: 1.031 kB / 0.961 GB, free: 0.5898 MB / 0.7169 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.001009/1.064, allocations: 0.6421 MB / 0.9616 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/1.065, allocations: 8.781 kB / 0.9616 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004163/1.065, allocations: 65.83 kB / 0.9617 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/1.065, allocations: 327.2 kB / 0.962 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/1.066, allocations: 20.66 kB / 0.962 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/1.066, allocations: 23.31 kB / 0.962 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/1.066, allocations: 300.8 kB / 0.9623 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/1.066, allocations: 2.188 kB / 0.9623 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/1.066, allocations: 12.97 kB / 0.9623 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/1.066, allocations: 10.22 kB / 0.9623 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/1.067, allocations: 178.6 kB / 0.9625 GB, free: 15.69 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.001654/1.068, allocations: 1.688 MB / 0.9641 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/1.068, allocations: 91.69 kB / 0.9642 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/1.069, allocations: 80.02 kB / 0.9643 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/1.069, allocations: 188.6 kB / 0.9645 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/1.069, allocations: 44.78 kB / 0.9645 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/1.069, allocations: 0 / 0.9645 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0006941/1.07, allocations: 225.7 kB / 0.9647 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/1.07, allocations: 52.88 kB / 0.9648 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/1.07, allocations: 324.9 kB / 0.9651 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/1.07, allocations: 27.11 kB / 0.9651 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/1.07, allocations: 195.1 kB / 0.9653 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/1.07, allocations: 39.53 kB / 0.9654 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.229e-05/1.07, allocations: 55.02 kB / 0.9654 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.071, allocations: 339.6 kB / 0.9657 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/1.071, allocations: 62.94 kB / 0.9658 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/1.071, allocations: 196.1 kB / 0.966 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/1.071, allocations: 232.3 kB / 0.9662 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.071, allocations: 1.438 kB / 0.9662 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004726/1.072, allocations: 253.6 kB / 0.9664 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.072, allocations: 8.359 kB / 0.9665 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/1.072, allocations: 3.562 kB / 0.9665 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.072, allocations: 6.969 kB / 0.9665 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/1.072, allocations: 49.73 kB / 0.9665 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.072, allocations: 5.531 kB / 0.9665 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/1.072, allocations: 42.17 kB / 0.9666 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/1.072, allocations: 12.55 kB / 0.9666 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002225/1.073, allocations: 171.6 kB / 0.9667 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002566/1.073, allocations: 190.8 kB / 0.9669 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003382/1.073, allocations: 231 kB / 0.9671 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/1.073, allocations: 2.453 kB / 0.9671 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004595/1.074, allocations: 256.2 kB / 0.9674 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.074, allocations: 13.41 kB / 0.9674 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.074, allocations: 5.906 kB / 0.9674 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/1.074, allocations: 5.062 kB / 0.9674 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/1.074, allocations: 46 kB / 0.9674 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.074, allocations: 5.406 kB / 0.9675 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/1.074, allocations: 31.22 kB / 0.9675 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/1.074, allocations: 12.94 kB / 0.9675 GB, free: 12.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001233/1.074, allocations: 196.4 kB / 0.9677 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/1.074, allocations: 35.34 kB / 0.9677 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/1.075, allocations: 173.7 kB / 0.9679 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.075, allocations: 6.422 kB / 0.9679 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/1.075, allocations: 0 / 0.9679 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.075, allocations: 1.219 kB / 0.9679 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009695/1.076, allocations: 0.6035 MB / 0.9685 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.076, allocations: 2.562 kB / 0.9685 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/1.076, allocations: 22.78 kB / 0.9685 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/1.076, allocations: 6.188 kB / 0.9685 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/1.076, allocations: 9.109 kB / 0.9685 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/1.076, allocations: 2.219 kB / 0.9685 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.076, allocations: 2.281 kB / 0.9685 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/1.076, allocations: 308.9 kB / 0.9688 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/1.077, allocations: 115.9 kB / 0.9689 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.512e-05/1.077, allocations: 8.062 kB / 0.9689 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/1.077, allocations: 12.14 kB / 0.9689 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/1.077, allocations: 14.84 kB / 0.969 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/1.077, allocations: 4.812 kB / 0.969 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002391/1.077, allocations: 226.8 kB / 0.9692 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.077, allocations: 4 kB / 0.9692 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006449/1.078, allocations: 131 kB / 0.9693 GB, free: 11.41 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 (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.0004299/1.078, allocations: 161.8 kB / 0.9695 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005544/1.079, allocations: 252.8 kB / 0.9697 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.079, allocations: 0 / 0.9697 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/1.079, allocations: 61.08 kB / 0.9698 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/1.08, allocations: 126.1 kB / 0.9699 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008445/1.081, allocations: 0.5051 MB / 0.9704 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/1.081, allocations: 0.7754 MB / 0.9711 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002461/1.081, allocations: 91.27 kB / 0.9712 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/1.081, allocations: 23.78 kB / 0.9712 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/1.081, allocations: 1.188 kB / 0.9712 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of Templates: time 0.01006/1.091, allocations: 4.864 MB / 0.976 GB, free: 9.176 MB / 0.7325 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)