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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 292.3 MB / 308.1 MB, free: 4.324 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.001523/0.001523, allocations: 190.2 kB / 376.9 MB, free: 1.883 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.604/1.604, allocations: 205 MB / 0.6353 GB, free: 9.859 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000943/0.0009429, allocations: 97.62 kB / 0.748 GB, free: 60.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 55.92 kB / 0.8704 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2703, allocations: 114.5 MB / 0.9822 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6923/0.9626, allocations: 167.2 MB / 1.146 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008218/0.9709, allocations: 7.344 MB / 1.153 GB, free: 7.367 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006567/0.9716, allocations: 15.09 kB / 1.153 GB, free: 7.359 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0007756/0.9724, allocations: 173.3 kB / 1.153 GB, free: 7.258 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.9742, allocations: 0.5423 MB / 1.153 GB, free: 6.977 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.9756, allocations: 384.9 kB / 1.154 GB, free: 6.785 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.9768, allocations: 1.028 MB / 1.155 GB, free: 6.434 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.9771, allocations: 219.1 kB / 1.155 GB, free: 6.355 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007269/0.9779, allocations: 352 kB / 1.155 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.9782, allocations: 229.2 kB / 1.156 GB, free: 6.117 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.9782, allocations: 12.12 kB / 1.156 GB, free: 6.117 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.9796, allocations: 0.7792 MB / 1.156 GB, free: 5.852 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.9798, allocations: 105.5 kB / 1.156 GB, free: 5.812 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.98, allocations: 157.8 kB / 1.157 GB, free: 5.723 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0008317/0.9808, allocations: 0.5798 MB / 1.157 GB, free: 5.52 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9808, allocations: 0 / 1.157 GB, free: 5.52 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.21e-07/0.9808, allocations: 0 / 1.157 GB, free: 5.52 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.9808, allocations: 4 kB / 1.157 GB, free: 5.516 MB / 0.7605 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.001018/0.9819, allocations: 0.6444 MB / 1.158 GB, free: 4.984 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.9819, allocations: 9.531 kB / 1.158 GB, free: 4.984 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003578/0.9823, allocations: 62.58 kB / 1.158 GB, free: 4.961 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.9827, allocations: 308.8 kB / 1.158 GB, free: 4.695 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.9827, allocations: 18.12 kB / 1.158 GB, free: 4.688 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.9828, allocations: 34.31 kB / 1.158 GB, free: 4.672 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.9833, allocations: 297.7 kB / 1.158 GB, free: 4.488 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.9833, allocations: 4 kB / 1.158 GB, free: 4.484 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.9833, allocations: 15.17 kB / 1.158 GB, free: 4.473 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.9834, allocations: 6.969 kB / 1.158 GB, free: 4.473 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003969/0.9838, allocations: 171.3 kB / 1.159 GB, free: 4.422 MB / 0.7605 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.001801/0.9856, allocations: 1.697 MB / 1.16 GB, free: 2.949 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.9859, allocations: 88.5 kB / 1.16 GB, free: 2.906 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.9861, allocations: 77.78 kB / 1.16 GB, free: 2.879 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/0.9864, allocations: 184.3 kB / 1.161 GB, free: 2.691 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.9864, allocations: 45.84 kB / 1.161 GB, free: 2.641 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.9864, allocations: 0 / 1.161 GB, free: 2.641 MB / 0.7605 GB Notification: Performance of matching and sorting (n=11): time 0.0007401/0.9872, allocations: 219.7 kB / 1.161 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.9872, allocations: 54.34 kB / 1.161 GB, free: 2.496 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.9876, allocations: 320 kB / 1.161 GB, free: 2.324 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.9877, allocations: 29.7 kB / 1.161 GB, free: 2.289 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.9879, allocations: 205.6 kB / 1.161 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.9879, allocations: 38.08 kB / 1.161 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.602e-05/0.988, allocations: 52.39 kB / 1.162 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.9882, allocations: 339.8 kB / 1.162 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.9884, allocations: 60.03 kB / 1.162 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.9887, allocations: 197.5 kB / 1.162 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.9891, allocations: 237 kB / 1.162 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9891, allocations: 5.125 kB / 1.162 GB, free: 1.328 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004846/0.9896, allocations: 251.7 kB / 1.163 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.9896, allocations: 6.344 kB / 1.163 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.9896, allocations: 11.47 kB / 1.163 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.9896, allocations: 7.125 kB / 1.163 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.9898, allocations: 47.42 kB / 1.163 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.9898, allocations: 3.281 kB / 1.163 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.9901, allocations: 44.11 kB / 1.163 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.9902, allocations: 14.47 kB / 1.163 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002497/0.9904, allocations: 172.7 kB / 1.163 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002487/0.9907, allocations: 195 kB / 1.163 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003507/0.991, allocations: 233.9 kB / 1.163 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.9911, allocations: 0.5625 kB / 1.163 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004734/0.9915, allocations: 250.8 kB / 1.164 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.9916, allocations: 18.44 kB / 1.164 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.9916, allocations: 4 kB / 1.164 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.938e-06/0.9916, allocations: 6.781 kB / 1.164 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.9917, allocations: 48.19 kB / 1.164 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.9917, allocations: 5.188 kB / 1.164 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.992, allocations: 30.45 kB / 1.164 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.992, allocations: 9.344 kB / 1.164 GB, free: 0.5664 MB / 0.7605 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.0001305/0.9922, allocations: 198.4 kB / 1.164 GB, free: 380 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.9922, allocations: 35.16 kB / 1.164 GB, free: 360 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/0.9926, allocations: 163.8 kB / 1.164 GB, free: 284 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.9926, allocations: 0 / 1.164 GB, free: 284 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.9927, allocations: 6.5 kB / 1.164 GB, free: 284 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.9927, allocations: 0 / 1.164 GB, free: 284 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.9937, allocations: 0.6187 MB / 1.165 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.9937, allocations: 0 / 1.165 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.9938, allocations: 26.73 kB / 1.165 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.9938, allocations: 3.281 kB / 1.165 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.9938, allocations: 3.781 kB / 1.165 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.9939, allocations: 7.156 kB / 1.165 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9939, allocations: 0 / 1.165 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008597/0.9947, allocations: 0.9407 MB / 1.166 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.9949, allocations: 124.3 kB / 1.166 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.9949, allocations: 3.719 kB / 1.166 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.9951, allocations: 16.62 kB / 1.166 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.9952, allocations: 16.88 kB / 1.166 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.9952, allocations: 3.812 kB / 1.166 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002307/0.9954, allocations: 226.4 kB / 1.166 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9955, allocations: 7.031 kB / 1.166 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009266/0.9964, allocations: 133.4 kB / 1.166 GB, free: 14.67 MB / 0.7761 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.0004119/0.9968, allocations: 159 kB / 1.166 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005639/0.9974, allocations: 258.5 kB / 1.166 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9974, allocations: 0 / 1.166 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.9975, allocations: 61.41 kB / 1.167 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000945/0.9985, allocations: 134.8 kB / 1.167 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.9995, allocations: 0.7289 MB / 1.167 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.9999, allocations: 0.7754 MB / 1.168 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000296/1, allocations: 91.61 kB / 1.168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/1, allocations: 23.59 kB / 1.168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of SimCode: time 8.12e-07/1, allocations: 3.938 kB / 1.168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.009297/1.01, allocations: 4.842 MB / 1.173 GB, free: 12.84 MB / 0.7761 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)