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.001409/0.001409, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001875, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 62.36 kB / 0.912 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3951, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2857/0.6809, allocations: 169.5 MB / 1.234 GB, free: 340 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008911/0.6899, allocations: 7.312 MB / 1.241 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004913/0.6904, allocations: 11.94 kB / 1.241 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000688/0.6911, allocations: 218.5 kB / 1.241 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.6926, allocations: 0.5716 MB / 1.242 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.6938, allocations: 434.1 kB / 1.242 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009193/0.6947, allocations: 0.6973 MB / 1.243 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004324/0.6952, allocations: 275 kB / 1.243 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007066/0.6959, allocations: 382.5 kB / 1.243 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.6962, allocations: 219 kB / 1.244 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.6962, allocations: 20 kB / 1.244 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.6975, allocations: 0.6976 MB / 1.244 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.6976, allocations: 111.6 kB / 1.244 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.6978, allocations: 163.1 kB / 1.244 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008066/0.6986, allocations: 0.5531 MB / 1.245 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6987, allocations: 4 kB / 1.245 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6987, allocations: 0 / 1.245 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.6987, allocations: 0 / 1.245 GB, free: 4.672 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.0008879/0.6996, allocations: 0.6503 MB / 1.246 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.6996, allocations: 12.03 kB / 1.246 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003491/0.7, allocations: 59.53 kB / 1.246 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.7004, allocations: 314 kB / 1.246 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.7004, allocations: 16.44 kB / 1.246 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.7005, allocations: 24 kB / 1.246 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/0.701, allocations: 296.6 kB / 1.246 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.701, allocations: 3.938 kB / 1.246 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.701, allocations: 19.92 kB / 1.246 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.701, allocations: 8 kB / 1.246 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.7014, allocations: 175.5 kB / 1.247 GB, free: 2.984 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.001623/0.7031, allocations: 1.686 MB / 1.248 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.7033, allocations: 94.5 kB / 1.248 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.7035, allocations: 76.8 kB / 1.248 GB, free: 1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.7038, allocations: 198.1 kB / 1.249 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.7038, allocations: 30.56 kB / 1.249 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.684e-06/0.7038, allocations: 0 / 1.249 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0006997/0.7045, allocations: 221.2 kB / 1.249 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.7046, allocations: 55.41 kB / 1.249 GB, free: 452 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.7049, allocations: 320.5 kB / 1.249 GB, free: 124 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.7049, allocations: 33.69 kB / 1.249 GB, free: 84 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.6029/1.308, allocations: 187.8 kB / 1.249 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/1.308, allocations: 40.89 kB / 1.249 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/1.308, allocations: 49.84 kB / 1.249 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.571e-05/1.308, allocations: 340.9 kB / 1.25 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/1.308, allocations: 59.8 kB / 1.25 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/1.309, allocations: 194.2 kB / 1.25 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/1.309, allocations: 236 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.309, allocations: 0.8438 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005464/1.31, allocations: 257.9 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/1.31, allocations: 6.906 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.31, allocations: 3.281 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/1.31, allocations: 5.5 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/1.31, allocations: 47.86 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/1.31, allocations: 12.36 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/1.31, allocations: 36.05 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/1.31, allocations: 18.2 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002428/1.311, allocations: 167.1 kB / 1.251 GB, free: 187 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002225/1.311, allocations: 198.9 kB / 1.251 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003291/1.311, allocations: 238.4 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/1.311, allocations: 0.8438 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004689/1.312, allocations: 248.4 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/1.312, allocations: 6.625 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.312, allocations: 5.578 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/1.312, allocations: 4.219 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/1.312, allocations: 45.56 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.312, allocations: 13.88 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/1.312, allocations: 33.59 kB / 1.252 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/1.312, allocations: 14 kB / 1.252 GB, free: 186.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 8.444e-05/1.312, allocations: 194 kB / 1.252 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/1.312, allocations: 33.33 kB / 1.252 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/1.313, allocations: 162.3 kB / 1.252 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.313, allocations: 6.031 kB / 1.252 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.313, allocations: 3.719 kB / 1.252 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.313, allocations: 5.078 kB / 1.252 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009277/1.314, allocations: 0.6114 MB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.314, allocations: 2.094 kB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/1.314, allocations: 27.78 kB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/1.314, allocations: 3.312 kB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/1.314, allocations: 2.469 kB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/1.314, allocations: 3.203 kB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.314, allocations: 6.453 kB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/1.314, allocations: 302 kB / 1.253 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.246e-05/1.314, allocations: 118.1 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/1.314, allocations: 5.859 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/1.315, allocations: 13.31 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/1.315, allocations: 18.61 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/1.315, allocations: 10.61 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002366/1.315, allocations: 230 kB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.315, allocations: 0.9688 kB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006345/1.316, allocations: 125.4 kB / 1.253 GB, free: 185.6 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.0004964/1.316, allocations: 171.4 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006788/1.317, allocations: 247.4 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.317, allocations: 0 / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/1.317, allocations: 69.09 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008651/1.318, allocations: 123 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008457/1.319, allocations: 499.6 kB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/1.319, allocations: 0.779 MB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003155/1.319, allocations: 87.14 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/1.319, allocations: 24.95 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/1.319, allocations: 3.938 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.01042/1.33, allocations: 4.88 MB / 1.26 GB, free: 184.2 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)