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.537/1.537, allocations: 252 MB / 268 MB, free: 10.85 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.001107/0.001107, allocations: 182.1 kB / 327.6 MB, free: 2.07 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0008643/0.0008643, allocations: 85.88 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003309, allocations: 13.31 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2341, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.7295/0.9637, allocations: 165.2 MB / 1.063 GB, free: 1.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007718/0.9715, allocations: 7.294 MB / 1.07 GB, free: 1.809 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003629/0.9719, allocations: 11.69 kB / 1.07 GB, free: 1.809 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006682/0.9726, allocations: 168.8 kB / 1.07 GB, free: 1.809 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.974, allocations: 0.5426 MB / 1.071 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.9752, allocations: 376.6 kB / 1.071 GB, free: 1.766 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.9764, allocations: 1.023 MB / 1.072 GB, free: 1.754 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003844/0.9768, allocations: 215.3 kB / 1.072 GB, free: 1.734 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007777/0.9776, allocations: 339.3 kB / 1.072 GB, free: 1.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.978, allocations: 223.2 kB / 1.073 GB, free: 1.727 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.9781, allocations: 9.938 kB / 1.073 GB, free: 1.727 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.9798, allocations: 0.7732 MB / 1.073 GB, free: 1.723 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.98, allocations: 90.09 kB / 1.074 GB, free: 1.723 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.9803, allocations: 168 kB / 1.074 GB, free: 17.69 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007407/0.9811, allocations: 397.1 kB / 1.074 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.9811, allocations: 1.422 kB / 1.074 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9811, allocations: 2.906 kB / 1.074 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.9811, allocations: 0.5625 kB / 1.074 GB, free: 17.65 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.0009091/0.982, allocations: 0.5795 MB / 1.075 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.9821, allocations: 9 kB / 1.075 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003697/0.9825, allocations: 58.02 kB / 1.075 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.9829, allocations: 298.2 kB / 1.075 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.9829, allocations: 18.48 kB / 1.075 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.983, allocations: 22.72 kB / 1.075 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005526/0.9836, allocations: 314.9 kB / 1.075 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.9836, allocations: 1.562 kB / 1.075 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.9836, allocations: 9.75 kB / 1.075 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.9836, allocations: 10.88 kB / 1.075 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004271/0.9841, allocations: 183.5 kB / 1.076 GB, free: 16.8 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.001873/0.9859, allocations: 1.704 MB / 1.077 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.9862, allocations: 97.75 kB / 1.077 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.9865, allocations: 87.09 kB / 1.077 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/0.9868, allocations: 187.2 kB / 1.078 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.9868, allocations: 37.05 kB / 1.078 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/0.9868, allocations: 0 / 1.078 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0007655/0.9876, allocations: 240.3 kB / 1.078 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.9876, allocations: 56.03 kB / 1.078 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.988, allocations: 311.2 kB / 1.078 GB, free: 15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.988, allocations: 27.44 kB / 1.078 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.9882, allocations: 198.8 kB / 1.078 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.9882, allocations: 35.61 kB / 1.078 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.9882, allocations: 4.562 kB / 1.078 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.9884, allocations: 339.1 kB / 1.079 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.9886, allocations: 62.05 kB / 1.079 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.9888, allocations: 188.6 kB / 1.079 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.9892, allocations: 242.4 kB / 1.079 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.9892, allocations: 4.812 kB / 1.079 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005377/0.9898, allocations: 264.2 kB / 1.079 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.801e-05/0.9899, allocations: 191 kB / 1.08 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.9899, allocations: 6.219 kB / 1.08 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.9899, allocations: 8.953 kB / 1.08 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.9901, allocations: 51.5 kB / 1.08 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.9901, allocations: 5.875 kB / 1.08 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.9904, allocations: 44.41 kB / 1.08 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.9905, allocations: 14.92 kB / 1.08 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.9905, allocations: 11.72 kB / 1.08 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004632/0.991, allocations: 206.7 kB / 1.08 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.991, allocations: 4.25 kB / 1.08 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/0.991, allocations: 5.125 kB / 1.08 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.9912, allocations: 47.69 kB / 1.08 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.9912, allocations: 8.266 kB / 1.08 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.9915, allocations: 39.52 kB / 1.08 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.9915, allocations: 13.95 kB / 1.08 GB, free: 13.91 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002711/0.9918, allocations: 232.7 kB / 1.08 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.9918, allocations: 31.88 kB / 1.08 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/0.9923, allocations: 183 kB / 1.08 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.9923, allocations: 0.875 kB / 1.08 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.9923, allocations: 6.281 kB / 1.081 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.9924, allocations: 0.6562 kB / 1.081 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.9935, allocations: 0.6048 MB / 1.081 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.9935, allocations: 1.875 kB / 1.081 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.9937, allocations: 34.23 kB / 1.081 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.9937, allocations: 1.906 kB / 1.081 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.9937, allocations: 6.469 kB / 1.081 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.9937, allocations: 2.578 kB / 1.081 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.9937, allocations: 14.55 kB / 1.081 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.9942, allocations: 311.5 kB / 1.081 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.9943, allocations: 121.9 kB / 1.082 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.9944, allocations: 4.141 kB / 1.082 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.9946, allocations: 17.34 kB / 1.082 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.9947, allocations: 18.33 kB / 1.082 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.9947, allocations: 5.141 kB / 1.082 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003023/0.995, allocations: 223.9 kB / 1.082 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.995, allocations: 1 kB / 1.082 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006756/0.9957, allocations: 134.5 kB / 1.082 GB, free: 12.86 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 (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.0004408/0.9961, allocations: 162.8 kB / 1.082 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007657/0.9969, allocations: 261.1 kB / 1.082 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.9969, allocations: 0.5 kB / 1.082 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.9971, allocations: 72.52 kB / 1.082 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009887/0.9981, allocations: 140.3 kB / 1.083 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000917/0.999, allocations: 0.6234 MB / 1.083 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.9994, allocations: 0.7725 MB / 1.084 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.9995, allocations: 26.72 kB / 1.084 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.9995, allocations: 0 / 1.084 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of Templates: time 0.007197/1.007, allocations: 4.285 MB / 1.088 GB, free: 11.29 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)