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.001111/0.001111, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001131/0.001131, allocations: 195.6 kB / 16.14 MB, free: 6.707 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.355/1.355, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 283.1 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9587/0.9587, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 97.34 kB / 0.5945 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1874, allocations: 86.98 MB / 0.6794 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.566/0.7535, allocations: 167.2 MB / 0.8427 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009572/0.7631, allocations: 7.337 MB / 0.8499 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.7641, allocations: 14.44 kB / 0.8499 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.7654, allocations: 183.2 kB / 0.8501 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.7678, allocations: 0.5381 MB / 0.8506 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.7695, allocations: 382.7 kB / 0.851 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.7712, allocations: 1.024 MB / 0.852 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005278/0.7718, allocations: 229.8 kB / 0.8522 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.7729, allocations: 345.9 kB / 0.8525 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.7734, allocations: 238.3 kB / 0.8527 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.654e-05/0.7735, allocations: 13 kB / 0.8527 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.7752, allocations: 0.7831 MB / 0.8535 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.7754, allocations: 93.64 kB / 0.8536 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.7756, allocations: 147.7 kB / 0.8537 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.7769, allocations: 0.5897 MB / 0.8543 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.7769, allocations: 0 / 0.8543 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7769, allocations: 3.938 kB / 0.8543 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.777, allocations: 0 / 0.8543 GB, free: 10.45 MB / 0.5762 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.001117/0.7781, allocations: 0.6373 MB / 0.8549 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.7781, allocations: 8.219 kB / 0.8549 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004051/0.7785, allocations: 67.89 kB / 0.855 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.779, allocations: 303.1 kB / 0.8553 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.7791, allocations: 19.53 kB / 0.8553 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.7791, allocations: 19.88 kB / 0.8553 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/0.7797, allocations: 305 kB / 0.8556 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.7797, allocations: 3.938 kB / 0.8556 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.7798, allocations: 14.5 kB / 0.8556 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.7798, allocations: 9.438 kB / 0.8557 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/0.7802, allocations: 175.6 kB / 0.8558 GB, free: 9.203 MB / 0.5762 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.001816/0.782, allocations: 1.696 MB / 0.8575 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.7823, allocations: 89.31 kB / 0.8576 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.7825, allocations: 90.58 kB / 0.8576 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/0.7828, allocations: 184.6 kB / 0.8578 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.7829, allocations: 34.5 kB / 0.8579 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.754e-06/0.7829, allocations: 0 / 0.8579 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.000775/0.7836, allocations: 235.8 kB / 0.8581 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.7837, allocations: 53.69 kB / 0.8581 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/0.7841, allocations: 320.3 kB / 0.8584 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.7841, allocations: 32.2 kB / 0.8585 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.7843, allocations: 193.2 kB / 0.8587 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.7843, allocations: 36.36 kB / 0.8587 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-05/0.7844, allocations: 54.33 kB / 0.8587 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7846, allocations: 337.7 kB / 0.8591 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.7848, allocations: 59.47 kB / 0.8591 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.785, allocations: 195.1 kB / 0.8593 GB, free: 6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.7854, allocations: 241 kB / 0.8595 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.7855, allocations: 0 / 0.8595 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000512/0.786, allocations: 252.1 kB / 0.8598 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.786, allocations: 5.656 kB / 0.8598 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.786, allocations: 4.625 kB / 0.8598 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.7861, allocations: 5.375 kB / 0.8598 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.7862, allocations: 47.41 kB / 0.8598 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.7863, allocations: 15.12 kB / 0.8599 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.7866, allocations: 45.72 kB / 0.8599 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.7867, allocations: 16.28 kB / 0.8599 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002426/0.7869, allocations: 169.4 kB / 0.8601 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002508/0.7872, allocations: 184.9 kB / 0.8602 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003774/0.7875, allocations: 246.2 kB / 0.8605 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.7876, allocations: 0 / 0.8605 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004638/0.788, allocations: 248.6 kB / 0.8607 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.7881, allocations: 13.88 kB / 0.8607 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7881, allocations: 3 kB / 0.8607 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.933e-06/0.7881, allocations: 5.094 kB / 0.8607 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.7883, allocations: 51.12 kB / 0.8608 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.7883, allocations: 9.094 kB / 0.8608 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.7886, allocations: 30.77 kB / 0.8608 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.7886, allocations: 18.05 kB / 0.8608 GB, free: 4.875 MB / 0.5762 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.0001456/0.7887, allocations: 199.5 kB / 0.861 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.7888, allocations: 32.5 kB / 0.8611 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.7892, allocations: 167.2 kB / 0.8612 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.7892, allocations: 2.562 kB / 0.8612 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.7892, allocations: 0 / 0.8612 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.7892, allocations: 0 / 0.8612 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009591/0.7902, allocations: 0.6113 MB / 0.8618 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7902, allocations: 0 / 0.8618 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.7903, allocations: 27.67 kB / 0.8619 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.7903, allocations: 2.688 kB / 0.8619 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.7904, allocations: 6.531 kB / 0.8619 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.7904, allocations: 6.562 kB / 0.8619 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7904, allocations: 6.438 kB / 0.8619 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.7908, allocations: 305.3 kB / 0.8622 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.7909, allocations: 113.4 kB / 0.8623 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.791, allocations: 2.906 kB / 0.8623 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.7912, allocations: 14.11 kB / 0.8623 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.7912, allocations: 24.67 kB / 0.8623 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.7913, allocations: 4.75 kB / 0.8623 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002479/0.7915, allocations: 226.9 kB / 0.8625 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.41e-07/0.7915, allocations: 0 / 0.8625 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006483/0.7922, allocations: 130 kB / 0.8627 GB, free: 3.43 MB / 0.5762 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.0005295/0.7927, allocations: 162.6 kB / 0.8628 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005577/0.7933, allocations: 246.5 kB / 0.863 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7933, allocations: 3.938 kB / 0.8631 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.7935, allocations: 71.23 kB / 0.8631 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008939/0.7944, allocations: 139.2 kB / 0.8633 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009129/0.7953, allocations: 0.5868 MB / 0.8638 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.7957, allocations: 0.7753 MB / 0.8646 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000324/0.796, allocations: 89.8 kB / 0.8647 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.7961, allocations: 23.19 kB / 0.8647 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.7961, allocations: 0 / 0.8647 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.01022/0.8063, allocations: 4.743 MB / 0.8693 GB, free: 15.52 MB / 0.5919 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)