Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009264/0.0009267, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001131/0.001131, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.598/1.598, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.0004977, allocations: 18.11 kB / 0.6735 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2435, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6172/0.8608, allocations: 141.8 MB / 0.9256 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006492/0.8673, allocations: 5.99 MB / 0.9314 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003498/0.8677, allocations: 11.06 kB / 0.9315 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008309/0.8685, allocations: 219.5 kB / 0.9317 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.87, allocations: 0.5096 MB / 0.9322 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.8712, allocations: 444.9 kB / 0.9326 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007329/0.872, allocations: 430.4 kB / 0.933 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.8724, allocations: 198.5 kB / 0.9332 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004611/0.8728, allocations: 259.7 kB / 0.9334 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.873, allocations: 132.9 kB / 0.9336 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.8731, allocations: 10.12 kB / 0.9336 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009208/0.874, allocations: 391.2 kB / 0.9339 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.8741, allocations: 90.09 kB / 0.934 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.105e-05/0.8742, allocations: 79.92 kB / 0.9341 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.8748, allocations: 338.7 kB / 0.9344 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.8748, allocations: 0.75 kB / 0.9344 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8748, allocations: 6.906 kB / 0.9344 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.8748, allocations: 0 / 0.9344 GB, free: 5.438 MB / 0.7169 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.001257/0.8761, allocations: 0.5757 MB / 0.935 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.8762, allocations: 11.72 kB / 0.935 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004151/0.8766, allocations: 62.16 kB / 0.9351 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/0.8771, allocations: 293.1 kB / 0.9353 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.8771, allocations: 22.41 kB / 0.9354 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.8772, allocations: 24.12 kB / 0.9354 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/0.8777, allocations: 302.7 kB / 0.9357 GB, free: 20.6 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.8777, allocations: 3.5 kB / 0.9357 GB, free: 20.6 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.8777, allocations: 11.06 kB / 0.9357 GB, free: 20.6 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.8777, allocations: 5.438 kB / 0.9357 GB, free: 20.6 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.8782, allocations: 189 kB / 0.9359 GB, free: 20.59 MB / 0.7325 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.001955/0.8802, allocations: 1.699 MB / 0.9375 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.8805, allocations: 105.9 kB / 0.9376 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-05/0.8805, allocations: 9.844 kB / 0.9376 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.8806, allocations: 33.16 kB / 0.9377 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.754e-06/0.8806, allocations: 0 / 0.9377 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.000767/0.8813, allocations: 244 kB / 0.9379 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.8814, allocations: 57.17 kB / 0.938 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.8818, allocations: 319.4 kB / 0.9383 GB, free: 19 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.8818, allocations: 30.17 kB / 0.9383 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.882, allocations: 198.1 kB / 0.9385 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.882, allocations: 38.97 kB / 0.9385 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.8821, allocations: 4.25 kB / 0.9385 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.8822, allocations: 338.5 kB / 0.9389 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.8824, allocations: 57.11 kB / 0.9389 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.8827, allocations: 202 kB / 0.9391 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.8829, allocations: 85.56 kB / 0.9392 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.8829, allocations: 3.25 kB / 0.9392 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005358/0.8834, allocations: 257.6 kB / 0.9394 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005003/0.8839, allocations: 1.405 MB / 0.9408 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.884, allocations: 4.312 kB / 0.9408 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.884, allocations: 6.156 kB / 0.9408 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.8842, allocations: 53.28 kB / 0.9409 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.8842, allocations: 9.844 kB / 0.9409 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.8845, allocations: 50.91 kB / 0.9409 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.8845, allocations: 17.17 kB / 0.9409 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.8846, allocations: 3.469 kB / 0.9409 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004139/0.885, allocations: 205.3 kB / 0.9411 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.885, allocations: 3.5 kB / 0.9411 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.885, allocations: 5.344 kB / 0.9411 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.8852, allocations: 47.98 kB / 0.9412 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.8852, allocations: 8.203 kB / 0.9412 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.8854, allocations: 40.27 kB / 0.9412 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.8855, allocations: 10.83 kB / 0.9412 GB, free: 16.78 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.8857, allocations: 235 kB / 0.9415 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.8857, allocations: 31.27 kB / 0.9415 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004081/0.8861, allocations: 178.9 kB / 0.9417 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.8862, allocations: 1.375 kB / 0.9417 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.8862, allocations: 0 / 0.9417 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.8862, allocations: 2.078 kB / 0.9417 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009643/0.8871, allocations: 0.618 MB / 0.9423 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.8872, allocations: 6.344 kB / 0.9423 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.8873, allocations: 31.92 kB / 0.9423 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.8873, allocations: 6 kB / 0.9423 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.8873, allocations: 3.031 kB / 0.9423 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.8873, allocations: 2.594 kB / 0.9423 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.8873, allocations: 6.828 kB / 0.9423 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.8878, allocations: 393.5 kB / 0.9427 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.8879, allocations: 118.3 kB / 0.9428 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.888, allocations: 7.719 kB / 0.9428 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.8882, allocations: 21.59 kB / 0.9428 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.8882, allocations: 15.34 kB / 0.9429 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.8883, allocations: 4.375 kB / 0.9429 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002829/0.8885, allocations: 225.9 kB / 0.9431 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8886, allocations: 4 kB / 0.9431 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007427/0.8893, allocations: 133.7 kB / 0.9432 GB, free: 15.62 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004776/0.8898, allocations: 159.3 kB / 0.9434 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007869/0.8906, allocations: 258.5 kB / 0.9436 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8906, allocations: 0.5 kB / 0.9436 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.8908, allocations: 72.06 kB / 0.9437 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008855/0.8917, allocations: 135.3 kB / 0.9438 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009949/0.8927, allocations: 0.5855 MB / 0.9444 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.8931, allocations: 0.7869 MB / 0.9452 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002915/0.8934, allocations: 90.11 kB / 0.9452 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.8935, allocations: 23.72 kB / 0.9453 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.8935, allocations: 1.125 kB / 0.9453 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.00907/0.9026, allocations: 4.594 MB / 0.9497 GB, free: 14.09 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) Environment - environmentSimulation: