Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure") translateModel(BuildingSystems.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001516/0.001516, allocations: 103.7 kB / 16.41 MB, free: 6.508 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.001616/0.001616, allocations: 189.7 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002324/0.002324, allocations: 288.9 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.935/0.935, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003328/0.003328, allocations: 99.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4502, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.1826/0.6328, allocations: 169.5 MB / 0.9325 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00986/0.6427, allocations: 7.311 MB / 0.9397 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007518/0.6435, allocations: 11.94 kB / 0.9397 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0009586/0.6445, allocations: 218.5 kB / 0.9399 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.6465, allocations: 0.5677 MB / 0.9405 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.648, allocations: 439.5 kB / 0.9409 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.6493, allocations: 0.7051 MB / 0.9416 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005654/0.6499, allocations: 269.8 kB / 0.9418 GB, free: 292 kB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009282/0.6508, allocations: 382.5 kB / 0.9422 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004492/0.6513, allocations: 215 kB / 0.9424 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.98e-05/0.6514, allocations: 20 kB / 0.9424 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.6529, allocations: 0.7015 MB / 0.9431 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.6531, allocations: 111.7 kB / 0.9432 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.6533, allocations: 159.2 kB / 0.9434 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.6545, allocations: 0.5726 MB / 0.9439 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.6546, allocations: 0 / 0.9439 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6546, allocations: 3.938 kB / 0.9439 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.6546, allocations: 4 kB / 0.9439 GB, free: 14.13 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.001176/0.6558, allocations: 0.6387 MB / 0.9445 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.6558, allocations: 8.031 kB / 0.9446 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004509/0.6563, allocations: 75.42 kB / 0.9446 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006428/0.6569, allocations: 314.1 kB / 0.9449 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.657, allocations: 16.44 kB / 0.9449 GB, free: 13 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.657, allocations: 20 kB / 0.945 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/0.6576, allocations: 308.5 kB / 0.9453 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.6576, allocations: 4 kB / 0.9453 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.6576, allocations: 11.94 kB / 0.9453 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.6577, allocations: 8 kB / 0.9453 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003999/0.6581, allocations: 176.4 kB / 0.9454 GB, free: 12.45 MB / 0.7169 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.001989/0.6601, allocations: 1.69 MB / 0.9471 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.6603, allocations: 86.47 kB / 0.9472 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.6605, allocations: 80.89 kB / 0.9473 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002978/0.6608, allocations: 190.1 kB / 0.9474 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.6609, allocations: 38.56 kB / 0.9475 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.6609, allocations: 3.938 kB / 0.9475 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0007245/0.6616, allocations: 221.1 kB / 0.9477 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.6617, allocations: 59.34 kB / 0.9477 GB, free: 9.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.662, allocations: 320.5 kB / 0.948 GB, free: 9.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.6621, allocations: 29.7 kB / 0.9481 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.6622, allocations: 195.9 kB / 0.9483 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.6623, allocations: 35.45 kB / 0.9483 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.6624, allocations: 53.61 kB / 0.9483 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.6625, allocations: 346.8 kB / 0.9487 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.6627, allocations: 56.83 kB / 0.9487 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.6629, allocations: 196.2 kB / 0.9489 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.6633, allocations: 241.4 kB / 0.9492 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.6634, allocations: 0 / 0.9492 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005097/0.6639, allocations: 253 kB / 0.9494 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.6639, allocations: 8 kB / 0.9494 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.6639, allocations: 4 kB / 0.9494 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.6639, allocations: 4 kB / 0.9494 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.6641, allocations: 47.91 kB / 0.9495 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.6642, allocations: 7.938 kB / 0.9495 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.6644, allocations: 44.02 kB / 0.9495 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.6645, allocations: 16 kB / 0.9495 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002498/0.6647, allocations: 168.1 kB / 0.9497 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002623/0.665, allocations: 193 kB / 0.9499 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003626/0.6654, allocations: 237.5 kB / 0.9501 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.285e-06/0.6654, allocations: 0 / 0.9501 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004777/0.6659, allocations: 253 kB / 0.9503 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.6659, allocations: 7.938 kB / 0.9503 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6659, allocations: 4 kB / 0.9503 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.78e-06/0.6659, allocations: 4 kB / 0.9503 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.6661, allocations: 47.91 kB / 0.9504 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.6661, allocations: 7.938 kB / 0.9504 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.6664, allocations: 32.14 kB / 0.9504 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.6664, allocations: 15.98 kB / 0.9504 GB, free: 6.852 MB / 0.7169 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.0001344/0.6666, allocations: 196.2 kB / 0.9506 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.6666, allocations: 27.66 kB / 0.9507 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.667, allocations: 164.4 kB / 0.9508 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6671, allocations: 4 kB / 0.9508 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.6671, allocations: 3.938 kB / 0.9508 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6671, allocations: 0 / 0.9508 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.6681, allocations: 0.6171 MB / 0.9514 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.6681, allocations: 3.984 kB / 0.9514 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.6683, allocations: 27.98 kB / 0.9515 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.6683, allocations: 4 kB / 0.9515 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.6683, allocations: 0 / 0.9515 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.6683, allocations: 4 kB / 0.9515 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.6683, allocations: 11.88 kB / 0.9515 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.6687, allocations: 293.2 kB / 0.9518 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.6689, allocations: 116.7 kB / 0.9519 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.6689, allocations: 8 kB / 0.9519 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.6691, allocations: 7.984 kB / 0.9519 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.6692, allocations: 23.86 kB / 0.9519 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.6692, allocations: 4 kB / 0.9519 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002408/0.6694, allocations: 227 kB / 0.9521 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6695, allocations: 0 / 0.9521 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005987/0.6701, allocations: 127.8 kB / 0.9522 GB, free: 4.855 MB / 0.7169 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.0004795/0.6706, allocations: 183.8 kB / 0.9524 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006067/0.6712, allocations: 244.9 kB / 0.9527 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6712, allocations: 0 / 0.9527 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.6713, allocations: 67.83 kB / 0.9527 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007772/0.6721, allocations: 120.1 kB / 0.9528 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008758/0.673, allocations: 0.5221 MB / 0.9533 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.6734, allocations: 0.7756 MB / 0.9541 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.6735, allocations: 31.38 kB / 0.9541 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.6735, allocations: 0 / 0.9541 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of Templates: time 0.3594/1.033, allocations: 4.473 MB / 0.9585 GB, free: 189.7 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe 2>&1)