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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 289.7 MB / 302.3 MB, free: 2.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 183.2 kB / 371.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009705/0.0009704, allocations: 91.45 kB / 0.745 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.341e-05/3.371e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3167, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.922/6.239, allocations: 2.065 GB / 3.045 GB, free: 131.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/6.239, allocations: 87.12 kB / 3.045 GB, free: 131.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.206/7.446, allocations: 343.2 MB / 3.38 GB, free: 170.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.864e-06/7.446, allocations: 4 kB / 3.38 GB, free: 170.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.896e-05/7.446, allocations: 7.984 kB / 3.38 GB, free: 170.1 MB / 0.948 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.001045/7.447, allocations: 0.6719 MB / 3.381 GB, free: 169.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/7.447, allocations: 8.031 kB / 3.381 GB, free: 169.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000354/7.447, allocations: 58.86 kB / 3.381 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/7.448, allocations: 322.6 kB / 3.381 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/7.448, allocations: 20.44 kB / 3.381 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/7.448, allocations: 27.94 kB / 3.381 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/7.448, allocations: 277.5 kB / 3.382 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/7.448, allocations: 4 kB / 3.382 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/7.448, allocations: 4 kB / 3.382 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/7.448, allocations: 9.719 kB / 3.382 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/7.448, allocations: 143.8 kB / 3.382 GB, free: 168.5 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.001288/7.45, allocations: 1.721 MB / 3.384 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/7.45, allocations: 78.62 kB / 3.384 GB, free: 166.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.622e-05/7.45, allocations: 68.81 kB / 3.384 GB, free: 166.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/7.45, allocations: 186.2 kB / 3.384 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/7.45, allocations: 34.5 kB / 3.384 GB, free: 166.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/7.45, allocations: 0 / 3.384 GB, free: 166.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0003775/7.451, allocations: 153.3 kB / 3.384 GB, free: 166 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/7.451, allocations: 51.62 kB / 3.384 GB, free: 166 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/7.451, allocations: 278.7 kB / 3.384 GB, free: 165.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/7.451, allocations: 37.64 kB / 3.384 GB, free: 165.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/7.451, allocations: 191.8 kB / 3.385 GB, free: 165.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/7.451, allocations: 39.45 kB / 3.385 GB, free: 165.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/7.451, allocations: 4 kB / 3.385 GB, free: 165.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.833e-05/7.451, allocations: 342.8 kB / 3.385 GB, free: 165.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.797e-05/7.451, allocations: 39.98 kB / 3.385 GB, free: 165 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/7.451, allocations: 188.4 kB / 3.385 GB, free: 164.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.884e-05/7.451, allocations: 71.89 kB / 3.385 GB, free: 164.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/7.451, allocations: 0 / 3.385 GB, free: 164.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000267/7.452, allocations: 229 kB / 3.385 GB, free: 164.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000237/7.452, allocations: 1.406 MB / 3.387 GB, free: 163 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/7.452, allocations: 0 / 3.387 GB, free: 163 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/7.452, allocations: 8 kB / 3.387 GB, free: 163 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/7.452, allocations: 51.91 kB / 3.387 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/7.452, allocations: 8 kB / 3.387 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/7.452, allocations: 43.67 kB / 3.387 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/7.453, allocations: 11.98 kB / 3.387 GB, free: 162.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.292e-06/7.453, allocations: 4 kB / 3.387 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002034/7.453, allocations: 171.5 kB / 3.387 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/7.453, allocations: 4 kB / 3.387 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-06/7.453, allocations: 4 kB / 3.387 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/7.453, allocations: 51.92 kB / 3.387 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/7.453, allocations: 8.391 kB / 3.387 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/7.453, allocations: 39.83 kB / 3.387 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/7.453, allocations: 12 kB / 3.387 GB, free: 162.6 MB / 0.948 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 () * 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 6.117e-05/7.453, allocations: 128.8 kB / 3.387 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/7.453, allocations: 27.72 kB / 3.387 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/7.454, allocations: 145 kB / 3.387 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/7.454, allocations: 8 kB / 3.387 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/7.454, allocations: 3.984 kB / 3.388 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/7.454, allocations: 0 / 3.388 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/7.454, allocations: 0.5822 MB / 3.388 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/7.454, allocations: 0 / 3.388 GB, free: 161.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/7.454, allocations: 31.92 kB / 3.388 GB, free: 161.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/7.454, allocations: 0 / 3.388 GB, free: 161.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/7.454, allocations: 4 kB / 3.388 GB, free: 161.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/7.454, allocations: 7.953 kB / 3.388 GB, free: 161.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/7.454, allocations: 0 / 3.388 GB, free: 161.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/7.455, allocations: 370.6 kB / 3.388 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.143e-05/7.455, allocations: 108.8 kB / 3.389 GB, free: 161 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/7.455, allocations: 11.95 kB / 3.389 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/7.455, allocations: 31.83 kB / 3.389 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/7.455, allocations: 11.92 kB / 3.389 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.994e-06/7.455, allocations: 4 kB / 3.389 GB, free: 160.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001836/7.455, allocations: 226.2 kB / 3.389 GB, free: 160.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/7.455, allocations: 0 / 3.389 GB, free: 160.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009385/7.456, allocations: 247.8 kB / 3.389 GB, free: 160.4 MB / 0.948 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 () * 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.001457/7.458, allocations: 1.252 MB / 3.39 GB, free: 159.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003639/7.458, allocations: 219.5 kB / 3.391 GB, free: 159 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/7.458, allocations: 0 / 3.391 GB, free: 159 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.378e-05/7.458, allocations: 51.92 kB / 3.391 GB, free: 158.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007534/7.459, allocations: 137.4 kB / 3.391 GB, free: 158.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/7.459, allocations: 357.8 kB / 3.391 GB, free: 158.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/7.46, allocations: 0.7921 MB / 3.392 GB, free: 157.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003418/7.46, allocations: 110.8 kB / 3.392 GB, free: 157.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/7.46, allocations: 19.44 kB / 3.392 GB, free: 157.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/7.46, allocations: 0 / 3.392 GB, free: 157.4 MB / 0.948 GB Notification: Performance of Templates: time 0.02654/7.487, allocations: 23.69 MB / 3.415 GB, free: 133.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.makefile (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)