Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.267/2.267, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 180.4 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.344/2.344, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000916/0.0009158, allocations: 90.22 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.000498, allocations: 12.03 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2039, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.615/6.819, allocations: 2.182 GB / 3.082 GB, free: 3.828 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/6.819, allocations: 97.2 kB / 3.082 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.658/8.477, allocations: 331.8 MB / 3.406 GB, free: 36.43 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.144e-06/8.477, allocations: 4 kB / 3.406 GB, free: 36.42 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.18e-05/8.477, allocations: 4 kB / 3.406 GB, free: 36.42 MB / 0.8855 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.00157/8.479, allocations: 0.709 MB / 3.407 GB, free: 35.66 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/8.479, allocations: 11.97 kB / 3.407 GB, free: 35.64 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000462/8.479, allocations: 60.53 kB / 3.407 GB, free: 35.59 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000651/8.48, allocations: 315.4 kB / 3.407 GB, free: 35.24 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/8.48, allocations: 20.81 kB / 3.407 GB, free: 35.21 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/8.48, allocations: 24.38 kB / 3.407 GB, free: 35.19 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/8.481, allocations: 301.2 kB / 3.407 GB, free: 34.86 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/8.481, allocations: 7.875 kB / 3.407 GB, free: 34.85 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/8.481, allocations: 11.94 kB / 3.407 GB, free: 34.84 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/8.481, allocations: 4 kB / 3.407 GB, free: 34.84 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005906/8.481, allocations: 175.8 kB / 3.408 GB, free: 34.66 MB / 0.8855 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.002085/8.483, allocations: 1.709 MB / 3.409 GB, free: 32.83 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/8.484, allocations: 94.44 kB / 3.409 GB, free: 32.73 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/8.484, allocations: 88.77 kB / 3.409 GB, free: 32.64 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003558/8.484, allocations: 186.2 kB / 3.41 GB, free: 32.42 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/8.484, allocations: 34.55 kB / 3.41 GB, free: 32.38 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 3.146e-06/8.484, allocations: 0 / 3.41 GB, free: 32.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.001062/8.485, allocations: 241.1 kB / 3.41 GB, free: 32.14 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/8.486, allocations: 51.41 kB / 3.41 GB, free: 32.07 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/8.486, allocations: 308.5 kB / 3.41 GB, free: 31.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/8.486, allocations: 29.7 kB / 3.41 GB, free: 31.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/8.486, allocations: 203.7 kB / 3.41 GB, free: 31.53 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/8.486, allocations: 31.55 kB / 3.41 GB, free: 31.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/8.486, allocations: 4 kB / 3.41 GB, free: 31.49 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.171e-05/8.486, allocations: 338.8 kB / 3.411 GB, free: 31.15 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/8.487, allocations: 55.95 kB / 3.411 GB, free: 31.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/8.487, allocations: 193.1 kB / 3.411 GB, free: 30.85 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/8.487, allocations: 87.89 kB / 3.411 GB, free: 30.76 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/8.487, allocations: 0 / 3.411 GB, free: 30.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007401/8.488, allocations: 264.8 kB / 3.411 GB, free: 30.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.59e-05/8.488, allocations: 196 kB / 3.412 GB, free: 30.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/8.488, allocations: 0 / 3.412 GB, free: 30.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/8.488, allocations: 11.98 kB / 3.412 GB, free: 30.24 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/8.488, allocations: 47.91 kB / 3.412 GB, free: 30.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/8.488, allocations: 7.938 kB / 3.412 GB, free: 30.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/8.489, allocations: 51.66 kB / 3.412 GB, free: 30.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/8.489, allocations: 12 kB / 3.412 GB, free: 30.12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.138e-06/8.489, allocations: 4 kB / 3.412 GB, free: 30.12 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005927/8.49, allocations: 203.6 kB / 3.412 GB, free: 29.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/8.49, allocations: 7.938 kB / 3.412 GB, free: 29.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/8.49, allocations: 4 kB / 3.412 GB, free: 29.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/8.49, allocations: 52.31 kB / 3.412 GB, free: 29.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/8.49, allocations: 11.94 kB / 3.412 GB, free: 29.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/8.49, allocations: 39.75 kB / 3.412 GB, free: 29.81 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/8.491, allocations: 16 kB / 3.412 GB, free: 29.79 MB / 0.8855 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.0002309/8.491, allocations: 229 kB / 3.412 GB, free: 29.56 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.483e-05/8.491, allocations: 35.56 kB / 3.412 GB, free: 29.52 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005767/8.491, allocations: 176.2 kB / 3.412 GB, free: 29.34 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/8.491, allocations: 0 / 3.412 GB, free: 29.34 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/8.491, allocations: 0 / 3.412 GB, free: 29.34 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/8.491, allocations: 0 / 3.412 GB, free: 29.34 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/8.493, allocations: 0.621 MB / 3.413 GB, free: 28.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/8.493, allocations: 4 kB / 3.413 GB, free: 28.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/8.493, allocations: 27.98 kB / 3.413 GB, free: 28.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/8.493, allocations: 8 kB / 3.413 GB, free: 28.61 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/8.493, allocations: 0 / 3.413 GB, free: 28.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/8.493, allocations: 4 kB / 3.413 GB, free: 28.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/8.493, allocations: 4.156 kB / 3.413 GB, free: 28.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005378/8.494, allocations: 324.9 kB / 3.413 GB, free: 28.24 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/8.494, allocations: 112.8 kB / 3.413 GB, free: 28.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/8.494, allocations: 4 kB / 3.413 GB, free: 28.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/8.494, allocations: 19.98 kB / 3.414 GB, free: 28.09 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/8.494, allocations: 15.92 kB / 3.414 GB, free: 28.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/8.494, allocations: 4 kB / 3.414 GB, free: 28.07 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002818/8.495, allocations: 223 kB / 3.414 GB, free: 27.85 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-07/8.495, allocations: 0 / 3.414 GB, free: 27.85 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001292/8.496, allocations: 251.8 kB / 3.414 GB, free: 27.61 MB / 0.8855 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.002179/8.498, allocations: 1.25 MB / 3.415 GB, free: 26.32 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009991/8.499, allocations: 252.2 kB / 3.415 GB, free: 26.08 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/8.499, allocations: 0 / 3.415 GB, free: 26.08 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/8.499, allocations: 81.08 kB / 3.416 GB, free: 26 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/8.501, allocations: 129 kB / 3.416 GB, free: 25.88 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/8.502, allocations: 0.5682 MB / 3.416 GB, free: 25.25 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/8.502, allocations: 0.7797 MB / 3.417 GB, free: 24.44 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004879/8.503, allocations: 78.89 kB / 3.417 GB, free: 24.37 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.796e-05/8.503, allocations: 23.44 kB / 3.417 GB, free: 24.34 MB / 0.8855 GB Notification: Performance of SimCode: time 1.082e-06/8.503, allocations: 0 / 3.417 GB, free: 24.34 MB / 0.8855 GB Notification: Performance of Templates: time 0.04418/8.547, allocations: 19.71 MB / 3.436 GB, free: 4.672 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)