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.001062/0.001062, allocations: 104.5 kB / 16.29 MB, free: 6.023 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.001101/0.001101, allocations: 181.6 kB / 17.22 MB, free: 5.633 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.426/1.426, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.78/1.78, allocations: 292.3 MB / 0.5495 GB, free: 17.4 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.001612/0.001612, allocations: 78.39 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2337, allocations: 114.6 MB / 0.7841 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6027/0.8364, allocations: 169.5 MB / 0.9496 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01089/0.8474, allocations: 7.318 MB / 0.9567 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007083/0.8481, allocations: 15.94 kB / 0.9567 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0009262/0.8491, allocations: 214.5 kB / 0.9569 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.8511, allocations: 0.5691 MB / 0.9575 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.8527, allocations: 438.5 kB / 0.9579 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001412/0.8541, allocations: 0.7012 MB / 0.9586 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005806/0.8547, allocations: 263.1 kB / 0.9588 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000968/0.8557, allocations: 378.5 kB / 0.9592 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004226/0.8561, allocations: 215.1 kB / 0.9594 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.8562, allocations: 20 kB / 0.9594 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.8577, allocations: 0.7132 MB / 0.9601 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.8578, allocations: 103.7 kB / 0.9602 GB, free: 6.156 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.8581, allocations: 155.2 kB / 0.9604 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.8592, allocations: 0.5726 MB / 0.9609 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.8592, allocations: 0 / 0.9609 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8592, allocations: 0 / 0.9609 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.8593, allocations: 4 kB / 0.9609 GB, free: 5.426 MB / 0.7481 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.001118/0.8604, allocations: 0.6416 MB / 0.9615 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.8604, allocations: 9.25 kB / 0.9616 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004497/0.8609, allocations: 67.44 kB / 0.9616 GB, free: 4.664 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.8614, allocations: 310.1 kB / 0.9619 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.8614, allocations: 20.44 kB / 0.9619 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.8614, allocations: 24 kB / 0.962 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.862, allocations: 300.6 kB / 0.9622 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.862, allocations: 0 / 0.9622 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.862, allocations: 11.94 kB / 0.9623 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.8621, allocations: 7.938 kB / 0.9623 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.8624, allocations: 176.7 kB / 0.9624 GB, free: 3.758 MB / 0.7481 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.001814/0.8643, allocations: 1.698 MB / 0.9641 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.8645, allocations: 90.56 kB / 0.9642 GB, free: 1.84 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.8647, allocations: 80.8 kB / 0.9643 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.865, allocations: 191.9 kB / 0.9644 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.8651, allocations: 39 kB / 0.9645 GB, free: 1.488 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.8651, allocations: 0 / 0.9645 GB, free: 1.488 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.00068/0.8658, allocations: 213.2 kB / 0.9647 GB, free: 1.273 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.8658, allocations: 59.34 kB / 0.9647 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.8662, allocations: 324.5 kB / 0.965 GB, free: 0.875 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.8662, allocations: 29.7 kB / 0.9651 GB, free: 0.8398 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.8664, allocations: 195.8 kB / 0.9653 GB, free: 0.6445 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.8664, allocations: 39.44 kB / 0.9653 GB, free: 0.6055 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.927e-05/0.8665, allocations: 53.61 kB / 0.9653 GB, free: 0.5469 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.8667, allocations: 338.8 kB / 0.9657 GB, free: 212 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.8668, allocations: 64.75 kB / 0.9657 GB, free: 144 kB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.8671, allocations: 195.2 kB / 0.9659 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.8675, allocations: 233.4 kB / 0.9661 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.8675, allocations: 0.625 kB / 0.9661 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005265/0.8681, allocations: 253.3 kB / 0.9664 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.8681, allocations: 8 kB / 0.9664 GB, free: 15.35 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.8681, allocations: 4 kB / 0.9664 GB, free: 15.35 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.8681, allocations: 5.969 kB / 0.9664 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.8683, allocations: 51.91 kB / 0.9664 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.8684, allocations: 5.188 kB / 0.9665 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.8686, allocations: 35.67 kB / 0.9665 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.8687, allocations: 15.98 kB / 0.9665 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002694/0.8689, allocations: 184.2 kB / 0.9667 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002691/0.8692, allocations: 186.3 kB / 0.9669 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003783/0.8696, allocations: 237.5 kB / 0.9671 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.8696, allocations: 0 / 0.9671 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004785/0.8701, allocations: 249.3 kB / 0.9673 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.8701, allocations: 11.94 kB / 0.9673 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.8701, allocations: 4 kB / 0.9673 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.8702, allocations: 8 kB / 0.9673 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.8703, allocations: 39.92 kB / 0.9674 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.8704, allocations: 11.98 kB / 0.9674 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.8706, allocations: 29.27 kB / 0.9674 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.8706, allocations: 16 kB / 0.9674 GB, free: 14.17 MB / 0.7637 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.0001491/0.8708, allocations: 192.2 kB / 0.9676 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.8708, allocations: 27.66 kB / 0.9676 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.8712, allocations: 174.6 kB / 0.9678 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.8712, allocations: 0 / 0.9678 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8713, allocations: 0.75 kB / 0.9678 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.8713, allocations: 3.984 kB / 0.9678 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009051/0.8722, allocations: 0.6093 MB / 0.9684 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.8722, allocations: 0 / 0.9684 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.8723, allocations: 32.14 kB / 0.9684 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.8723, allocations: 4 kB / 0.9684 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.8723, allocations: 4.5 kB / 0.9685 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8724, allocations: 0 / 0.9685 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.8724, allocations: 5.969 kB / 0.9685 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.8728, allocations: 305.8 kB / 0.9687 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.8729, allocations: 112.7 kB / 0.9689 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.8729, allocations: 5.25 kB / 0.9689 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.8731, allocations: 19.98 kB / 0.9689 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.8732, allocations: 12.11 kB / 0.9689 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.8732, allocations: 7.938 kB / 0.9689 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002417/0.8734, allocations: 227 kB / 0.9691 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8734, allocations: 0 / 0.9691 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0005693/0.874, allocations: 135.8 kB / 0.9692 GB, free: 12.18 MB / 0.7637 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.000473/0.8745, allocations: 160.5 kB / 0.9694 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005887/0.8751, allocations: 257.6 kB / 0.9696 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8751, allocations: 0 / 0.9696 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.8753, allocations: 60.16 kB / 0.9697 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008016/0.8761, allocations: 127.8 kB / 0.9698 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.8769, allocations: 0.503 MB / 0.9703 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.8773, allocations: 0.7756 MB / 0.9711 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002531/0.8776, allocations: 89.11 kB / 0.9712 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.8777, allocations: 27.44 kB / 0.9712 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of SimCode: time 5.31e-07/0.8777, allocations: 0 / 0.9712 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of Templates: time 0.009989/0.8877, allocations: 4.855 MB / 0.9759 GB, free: 5.422 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.makefile (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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)