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.001123/0.001123, allocations: 108 kB / 15.61 MB, free: 152 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.001271/0.001271, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.571/1.571, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.768/1.768, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001512/0.001512, allocations: 72.48 kB / 0.6715 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2802, allocations: 114.6 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.7771/1.057, allocations: 169.4 MB / 0.9488 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009404/1.067, allocations: 7.317 MB / 0.956 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007733/1.068, allocations: 15.88 kB / 0.956 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007618/1.068, allocations: 212.9 kB / 0.9562 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/1.07, allocations: 0.5715 MB / 0.9568 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001539/1.072, allocations: 424.1 kB / 0.9572 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001152/1.073, allocations: 0.7115 MB / 0.9579 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004586/1.073, allocations: 263.2 kB / 0.9581 GB, free: 440 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008005/1.074, allocations: 376 kB / 0.9585 GB, free: 392 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/1.075, allocations: 223.7 kB / 0.9587 GB, free: 376 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/1.075, allocations: 19.03 kB / 0.9587 GB, free: 376 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/1.076, allocations: 0.7003 MB / 0.9594 GB, free: 316 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/1.076, allocations: 115.1 kB / 0.9595 GB, free: 308 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/1.076, allocations: 154.8 kB / 0.9596 GB, free: 308 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009766/1.077, allocations: 0.5655 MB / 0.9602 GB, free: 264 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/1.077, allocations: 0 / 0.9602 GB, free: 264 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.133e-06/1.077, allocations: 0 / 0.9602 GB, free: 264 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.662e-06/1.077, allocations: 3.656 kB / 0.9602 GB, free: 264 kB / 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.0009581/1.078, allocations: 0.6405 MB / 0.9608 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.079, allocations: 8.875 kB / 0.9608 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004233/1.079, allocations: 65.33 kB / 0.9609 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/1.079, allocations: 306.1 kB / 0.9612 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/1.079, allocations: 17.97 kB / 0.9612 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/1.079, allocations: 22.88 kB / 0.9612 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/1.08, allocations: 300.5 kB / 0.9615 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/1.08, allocations: 5.281 kB / 0.9615 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/1.08, allocations: 17.36 kB / 0.9615 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/1.08, allocations: 6.422 kB / 0.9615 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/1.08, allocations: 174.9 kB / 0.9617 GB, free: 15.36 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.001744/1.082, allocations: 1.695 MB / 0.9634 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/1.082, allocations: 89.56 kB / 0.9634 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/1.083, allocations: 84 kB / 0.9635 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/1.083, allocations: 187.9 kB / 0.9637 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/1.083, allocations: 39.56 kB / 0.9637 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/1.083, allocations: 0 / 0.9637 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0007507/1.084, allocations: 219.5 kB / 0.964 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/1.084, allocations: 59.84 kB / 0.964 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/1.084, allocations: 323.1 kB / 0.9643 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/1.084, allocations: 27.92 kB / 0.9643 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/1.084, allocations: 196.8 kB / 0.9645 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/1.084, allocations: 37.98 kB / 0.9646 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.61e-05/1.085, allocations: 52.27 kB / 0.9646 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.085, allocations: 341.2 kB / 0.9649 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/1.085, allocations: 67.12 kB / 0.965 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/1.085, allocations: 186.5 kB / 0.9652 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/1.086, allocations: 240.4 kB / 0.9654 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.086, allocations: 2.188 kB / 0.9654 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005113/1.086, allocations: 252.8 kB / 0.9657 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/1.086, allocations: 11.52 kB / 0.9657 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.086, allocations: 3.906 kB / 0.9657 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/1.086, allocations: 5.969 kB / 0.9657 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/1.086, allocations: 50.19 kB / 0.9657 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/1.086, allocations: 15.11 kB / 0.9657 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/1.087, allocations: 37.62 kB / 0.9658 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/1.087, allocations: 13.62 kB / 0.9658 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002518/1.087, allocations: 168.8 kB / 0.966 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002684/1.087, allocations: 188.9 kB / 0.9661 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003761/1.088, allocations: 234.6 kB / 0.9664 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/1.088, allocations: 1.25 kB / 0.9664 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004691/1.088, allocations: 251.9 kB / 0.9666 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.088, allocations: 11.12 kB / 0.9666 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.088, allocations: 4.344 kB / 0.9666 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/1.088, allocations: 4.844 kB / 0.9666 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/1.088, allocations: 49.31 kB / 0.9667 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/1.088, allocations: 15.39 kB / 0.9667 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/1.089, allocations: 25.94 kB / 0.9667 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/1.089, allocations: 11.31 kB / 0.9667 GB, free: 12.12 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.0001484/1.089, allocations: 195.1 kB / 0.9669 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/1.089, allocations: 33.22 kB / 0.9669 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/1.089, allocations: 172 kB / 0.9671 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/1.089, allocations: 5.094 kB / 0.9671 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.089, allocations: 2.484 kB / 0.9671 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.089, allocations: 2.578 kB / 0.9671 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009503/1.09, allocations: 0.6039 MB / 0.9677 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.09, allocations: 3.562 kB / 0.9677 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/1.09, allocations: 30.34 kB / 0.9677 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/1.09, allocations: 2.344 kB / 0.9677 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/1.09, allocations: 3.375 kB / 0.9677 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/1.09, allocations: 2.25 kB / 0.9677 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.09, allocations: 2.562 kB / 0.9677 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/1.091, allocations: 310.4 kB / 0.968 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/1.091, allocations: 113.1 kB / 0.9681 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/1.091, allocations: 5.5 kB / 0.9681 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/1.091, allocations: 12.83 kB / 0.9682 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/1.091, allocations: 19.12 kB / 0.9682 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/1.091, allocations: 4.75 kB / 0.9682 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002788/1.092, allocations: 230.5 kB / 0.9684 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.092, allocations: 1.094 kB / 0.9684 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006528/1.092, allocations: 129.8 kB / 0.9685 GB, free: 11.07 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.0004159/1.093, allocations: 168.4 kB / 0.9687 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005879/1.093, allocations: 257.6 kB / 0.9689 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/1.093, allocations: 0 / 0.9689 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/1.094, allocations: 64.91 kB / 0.969 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008462/1.094, allocations: 122.3 kB / 0.9691 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009237/1.095, allocations: 0.506 MB / 0.9696 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/1.096, allocations: 0.7759 MB / 0.9704 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002908/1.096, allocations: 89.84 kB / 0.9704 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/1.096, allocations: 26.12 kB / 0.9705 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/1.096, allocations: 0 / 0.9705 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of Templates: time 0.01032/1.106, allocations: 4.869 MB / 0.9752 GB, free: 8.867 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)