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.001156/0.001156, 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.001298/0.001298, allocations: 194.9 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.759/2.759, allocations: 472.6 MB / 0.7451 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.47 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3787, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1837/0.5625, allocations: 169.5 MB / 1.234 GB, free: 376 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009495/0.572, allocations: 7.319 MB / 1.241 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005833/0.5726, allocations: 11.94 kB / 1.241 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008348/0.5735, allocations: 218.6 kB / 1.241 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.5753, allocations: 0.5745 MB / 1.242 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.5766, allocations: 421.8 kB / 1.242 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001088/0.5777, allocations: 0.709 MB / 1.243 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005195/0.5782, allocations: 271 kB / 1.243 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008796/0.5791, allocations: 382.5 kB / 1.243 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/0.5795, allocations: 211.1 kB / 1.244 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.868e-05/0.5796, allocations: 23.94 kB / 1.244 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.5808, allocations: 0.7015 MB / 1.244 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.581, allocations: 111.7 kB / 1.244 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.5813, allocations: 155.2 kB / 1.244 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.5824, allocations: 0.557 MB / 1.245 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.5824, allocations: 4 kB / 1.245 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5824, allocations: 0 / 1.245 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.5824, allocations: 0 / 1.245 GB, free: 4.707 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.001105/0.5835, allocations: 0.6504 MB / 1.246 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.5836, allocations: 8.031 kB / 1.246 GB, free: 4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.584, allocations: 63.52 kB / 1.246 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.5845, allocations: 310 kB / 1.246 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.5845, allocations: 16.44 kB / 1.246 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.5846, allocations: 24 kB / 1.246 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.5851, allocations: 300.6 kB / 1.246 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5851, allocations: 0 / 1.246 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.5852, allocations: 19.92 kB / 1.246 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.5852, allocations: 4 kB / 1.246 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.5856, allocations: 183.5 kB / 1.247 GB, free: 3.02 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.001766/0.5874, allocations: 1.686 MB / 1.248 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.5877, allocations: 86.56 kB / 1.248 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.5879, allocations: 84.83 kB / 1.248 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/0.5882, allocations: 198.1 kB / 1.249 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.5882, allocations: 34.5 kB / 1.249 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.5882, allocations: 0 / 1.249 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0007166/0.5889, allocations: 221.2 kB / 1.249 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.589, allocations: 59.39 kB / 1.249 GB, free: 480 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.5893, allocations: 320.5 kB / 1.249 GB, free: 152 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.5893, allocations: 25.7 kB / 1.249 GB, free: 120 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.5711/1.16, allocations: 196.5 kB / 1.249 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.731e-05/1.161, allocations: 40.58 kB / 1.249 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/1.161, allocations: 46.78 kB / 1.249 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.161, allocations: 339.9 kB / 1.25 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/1.161, allocations: 64.81 kB / 1.25 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/1.161, allocations: 194.4 kB / 1.25 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/1.162, allocations: 233.6 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.162, allocations: 1.531 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006464/1.162, allocations: 260.9 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/1.162, allocations: 6.812 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1.162, allocations: 4.031 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/1.163, allocations: 4.75 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/1.163, allocations: 46.45 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/1.163, allocations: 5.766 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/1.163, allocations: 36.42 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/1.163, allocations: 17.69 kB / 1.251 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000271/1.163, allocations: 170.9 kB / 1.251 GB, free: 187 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002226/1.164, allocations: 196.9 kB / 1.251 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003545/1.164, allocations: 231.8 kB / 1.251 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.404e-06/1.164, allocations: 4.75 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005189/1.165, allocations: 247.7 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/1.165, allocations: 5.875 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/1.165, allocations: 8 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/1.165, allocations: 5.562 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/1.165, allocations: 49.59 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/1.165, allocations: 5.875 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/1.165, allocations: 33.86 kB / 1.252 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/1.165, allocations: 11.42 kB / 1.252 GB, free: 186.7 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.0001063/1.165, allocations: 195.7 kB / 1.252 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/1.165, allocations: 33.89 kB / 1.252 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000466/1.166, allocations: 171.7 kB / 1.252 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.166, allocations: 0.5312 kB / 1.252 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.166, allocations: 5.5 kB / 1.252 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.166, allocations: 0.5625 kB / 1.252 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/1.167, allocations: 0.6052 MB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.167, allocations: 3.25 kB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/1.167, allocations: 33.86 kB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/1.167, allocations: 3.344 kB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/1.167, allocations: 2.062 kB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/1.167, allocations: 3.344 kB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.167, allocations: 2.703 kB / 1.253 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004404/1.167, allocations: 312.5 kB / 1.253 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.536e-05/1.168, allocations: 120.9 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/1.168, allocations: 4.578 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/1.168, allocations: 15.33 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/1.168, allocations: 16.19 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/1.168, allocations: 8.594 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002815/1.168, allocations: 227.9 kB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.168, allocations: 0 / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006858/1.169, allocations: 130.9 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.0004376/1.169, allocations: 168.5 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007037/1.17, allocations: 246.1 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/1.17, allocations: 0.9688 kB / 1.254 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/1.17, allocations: 63.42 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.0008887/1.171, allocations: 130.5 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.0009702/1.172, allocations: 0.4933 MB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/1.172, allocations: 0.7753 MB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003459/1.173, allocations: 83.56 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.376e-05/1.173, allocations: 27.84 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/1.173, allocations: 4 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.01194/1.185, allocations: 4.878 MB / 1.26 GB, free: 184.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)