Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.677/1.677, allocations: 288.4 MB / 303.7 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 180.4 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 94.28 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005898/0.0005898, allocations: 13.81 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2754, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.758/1.033, allocations: 154 MB / 1.13 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.009642/1.043, allocations: 6.77 MB / 1.137 GB, free: 15.7 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007171/1.044, allocations: 14.09 kB / 1.137 GB, free: 15.69 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008994/1.045, allocations: 157.1 kB / 1.137 GB, free: 15.63 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001929/1.047, allocations: 0.4996 MB / 1.138 GB, free: 15.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/1.048, allocations: 362.7 kB / 1.138 GB, free: 15.35 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001308/1.05, allocations: 0.8689 MB / 1.139 GB, free: 15.2 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000526/1.05, allocations: 214.4 kB / 1.139 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009846/1.051, allocations: 336.5 kB / 1.139 GB, free: 15.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004783/1.052, allocations: 209.3 kB / 1.14 GB, free: 15 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.194e-05/1.052, allocations: 11.19 kB / 1.14 GB, free: 15 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/1.053, allocations: 0.7634 MB / 1.14 GB, free: 14.88 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001827/1.054, allocations: 95.91 kB / 1.141 GB, free: 14.86 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003006/1.054, allocations: 161.4 kB / 1.141 GB, free: 14.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007739/1.055, allocations: 406 kB / 1.141 GB, free: 14.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.055, allocations: 0 / 1.141 GB, free: 14.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.945e-06/1.055, allocations: 0 / 1.141 GB, free: 14.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.376e-05/1.055, allocations: 0 / 1.141 GB, free: 14.73 MB / 0.698 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.001141/1.056, allocations: 0.5876 MB / 1.142 GB, free: 14.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.056, allocations: 13.41 kB / 1.142 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004406/1.056, allocations: 66.55 kB / 1.142 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/1.057, allocations: 303.9 kB / 1.142 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/1.057, allocations: 19.75 kB / 1.142 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/1.057, allocations: 23 kB / 1.142 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006084/1.058, allocations: 309.1 kB / 1.142 GB, free: 13.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/1.058, allocations: 3.938 kB / 1.142 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/1.058, allocations: 20.72 kB / 1.142 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.058, allocations: 7.375 kB / 1.142 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/1.058, allocations: 179.8 kB / 1.143 GB, free: 13.82 MB / 0.698 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.001785/1.06, allocations: 1.718 MB / 1.144 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/1.06, allocations: 94.97 kB / 1.144 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/1.06, allocations: 90.28 kB / 1.144 GB, free: 12.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002777/1.061, allocations: 186.9 kB / 1.145 GB, free: 12.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/1.061, allocations: 37.06 kB / 1.145 GB, free: 12.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/1.061, allocations: 0 / 1.145 GB, free: 12.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0006546/1.061, allocations: 239.5 kB / 1.145 GB, free: 12.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/1.061, allocations: 54.53 kB / 1.145 GB, free: 11.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/1.062, allocations: 317.6 kB / 1.145 GB, free: 11.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/1.062, allocations: 32.23 kB / 1.145 GB, free: 11.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/1.062, allocations: 203.6 kB / 1.145 GB, free: 11.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/1.062, allocations: 33.81 kB / 1.145 GB, free: 11.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/1.062, allocations: 7.375 kB / 1.145 GB, free: 11.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.062, allocations: 341 kB / 1.146 GB, free: 11.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/1.062, allocations: 62.55 kB / 1.146 GB, free: 11.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/1.062, allocations: 199 kB / 1.146 GB, free: 11.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/1.063, allocations: 239.2 kB / 1.146 GB, free: 10.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.063, allocations: 3.062 kB / 1.146 GB, free: 10.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000465/1.063, allocations: 256.5 kB / 1.147 GB, free: 10.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/1.063, allocations: 191 kB / 1.147 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.063, allocations: 3.812 kB / 1.147 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.063, allocations: 4.906 kB / 1.147 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/1.064, allocations: 54.66 kB / 1.147 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/1.064, allocations: 8.719 kB / 1.147 GB, free: 10.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/1.064, allocations: 49.81 kB / 1.147 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/1.064, allocations: 12.28 kB / 1.147 GB, free: 10.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/1.064, allocations: 3.562 kB / 1.147 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003941/1.064, allocations: 207.3 kB / 1.147 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.064, allocations: 4 kB / 1.147 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.672e-06/1.064, allocations: 12.38 kB / 1.147 GB, free: 10.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/1.065, allocations: 52.31 kB / 1.147 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.065, allocations: 4.812 kB / 1.147 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/1.065, allocations: 44.09 kB / 1.147 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/1.065, allocations: 10.31 kB / 1.147 GB, free: 10.44 MB / 0.698 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.0001871/1.065, allocations: 238.1 kB / 1.147 GB, free: 10.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/1.065, allocations: 24.44 kB / 1.147 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000384/1.066, allocations: 184.4 kB / 1.148 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/1.066, allocations: 3.938 kB / 1.148 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.066, allocations: 6.344 kB / 1.148 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.066, allocations: 0 / 1.148 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009426/1.066, allocations: 0.6201 MB / 1.148 GB, free: 9.684 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.067, allocations: 2.469 kB / 1.148 GB, free: 9.684 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/1.067, allocations: 28.3 kB / 1.148 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/1.067, allocations: 1.938 kB / 1.148 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/1.067, allocations: 3.781 kB / 1.148 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/1.067, allocations: 11 kB / 1.148 GB, free: 9.672 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.067, allocations: 0.9688 kB / 1.148 GB, free: 9.672 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/1.067, allocations: 316.7 kB / 1.149 GB, free: 9.438 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/1.067, allocations: 113.1 kB / 1.149 GB, free: 9.324 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/1.067, allocations: 4.438 kB / 1.149 GB, free: 9.324 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/1.067, allocations: 25.58 kB / 1.149 GB, free: 9.312 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/1.068, allocations: 13.92 kB / 1.149 GB, free: 9.305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/1.068, allocations: 7.469 kB / 1.149 GB, free: 9.305 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000234/1.068, allocations: 221.5 kB / 1.149 GB, free: 9.195 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.068, allocations: 0 / 1.149 GB, free: 9.195 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000585/1.068, allocations: 134.3 kB / 1.149 GB, free: 9.18 MB / 0.698 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.0004014/1.069, allocations: 162.2 kB / 1.149 GB, free: 9.062 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005719/1.069, allocations: 260.8 kB / 1.149 GB, free: 8.996 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.069, allocations: 0 / 1.149 GB, free: 8.996 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/1.07, allocations: 74.78 kB / 1.149 GB, free: 8.977 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009655/1.071, allocations: 132 kB / 1.15 GB, free: 8.934 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009064/1.071, allocations: 0.5857 MB / 1.15 GB, free: 8.504 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/1.072, allocations: 0.7745 MB / 1.151 GB, free: 7.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003192/1.072, allocations: 86.47 kB / 1.151 GB, free: 7.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/1.072, allocations: 24.66 kB / 1.151 GB, free: 7.723 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.072, allocations: 0 / 1.151 GB, free: 7.723 MB / 0.698 GB Notification: Performance of Templates: time 0.01177/1.084, allocations: 4.678 MB / 1.156 GB, free: 5.422 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)