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.001323/0.001323, allocations: 111.5 kB / 16.41 MB, free: 6.504 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.001263/0.001263, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00264/0.00264, allocations: 288.8 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002833/0.002833, allocations: 100.2 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.4613, allocations: 86.99 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.2008/0.6622, allocations: 169.9 MB / 0.933 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00941/0.6716, allocations: 7.323 MB / 0.9401 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005112/0.6721, allocations: 15.88 kB / 0.9402 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007182/0.6728, allocations: 222.6 kB / 0.9404 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.6743, allocations: 0.5951 MB / 0.9409 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.6756, allocations: 439.4 kB / 0.9414 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009471/0.6765, allocations: 0.705 MB / 0.9421 GB, free: 28 kB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003981/0.6769, allocations: 227.1 kB / 0.9423 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006894/0.6776, allocations: 390.5 kB / 0.9426 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.6779, allocations: 211.1 kB / 0.9428 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.35e-05/0.6779, allocations: 20 kB / 0.9429 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.6791, allocations: 0.7094 MB / 0.9436 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.6792, allocations: 111.6 kB / 0.9437 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.6794, allocations: 163.2 kB / 0.9438 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008708/0.6803, allocations: 0.578 MB / 0.9444 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6803, allocations: 0 / 0.9444 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6803, allocations: 0 / 0.9444 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.6803, allocations: 0 / 0.9444 GB, free: 13.64 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.001005/0.6813, allocations: 0.6614 MB / 0.945 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.6813, allocations: 8.031 kB / 0.945 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000358/0.6817, allocations: 63.72 kB / 0.9451 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.6822, allocations: 326.2 kB / 0.9454 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.6822, allocations: 20.44 kB / 0.9454 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.6822, allocations: 24 kB / 0.9454 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005065/0.6828, allocations: 300.6 kB / 0.9457 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.6828, allocations: 0 / 0.9457 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.6828, allocations: 11.94 kB / 0.9457 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.6828, allocations: 8 kB / 0.9458 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.6832, allocations: 180.3 kB / 0.9459 GB, free: 11.94 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.00181/0.685, allocations: 1.69 MB / 0.9476 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.6853, allocations: 82.56 kB / 0.9477 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.6854, allocations: 76.84 kB / 0.9477 GB, free: 9.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/0.6857, allocations: 190.1 kB / 0.9479 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.6858, allocations: 42.42 kB / 0.948 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.6858, allocations: 0 / 0.948 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.000732/0.6865, allocations: 225.4 kB / 0.9482 GB, free: 9.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.6865, allocations: 51.41 kB / 0.9482 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.687, allocations: 316.5 kB / 0.9485 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.687, allocations: 29.7 kB / 0.9485 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.6872, allocations: 196.2 kB / 0.9487 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.6873, allocations: 51.56 kB / 0.9488 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.6874, allocations: 49.7 kB / 0.9488 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.6876, allocations: 342.8 kB / 0.9492 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.6878, allocations: 60.81 kB / 0.9492 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.6881, allocations: 191.9 kB / 0.9494 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/0.6887, allocations: 233.5 kB / 0.9496 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.6887, allocations: 7.938 kB / 0.9496 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00063/0.6894, allocations: 265 kB / 0.9499 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.6894, allocations: 11.94 kB / 0.9499 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.6894, allocations: 4 kB / 0.9499 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.6894, allocations: 7.984 kB / 0.9499 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.6896, allocations: 44.33 kB / 0.9499 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.6896, allocations: 8 kB / 0.95 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.6899, allocations: 39.81 kB / 0.95 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.6899, allocations: 12 kB / 0.95 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002866/0.6902, allocations: 168.1 kB / 0.9502 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00029/0.6905, allocations: 196.9 kB / 0.9504 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000407/0.6909, allocations: 225.5 kB / 0.9506 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.6909, allocations: 0 / 0.9506 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005047/0.6914, allocations: 257 kB / 0.9508 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.6914, allocations: 11.94 kB / 0.9508 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6914, allocations: 4 kB / 0.9508 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.111e-06/0.6914, allocations: 4 kB / 0.9508 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.6916, allocations: 51.91 kB / 0.9509 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.6916, allocations: 4.406 kB / 0.9509 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.6919, allocations: 31.88 kB / 0.9509 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.6919, allocations: 12 kB / 0.9509 GB, free: 6.348 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.0001514/0.692, allocations: 196.1 kB / 0.9511 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.6921, allocations: 35.75 kB / 0.9511 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004261/0.6925, allocations: 172.3 kB / 0.9513 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6925, allocations: 4 kB / 0.9513 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6925, allocations: 0 / 0.9513 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.6926, allocations: 288 / 0.9513 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.6937, allocations: 0.6055 MB / 0.9519 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6937, allocations: 4 kB / 0.9519 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.6938, allocations: 23.92 kB / 0.9519 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.6938, allocations: 4 kB / 0.9519 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.6938, allocations: 11.98 kB / 0.9519 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.6938, allocations: 0 / 0.9519 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.6938, allocations: 7.938 kB / 0.952 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.6942, allocations: 305.4 kB / 0.9522 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.6944, allocations: 120.8 kB / 0.9524 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.6944, allocations: 7.984 kB / 0.9524 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.6946, allocations: 15.98 kB / 0.9524 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.6947, allocations: 11.94 kB / 0.9524 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.6947, allocations: 7.938 kB / 0.9524 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002455/0.6949, allocations: 231 kB / 0.9526 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6949, allocations: 0 / 0.9526 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000598/0.6955, allocations: 135.8 kB / 0.9528 GB, free: 4.324 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.0004375/0.696, allocations: 155.2 kB / 0.9529 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006291/0.6966, allocations: 244.2 kB / 0.9531 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6966, allocations: 0 / 0.9531 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.6967, allocations: 61.14 kB / 0.9532 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007818/0.6975, allocations: 129.5 kB / 0.9533 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000913/0.6984, allocations: 0.5159 MB / 0.9538 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.6989, allocations: 0.7756 MB / 0.9546 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002473/0.6992, allocations: 86.83 kB / 0.9547 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.6992, allocations: 27.44 kB / 0.9547 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of SimCode: time 7.12e-07/0.6992, allocations: 0 / 0.9547 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of Templates: time 0.3541/1.053, allocations: 4.92 MB / 0.9595 GB, free: 190.5 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe 2>&1)