Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.397/1.397, allocations: 252 MB / 267.6 MB, free: 10.92 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.001127/0.001127, allocations: 180.7 kB / 327.3 MB, free: 2.211 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.075/2.075, allocations: 205.4 MB / 0.5783 GB, free: 20.53 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.001232/0.001232, allocations: 92.84 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003301, allocations: 20.97 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2189, allocations: 106.3 MB / 0.9008 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1647/0.3837, allocations: 154.1 MB / 1.051 GB, free: 5.777 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.5499/0.9337, allocations: 6.815 MB / 1.058 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005231/0.9342, allocations: 10.78 kB / 1.058 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007419/0.935, allocations: 152.1 kB / 1.058 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.9364, allocations: 441.9 kB / 1.059 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.9378, allocations: 353.4 kB / 1.059 GB, free: 4.375 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.9389, allocations: 0.8567 MB / 1.06 GB, free: 4.371 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004153/0.9393, allocations: 189.8 kB / 1.06 GB, free: 4.359 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007027/0.94, allocations: 312.9 kB / 1.06 GB, free: 4.355 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.9403, allocations: 211.5 kB / 1.06 GB, free: 4.352 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.793e-05/0.9404, allocations: 12.86 kB / 1.06 GB, free: 4.352 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.9416, allocations: 0.5249 MB / 1.061 GB, free: 4.344 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.9418, allocations: 97.62 kB / 1.061 GB, free: 4.344 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004353/0.9422, allocations: 79.55 kB / 1.061 GB, free: 20.31 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006993/0.9429, allocations: 377.4 kB / 1.061 GB, free: 20.28 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.943, allocations: 0 / 1.061 GB, free: 20.28 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.224e-06/0.943, allocations: 2.844 kB / 1.061 GB, free: 20.28 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.943, allocations: 0 / 1.061 GB, free: 20.28 MB / 0.7136 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.0009578/0.9439, allocations: 0.5814 MB / 1.062 GB, free: 19.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.944, allocations: 8.906 kB / 1.062 GB, free: 19.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003925/0.9444, allocations: 63.47 kB / 1.062 GB, free: 19.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.9449, allocations: 291.6 kB / 1.062 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.9449, allocations: 24.56 kB / 1.062 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.945, allocations: 21 kB / 1.062 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005409/0.9455, allocations: 299.7 kB / 1.063 GB, free: 19.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.9455, allocations: 2.906 kB / 1.063 GB, free: 19.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.9456, allocations: 15.41 kB / 1.063 GB, free: 19.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.9456, allocations: 7.906 kB / 1.063 GB, free: 19.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003973/0.946, allocations: 185.9 kB / 1.063 GB, free: 19.43 MB / 0.7136 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.001954/0.9479, allocations: 1.705 MB / 1.065 GB, free: 18.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.9482, allocations: 93.91 kB / 1.065 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.9484, allocations: 83.97 kB / 1.065 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003242/0.9488, allocations: 188.5 kB / 1.065 GB, free: 17.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.9488, allocations: 30.56 kB / 1.065 GB, free: 17.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.164e-06/0.9488, allocations: 9.422 kB / 1.065 GB, free: 17.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0007828/0.9496, allocations: 237.4 kB / 1.065 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.9497, allocations: 58.89 kB / 1.065 GB, free: 17.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003801/0.9501, allocations: 307.1 kB / 1.066 GB, free: 17.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.9501, allocations: 26.5 kB / 1.066 GB, free: 17.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.9503, allocations: 201.3 kB / 1.066 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.9503, allocations: 35.58 kB / 1.066 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.9503, allocations: 3.812 kB / 1.066 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.9505, allocations: 338.2 kB / 1.066 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.9507, allocations: 63.81 kB / 1.066 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.9509, allocations: 187.6 kB / 1.066 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.9511, allocations: 83.19 kB / 1.066 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.9511, allocations: 5.938 kB / 1.066 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005002/0.9517, allocations: 265.6 kB / 1.067 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.9518, allocations: 189.1 kB / 1.067 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.9518, allocations: 5.719 kB / 1.067 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.9518, allocations: 4.906 kB / 1.067 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.9521, allocations: 55.58 kB / 1.067 GB, free: 16.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.9521, allocations: 7.031 kB / 1.067 GB, free: 16.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.9524, allocations: 43.02 kB / 1.067 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.9525, allocations: 16.22 kB / 1.067 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.642e-06/0.9525, allocations: 2.969 kB / 1.067 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005278/0.953, allocations: 204.4 kB / 1.067 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.953, allocations: 7.156 kB / 1.067 GB, free: 16.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.953, allocations: 10.47 kB / 1.067 GB, free: 16.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.9532, allocations: 47.69 kB / 1.067 GB, free: 16.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.9532, allocations: 10.03 kB / 1.067 GB, free: 16.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.9535, allocations: 34.64 kB / 1.067 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.9535, allocations: 15.22 kB / 1.067 GB, free: 16.68 MB / 0.7136 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.0002789/0.9538, allocations: 232.6 kB / 1.068 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.9539, allocations: 27.62 kB / 1.068 GB, free: 16.47 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004921/0.9544, allocations: 180.4 kB / 1.068 GB, free: 16.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.9544, allocations: 9.812 kB / 1.068 GB, free: 16.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.9544, allocations: 0.7031 kB / 1.068 GB, free: 16.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.9544, allocations: 7.406 kB / 1.068 GB, free: 16.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.9555, allocations: 0.6089 MB / 1.068 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.9555, allocations: 1.562 kB / 1.068 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.9557, allocations: 26.16 kB / 1.068 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.9557, allocations: 7.156 kB / 1.068 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.9557, allocations: 2.938 kB / 1.068 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/0.9557, allocations: 7.094 kB / 1.068 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.9557, allocations: 1.969 kB / 1.068 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004995/0.9562, allocations: 314.3 kB / 1.069 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.9564, allocations: 111.4 kB / 1.069 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.9564, allocations: 10.34 kB / 1.069 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.9566, allocations: 20.19 kB / 1.069 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.9567, allocations: 14.81 kB / 1.069 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.9567, allocations: 10.77 kB / 1.069 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003171/0.9571, allocations: 217 kB / 1.069 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9571, allocations: 4 kB / 1.069 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007058/0.9578, allocations: 136.5 kB / 1.069 GB, free: 15.64 MB / 0.7136 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.0005426/0.9583, allocations: 162.3 kB / 1.069 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008132/0.9592, allocations: 255.3 kB / 1.07 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.9592, allocations: 0.875 kB / 1.07 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.9594, allocations: 72.22 kB / 1.07 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.9604, allocations: 136.3 kB / 1.07 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.9617, allocations: 0.6068 MB / 1.07 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.9621, allocations: 0.7722 MB / 1.071 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.275e-05/0.9622, allocations: 24.5 kB / 1.071 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/0.9623, allocations: 0 / 1.071 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of Templates: time 0.01136/0.9736, allocations: 4.307 MB / 1.075 GB, free: 14.08 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)