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.001254/0.001254, allocations: 104.3 kB / 16.37 MB, free: 6.48 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.001354/0.001354, allocations: 193.1 kB / 17.31 MB, free: 5.82 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002258/0.002258, allocations: 283.3 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9362/0.9362, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 98.75 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.171, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.4909/0.662, allocations: 169.4 MB / 0.8471 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00815/0.6702, allocations: 7.315 MB / 0.8542 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005665/0.6708, allocations: 15.88 kB / 0.8542 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007176/0.6716, allocations: 214.6 kB / 0.8544 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.673, allocations: 0.5677 MB / 0.855 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.6742, allocations: 435.5 kB / 0.8554 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008385/0.6751, allocations: 0.7167 MB / 0.8561 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004173/0.6755, allocations: 264 kB / 0.8564 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006508/0.6761, allocations: 382.5 kB / 0.8567 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.6764, allocations: 215 kB / 0.8569 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.6765, allocations: 20 kB / 0.8569 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.6775, allocations: 0.7016 MB / 0.8576 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.6777, allocations: 107.6 kB / 0.8577 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.6778, allocations: 159.2 kB / 0.8579 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007297/0.6786, allocations: 0.5751 MB / 0.8584 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6786, allocations: 0 / 0.8584 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6786, allocations: 0 / 0.8584 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.6786, allocations: 0 / 0.8584 GB, free: 9.418 MB / 0.6231 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.0008755/0.6795, allocations: 0.6511 MB / 0.8591 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.6795, allocations: 8.031 kB / 0.8591 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/0.6799, allocations: 59.53 kB / 0.8591 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.6804, allocations: 330.1 kB / 0.8595 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.6804, allocations: 12.44 kB / 0.8595 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.6805, allocations: 24 kB / 0.8595 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.6809, allocations: 300.6 kB / 0.8598 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.681, allocations: 4 kB / 0.8598 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.681, allocations: 11.94 kB / 0.8598 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.681, allocations: 9.188 kB / 0.8598 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.6814, allocations: 176.1 kB / 0.86 GB, free: 7.727 MB / 0.6231 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.001603/0.683, allocations: 1.694 MB / 0.8616 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.6832, allocations: 86.56 kB / 0.8617 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.6834, allocations: 88.78 kB / 0.8618 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.6837, allocations: 182.2 kB / 0.862 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.6837, allocations: 42.44 kB / 0.862 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.6837, allocations: 0 / 0.862 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.0006455/0.6844, allocations: 223.7 kB / 0.8622 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.6844, allocations: 51.41 kB / 0.8623 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.6847, allocations: 328.4 kB / 0.8626 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.6847, allocations: 25.7 kB / 0.8626 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.6849, allocations: 195.8 kB / 0.8628 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.6849, allocations: 47.38 kB / 0.8628 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.685, allocations: 49.7 kB / 0.8629 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6851, allocations: 338.8 kB / 0.8632 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.6853, allocations: 60.81 kB / 0.8633 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.6855, allocations: 193.9 kB / 0.8635 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.6859, allocations: 233.5 kB / 0.8637 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6859, allocations: 0 / 0.8637 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004516/0.6864, allocations: 264.8 kB / 0.8639 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.6864, allocations: 11.94 kB / 0.8639 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.6864, allocations: 3.625 kB / 0.8639 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.6864, allocations: 8 kB / 0.864 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.6866, allocations: 48.31 kB / 0.864 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.6866, allocations: 8.547 kB / 0.864 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.6869, allocations: 35.67 kB / 0.864 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.6869, allocations: 15.98 kB / 0.8641 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002214/0.6871, allocations: 168.1 kB / 0.8642 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002217/0.6874, allocations: 196.9 kB / 0.8644 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000327/0.6877, allocations: 229.6 kB / 0.8646 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.6877, allocations: 4 kB / 0.8646 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000429/0.6882, allocations: 252.9 kB / 0.8649 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.627e-06/0.6882, allocations: 7.938 kB / 0.8649 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.6882, allocations: 4 kB / 0.8649 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.258e-06/0.6882, allocations: 4 kB / 0.8649 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.6884, allocations: 48.33 kB / 0.8649 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.6884, allocations: 11.98 kB / 0.8649 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.6886, allocations: 27.83 kB / 0.865 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.6886, allocations: 12 kB / 0.865 GB, free: 2.137 MB / 0.6231 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.0001053/0.6887, allocations: 192.2 kB / 0.8652 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.6888, allocations: 35.56 kB / 0.8652 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/0.6891, allocations: 168.3 kB / 0.8654 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6892, allocations: 8 kB / 0.8654 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6892, allocations: 0 / 0.8654 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.6892, allocations: 3.984 kB / 0.8654 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008531/0.69, allocations: 0.6015 MB / 0.866 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.69, allocations: 0 / 0.866 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.6902, allocations: 23.98 kB / 0.866 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.6902, allocations: 7.938 kB / 0.866 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.6902, allocations: 4 kB / 0.866 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.6902, allocations: 4 kB / 0.866 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.6902, allocations: 3.984 kB / 0.866 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.6906, allocations: 309.2 kB / 0.8663 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.6907, allocations: 109 kB / 0.8664 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.6907, allocations: 9.125 kB / 0.8664 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.6909, allocations: 7.984 kB / 0.8664 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.691, allocations: 23.91 kB / 0.8664 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.691, allocations: 7.938 kB / 0.8664 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002066/0.6912, allocations: 231 kB / 0.8667 GB, free: 276 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6912, allocations: 0 / 0.8667 GB, free: 276 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005274/0.6918, allocations: 131.8 kB / 0.8668 GB, free: 144 kB / 0.6231 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.0003618/0.6921, allocations: 168 kB / 0.867 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005359/0.6927, allocations: 248 kB / 0.8672 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6927, allocations: 0 / 0.8672 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.6928, allocations: 61.09 kB / 0.8672 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006709/0.6935, allocations: 128.5 kB / 0.8674 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/0.6942, allocations: 0.5053 MB / 0.8679 GB, free: 15 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.6946, allocations: 0.7717 MB / 0.8686 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000229/0.6948, allocations: 91.47 kB / 0.8687 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.6949, allocations: 23.44 kB / 0.8687 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.6949, allocations: 0 / 0.8687 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of Templates: time 0.008765/0.7037, allocations: 4.87 MB / 0.8735 GB, free: 9.312 MB / 0.6387 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe 2>&1)