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.001472/0.001472, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001863/0.001863, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 472.6 MB / 0.7448 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.97 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3432, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.198/0.5413, allocations: 167.2 MB / 1.231 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009444/0.5507, allocations: 7.264 MB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006758/0.5515, allocations: 11.88 kB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008784/0.5523, allocations: 179 kB / 1.238 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.5542, allocations: 0.5408 MB / 1.239 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.5556, allocations: 398.1 kB / 1.239 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.5567, allocations: 0.705 MB / 1.24 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005218/0.5572, allocations: 263 kB / 1.24 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009559/0.5582, allocations: 378.5 kB / 1.24 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.5586, allocations: 231 kB / 1.241 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.565e-05/0.5586, allocations: 20 kB / 1.241 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.5598, allocations: 0.717 MB / 1.241 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.56, allocations: 107.7 kB / 1.241 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.5602, allocations: 155.2 kB / 1.242 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.5612, allocations: 0.5959 MB / 1.242 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5613, allocations: 0 / 1.242 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5613, allocations: 0 / 1.242 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.5613, allocations: 0 / 1.242 GB, free: 7.41 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.001052/0.5623, allocations: 0.6503 MB / 1.243 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.5624, allocations: 8.031 kB / 1.243 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000386/0.5628, allocations: 67.53 kB / 1.243 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.5632, allocations: 306.1 kB / 1.243 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.5632, allocations: 16.44 kB / 1.243 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.5633, allocations: 24 kB / 1.243 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.5638, allocations: 296.6 kB / 1.244 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5638, allocations: 3.938 kB / 1.244 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.5639, allocations: 15.94 kB / 1.244 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.5639, allocations: 4 kB / 1.244 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.5642, allocations: 183.5 kB / 1.244 GB, free: 5.727 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.001629/0.5659, allocations: 1.694 MB / 1.245 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.5662, allocations: 94.44 kB / 1.245 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.5663, allocations: 80.86 kB / 1.246 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/0.5666, allocations: 186.1 kB / 1.246 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.5667, allocations: 34.56 kB / 1.246 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.5667, allocations: 4 kB / 1.246 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.00066/0.5673, allocations: 221.1 kB / 1.246 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.5674, allocations: 51.41 kB / 1.246 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.5677, allocations: 324.5 kB / 1.246 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.5677, allocations: 29.7 kB / 1.246 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.5679, allocations: 199.8 kB / 1.247 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.5679, allocations: 43.39 kB / 1.247 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.399e-05/0.568, allocations: 53.61 kB / 1.247 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5681, allocations: 338.8 kB / 1.247 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.5683, allocations: 56.83 kB / 1.247 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.5686, allocations: 196 kB / 1.247 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.5689, allocations: 233.4 kB / 1.247 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5689, allocations: 4 kB / 1.247 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004504/0.5694, allocations: 257 kB / 1.248 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5694, allocations: 5.719 kB / 1.248 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5694, allocations: 4.406 kB / 1.248 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.5694, allocations: 12 kB / 1.248 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.5696, allocations: 51.91 kB / 1.248 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.5696, allocations: 11.94 kB / 1.248 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.5699, allocations: 31.73 kB / 1.248 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.5699, allocations: 12 kB / 1.248 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002136/0.5702, allocations: 172.1 kB / 1.248 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002396/0.5704, allocations: 196.9 kB / 1.248 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003295/0.5707, allocations: 233.4 kB / 1.248 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.5708, allocations: 4 kB / 1.248 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004228/0.5712, allocations: 244.9 kB / 1.249 GB, free: 256 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.5712, allocations: 12.34 kB / 1.249 GB, free: 244 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-06/0.5712, allocations: 4 kB / 1.249 GB, free: 240 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.5712, allocations: 11.98 kB / 1.249 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.5714, allocations: 39.92 kB / 1.249 GB, free: 188 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5714, allocations: 8 kB / 1.249 GB, free: 180 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.5716, allocations: 35.81 kB / 1.249 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.5717, allocations: 12 kB / 1.249 GB, free: 132 kB / 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.7183/1.29, allocations: 193.3 kB / 1.249 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/1.29, allocations: 29.06 kB / 1.249 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006012/1.291, allocations: 171 kB / 1.249 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.291, allocations: 2.562 kB / 1.249 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.291, allocations: 1.266 kB / 1.249 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.291, allocations: 0.5156 kB / 1.249 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/1.292, allocations: 0.6051 MB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.292, allocations: 3.188 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/1.292, allocations: 29.73 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/1.292, allocations: 2.906 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/1.292, allocations: 6.953 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/1.292, allocations: 2.719 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.292, allocations: 6.969 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/1.293, allocations: 302.6 kB / 1.25 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/1.293, allocations: 119.2 kB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/1.293, allocations: 3.641 kB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/1.293, allocations: 20.56 kB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/1.293, allocations: 18.95 kB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/1.293, allocations: 5.188 kB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002892/1.293, allocations: 228.1 kB / 1.25 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.293, allocations: 0 / 1.25 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007212/1.294, allocations: 130.6 kB / 1.251 GB, free: 186.1 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.0004824/1.295, allocations: 177.2 kB / 1.251 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007396/1.295, allocations: 245.4 kB / 1.251 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.295, allocations: 0 / 1.251 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/1.296, allocations: 67.27 kB / 1.251 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009897/1.297, allocations: 125 kB / 1.251 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/1.298, allocations: 0.5744 MB / 1.252 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/1.298, allocations: 0.7771 MB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003815/1.298, allocations: 86.3 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/1.298, allocations: 24.78 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.172e-06/1.298, allocations: 3.656 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.01304/1.312, allocations: 4.806 MB / 1.257 GB, free: 184.7 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)