Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001418/0.001418, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001878/0.001878, allocations: 199.8 kB / 16.14 MB, free: 6.801 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 472.6 MB / 0.7447 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 65.83 kB / 0.9113 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3697, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1848/0.5546, allocations: 167.2 MB / 1.231 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009809/0.5644, allocations: 7.338 MB / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000914/0.5654, allocations: 11.88 kB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009618/0.5664, allocations: 179 kB / 1.238 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.5681, allocations: 0.5369 MB / 1.239 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.5694, allocations: 385.8 kB / 1.239 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.5707, allocations: 1.029 MB / 1.24 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.5712, allocations: 230.4 kB / 1.24 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000798/0.572, allocations: 346.6 kB / 1.241 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.5723, allocations: 231 kB / 1.241 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.5724, allocations: 12 kB / 1.241 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.5739, allocations: 0.7794 MB / 1.242 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.574, allocations: 99.67 kB / 1.242 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.5742, allocations: 155.2 kB / 1.242 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008024/0.575, allocations: 0.5842 MB / 1.242 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.575, allocations: 4 kB / 1.242 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.575, allocations: 3.938 kB / 1.242 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.5751, allocations: 0 / 1.242 GB, free: 7.188 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.0009813/0.576, allocations: 0.6426 MB / 1.243 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.5761, allocations: 8.031 kB / 1.243 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003732/0.5765, allocations: 67.52 kB / 1.243 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.5769, allocations: 306.1 kB / 1.243 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.5769, allocations: 20.44 kB / 1.243 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.5769, allocations: 24 kB / 1.243 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.5775, allocations: 304.5 kB / 1.244 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.5775, allocations: 0 / 1.244 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.5775, allocations: 11.94 kB / 1.244 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.5775, allocations: 4 kB / 1.244 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.5779, allocations: 179.5 kB / 1.244 GB, free: 5.512 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.001716/0.5796, allocations: 1.698 MB / 1.246 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.5799, allocations: 82.56 kB / 1.246 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.5801, allocations: 80.86 kB / 1.246 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/0.5804, allocations: 190.1 kB / 1.246 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.5804, allocations: 38.5 kB / 1.246 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.5804, allocations: 0 / 1.246 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0006857/0.5811, allocations: 221.1 kB / 1.246 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.5812, allocations: 55.41 kB / 1.246 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.5815, allocations: 324.5 kB / 1.247 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.5815, allocations: 33.7 kB / 1.247 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.5817, allocations: 187.9 kB / 1.247 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.5817, allocations: 47.39 kB / 1.247 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.97e-05/0.5818, allocations: 49.61 kB / 1.247 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5819, allocations: 334.8 kB / 1.247 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.5821, allocations: 68.81 kB / 1.247 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.5824, allocations: 191.9 kB / 1.247 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.5827, allocations: 233.5 kB / 1.248 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5827, allocations: 7.938 kB / 1.248 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004688/0.5832, allocations: 253.3 kB / 1.248 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5832, allocations: 4 kB / 1.248 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5833, allocations: 7.938 kB / 1.248 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.5833, allocations: 4 kB / 1.248 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.5835, allocations: 47.97 kB / 1.248 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.5835, allocations: 11.94 kB / 1.248 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.5838, allocations: 35.72 kB / 1.248 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.5838, allocations: 12 kB / 1.248 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000251/0.5841, allocations: 176.8 kB / 1.248 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002324/0.5843, allocations: 196.9 kB / 1.248 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003295/0.5847, allocations: 233.5 kB / 1.249 GB, free: 296 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.043e-06/0.5847, allocations: 3.938 kB / 1.249 GB, free: 292 kB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004374/0.5851, allocations: 253.1 kB / 1.249 GB, free: 32 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.5852, allocations: 9.5 kB / 1.249 GB, free: 24 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5852, allocations: 4 kB / 1.249 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-06/0.5852, allocations: 8 kB / 1.249 GB, free: 12 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.6935/1.279, allocations: 41.64 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/1.279, allocations: 9.766 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/1.279, allocations: 29.47 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/1.279, allocations: 14.94 kB / 1.249 GB, free: 187.2 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.0001331/1.279, allocations: 195.7 kB / 1.249 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/1.279, allocations: 32.09 kB / 1.249 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005232/1.28, allocations: 167.1 kB / 1.249 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.28, allocations: 3.469 kB / 1.249 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.28, allocations: 1.969 kB / 1.249 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.28, allocations: 4.859 kB / 1.249 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009798/1.281, allocations: 0.6065 MB / 1.25 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/1.281, allocations: 7.094 kB / 1.25 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/1.281, allocations: 23.66 kB / 1.25 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.281, allocations: 4.094 kB / 1.25 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/1.281, allocations: 7.531 kB / 1.25 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/1.281, allocations: 7.719 kB / 1.25 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.281, allocations: 2.469 kB / 1.25 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/1.282, allocations: 299.4 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.451e-05/1.282, allocations: 116.7 kB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/1.282, allocations: 6.609 kB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/1.282, allocations: 24.52 kB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/1.282, allocations: 12.36 kB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/1.282, allocations: 4.719 kB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002533/1.282, allocations: 231.4 kB / 1.251 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.282, allocations: 0 / 1.251 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006247/1.283, allocations: 130.5 kB / 1.251 GB, free: 186.2 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.0004124/1.283, allocations: 168.5 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006391/1.284, allocations: 242.9 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.284, allocations: 4.906 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/1.284, allocations: 63.61 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009697/1.285, allocations: 141 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008169/1.286, allocations: 0.5788 MB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/1.286, allocations: 0.777 MB / 1.253 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003062/1.287, allocations: 88.02 kB / 1.253 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/1.287, allocations: 25.31 kB / 1.253 GB, free: 185 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/1.287, allocations: 3.938 kB / 1.253 GB, free: 185 MB / 0.9981 GB Notification: Performance of Templates: time 0.01129/1.298, allocations: 4.757 MB / 1.257 GB, free: 184.8 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)