Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009568/0.0009571, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007129/0.00713, allocations: 171.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.843/1.843, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006135/0.000614, allocations: 12.72 kB / 0.6743 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2698, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6797/0.9496, allocations: 165 MB / 0.949 GB, free: 488 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00881/0.9585, allocations: 7.225 MB / 0.9561 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003727/0.9589, allocations: 9.656 kB / 0.9561 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006562/0.9595, allocations: 176.1 kB / 0.9563 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.9612, allocations: 0.5472 MB / 0.9568 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.9626, allocations: 385.4 kB / 0.9572 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.9639, allocations: 1.024 MB / 0.9582 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004166/0.9643, allocations: 219 kB / 0.9584 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007888/0.9651, allocations: 342.1 kB / 0.9587 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.9655, allocations: 221.7 kB / 0.9589 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.9655, allocations: 11.19 kB / 0.9589 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.967, allocations: 0.7742 MB / 0.9597 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.9672, allocations: 96.38 kB / 0.9598 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.9674, allocations: 176.9 kB / 0.96 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009393/0.9683, allocations: 0.5808 MB / 0.9605 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.9684, allocations: 5.031 kB / 0.9605 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.735e-06/0.9684, allocations: 0 / 0.9605 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.9684, allocations: 0 / 0.9605 GB, free: 15.35 MB / 0.7325 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.0009638/0.9693, allocations: 0.5847 MB / 0.9611 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.9694, allocations: 9.594 kB / 0.9611 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003579/0.9698, allocations: 64.17 kB / 0.9612 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.9701, allocations: 311.6 kB / 0.9615 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.9702, allocations: 17.72 kB / 0.9615 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.9702, allocations: 22.69 kB / 0.9615 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.9707, allocations: 305.1 kB / 0.9618 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.9707, allocations: 1.031 kB / 0.9618 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.9708, allocations: 15.59 kB / 0.9618 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.9708, allocations: 6.906 kB / 0.9618 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.9712, allocations: 185.5 kB / 0.962 GB, free: 14.46 MB / 0.7325 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.001797/0.973, allocations: 1.714 MB / 0.9637 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.9733, allocations: 97.7 kB / 0.9638 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.9734, allocations: 80.91 kB / 0.9638 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.9737, allocations: 188.8 kB / 0.964 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.9738, allocations: 39 kB / 0.9641 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.9738, allocations: 3.938 kB / 0.9641 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0006948/0.9745, allocations: 236.5 kB / 0.9643 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.9745, allocations: 52.62 kB / 0.9643 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.9749, allocations: 324.9 kB / 0.9646 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.975, allocations: 27.89 kB / 0.9647 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.9751, allocations: 198.7 kB / 0.9649 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.9751, allocations: 41.64 kB / 0.9649 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.9752, allocations: 24.94 kB / 0.9649 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.9753, allocations: 342.7 kB / 0.9652 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.9755, allocations: 60.27 kB / 0.9653 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.9758, allocations: 201.1 kB / 0.9655 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.9762, allocations: 246.8 kB / 0.9657 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.9762, allocations: 4.719 kB / 0.9657 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005056/0.9767, allocations: 270.3 kB / 0.966 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.9769, allocations: 193.8 kB / 0.9662 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.9769, allocations: 3.688 kB / 0.9662 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.9769, allocations: 5.562 kB / 0.9662 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.9771, allocations: 48.44 kB / 0.9662 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.9771, allocations: 8.531 kB / 0.9662 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.9774, allocations: 48.75 kB / 0.9663 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.9775, allocations: 16.53 kB / 0.9663 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/0.9775, allocations: 7.469 kB / 0.9663 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003933/0.9779, allocations: 205.4 kB / 0.9665 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.9779, allocations: 4.094 kB / 0.9665 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.9779, allocations: 9.438 kB / 0.9665 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.9781, allocations: 49.09 kB / 0.9666 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.9781, allocations: 12.84 kB / 0.9666 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.9783, allocations: 37.67 kB / 0.9666 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.9784, allocations: 17.16 kB / 0.9666 GB, free: 11.43 MB / 0.7325 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.0001946/0.9786, allocations: 234.2 kB / 0.9669 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.9786, allocations: 25.72 kB / 0.9669 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/0.979, allocations: 180.6 kB / 0.9671 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.979, allocations: 1.844 kB / 0.9671 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.979, allocations: 0 / 0.9671 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.979, allocations: 3.047 kB / 0.9671 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009768/0.98, allocations: 0.6256 MB / 0.9677 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.98, allocations: 2.25 kB / 0.9677 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.9802, allocations: 26.95 kB / 0.9677 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.9802, allocations: 2.219 kB / 0.9677 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.9802, allocations: 3.469 kB / 0.9677 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.9802, allocations: 5.125 kB / 0.9677 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.9802, allocations: 6.281 kB / 0.9677 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.9806, allocations: 313.6 kB / 0.968 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.974e-05/0.9807, allocations: 113.8 kB / 0.9681 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.9808, allocations: 2.594 kB / 0.9681 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.981, allocations: 23.38 kB / 0.9681 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.981, allocations: 25.88 kB / 0.9682 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.981, allocations: 5.938 kB / 0.9682 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002416/0.9813, allocations: 230.8 kB / 0.9684 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9813, allocations: 0 / 0.9684 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006163/0.9819, allocations: 132 kB / 0.9685 GB, free: 10.37 MB / 0.7325 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.0003813/0.9823, allocations: 155.3 kB / 0.9687 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006002/0.9829, allocations: 266.2 kB / 0.9689 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.9829, allocations: 0 / 0.9689 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.9831, allocations: 68.47 kB / 0.969 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009959/0.9841, allocations: 134.6 kB / 0.9691 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008895/0.985, allocations: 0.6021 MB / 0.9697 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.9854, allocations: 0.7805 MB / 0.9705 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002938/0.9857, allocations: 88.94 kB / 0.9706 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.9858, allocations: 26.69 kB / 0.9706 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/0.9858, allocations: 1.062 kB / 0.9706 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of Templates: time 0.009517/0.9953, allocations: 4.73 MB / 0.9752 GB, free: 7.328 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) Environment - environmentSimulation: