Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001155/0.001155, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001365/0.001365, allocations: 197.9 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.984/2.984, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001423, allocations: 61.62 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3655, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1945/0.56, allocations: 167.2 MB / 1.231 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.5704, allocations: 7.351 MB / 1.238 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006992/0.5712, allocations: 11.94 kB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009442/0.5721, allocations: 171 kB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.5741, allocations: 0.5447 MB / 1.239 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.5756, allocations: 372.8 kB / 1.239 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001532/0.5772, allocations: 1.033 MB / 1.24 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005652/0.5777, allocations: 228.6 kB / 1.24 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.5788, allocations: 350.6 kB / 1.241 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005401/0.5793, allocations: 231 kB / 1.241 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.341e-05/0.5794, allocations: 12 kB / 1.241 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.5809, allocations: 0.7833 MB / 1.242 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.5811, allocations: 95.7 kB / 1.242 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.5813, allocations: 159.1 kB / 1.242 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.5824, allocations: 0.5764 MB / 1.242 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5824, allocations: 0 / 1.242 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5824, allocations: 0 / 1.242 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.5825, allocations: 0 / 1.242 GB, free: 7.18 MB / 0.9981 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.001318/0.5838, allocations: 0.6465 MB / 1.243 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.5838, allocations: 12.03 kB / 1.243 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004562/0.5843, allocations: 67.52 kB / 1.243 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.5848, allocations: 310 kB / 1.243 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.5848, allocations: 16.44 kB / 1.243 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.5849, allocations: 24 kB / 1.243 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000548/0.5854, allocations: 304.6 kB / 1.244 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.5854, allocations: 4 kB / 1.244 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.5855, allocations: 11.94 kB / 1.244 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.5855, allocations: 8 kB / 1.244 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.5859, allocations: 179.5 kB / 1.244 GB, free: 5.488 MB / 0.9981 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.001825/0.5877, allocations: 1.686 MB / 1.246 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.588, allocations: 90.47 kB / 1.246 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.5882, allocations: 84.88 kB / 1.246 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/0.5885, allocations: 182.1 kB / 1.246 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.5886, allocations: 38.56 kB / 1.246 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.5886, allocations: 4 kB / 1.246 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0007216/0.5893, allocations: 221.1 kB / 1.246 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.5894, allocations: 55.41 kB / 1.246 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.5897, allocations: 324.5 kB / 1.247 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.5898, allocations: 33.64 kB / 1.247 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.5899, allocations: 195.9 kB / 1.247 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.59, allocations: 43.38 kB / 1.247 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.302e-05/0.5901, allocations: 53.61 kB / 1.247 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5902, allocations: 338.8 kB / 1.247 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.5904, allocations: 56.81 kB / 1.247 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.5906, allocations: 193.1 kB / 1.247 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/0.5911, allocations: 233.5 kB / 1.248 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5911, allocations: 0 / 1.248 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004883/0.5916, allocations: 256.9 kB / 1.248 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.5916, allocations: 8 kB / 1.248 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5916, allocations: 4.406 kB / 1.248 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.5916, allocations: 8 kB / 1.248 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.5918, allocations: 47.91 kB / 1.248 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.5919, allocations: 4 kB / 1.248 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.5922, allocations: 39.72 kB / 1.248 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.5922, allocations: 16 kB / 1.248 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003029/0.5925, allocations: 168.1 kB / 1.248 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002426/0.5928, allocations: 199.3 kB / 1.248 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00034/0.5931, allocations: 237.6 kB / 1.249 GB, free: 276 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.5931, allocations: 4 kB / 1.249 GB, free: 272 kB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004387/0.5936, allocations: 252.8 kB / 1.249 GB, free: 12 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.5936, allocations: 12.34 kB / 1.249 GB, free: 0 / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.36e-05/1.251, allocations: 1.312 kB / 1.249 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.251, allocations: 6.156 kB / 1.249 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/1.252, allocations: 43.45 kB / 1.249 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/1.252, allocations: 5.812 kB / 1.249 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/1.252, allocations: 29.48 kB / 1.249 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/1.252, allocations: 14.27 kB / 1.249 GB, free: 187.6 MB / 0.9981 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.0001513/1.252, allocations: 201 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/1.252, allocations: 34.11 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005132/1.253, allocations: 166.2 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.253, allocations: 1.75 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/1.253, allocations: 1.844 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.253, allocations: 0.8906 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/1.254, allocations: 0.6046 MB / 1.25 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/1.254, allocations: 2.188 kB / 1.25 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/1.254, allocations: 28.5 kB / 1.25 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/1.254, allocations: 2.312 kB / 1.25 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/1.254, allocations: 10.25 kB / 1.25 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/1.254, allocations: 2.75 kB / 1.25 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.254, allocations: 3.969 kB / 1.25 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/1.255, allocations: 309.6 kB / 1.25 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/1.255, allocations: 114.3 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/1.255, allocations: 10.83 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/1.255, allocations: 17.33 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/1.255, allocations: 21.38 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/1.255, allocations: 5.484 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003522/1.256, allocations: 225.6 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.256, allocations: 1 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008583/1.256, allocations: 131.9 kB / 1.251 GB, free: 186.7 MB / 0.9981 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.0005854/1.257, allocations: 160 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007253/1.258, allocations: 249.8 kB / 1.251 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.258, allocations: 3.875 kB / 1.251 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/1.258, allocations: 60.77 kB / 1.251 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/1.259, allocations: 143.9 kB / 1.251 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009595/1.26, allocations: 0.5826 MB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/1.26, allocations: 0.7753 MB / 1.253 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003212/1.261, allocations: 88.17 kB / 1.253 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/1.261, allocations: 24.89 kB / 1.253 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.261, allocations: 0.7188 kB / 1.253 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.01157/1.272, allocations: 4.761 MB / 1.257 GB, free: 185.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)