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.001089/0.001089, allocations: 104.4 kB / 16.27 MB, free: 5.969 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.001164/0.001165, allocations: 187.8 kB / 17.19 MB, free: 5.609 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.431/1.431, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.823/1.823, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001477/0.001477, allocations: 75.19 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2608, allocations: 114.6 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6338/0.8947, allocations: 169.4 MB / 0.9495 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009471/0.9042, allocations: 7.313 MB / 0.9566 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008469/0.9051, allocations: 15.94 kB / 0.9567 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008825/0.9061, allocations: 210.6 kB / 0.9569 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.908, allocations: 0.5755 MB / 0.9574 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.9097, allocations: 426.2 kB / 0.9578 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001178/0.9108, allocations: 0.7089 MB / 0.9585 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004696/0.9113, allocations: 263.1 kB / 0.9588 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007985/0.9121, allocations: 378.5 kB / 0.9591 GB, free: 7.191 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.9124, allocations: 215 kB / 0.9593 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.9125, allocations: 20 kB / 0.9594 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.9138, allocations: 0.7093 MB / 0.9601 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.914, allocations: 103.7 kB / 0.9602 GB, free: 6.148 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.9141, allocations: 151.2 kB / 0.9603 GB, free: 6 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008096/0.915, allocations: 0.57 MB / 0.9609 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.915, allocations: 4 kB / 0.9609 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.623e-06/0.915, allocations: 0 / 0.9609 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.915, allocations: 0 / 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.0009344/0.9159, allocations: 0.6416 MB / 0.9615 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.916, allocations: 8.031 kB / 0.9615 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003757/0.9164, allocations: 71.42 kB / 0.9616 GB, free: 4.66 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.9168, allocations: 306 kB / 0.9619 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.9168, allocations: 20.44 kB / 0.9619 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.9169, allocations: 24 kB / 0.9619 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/0.9173, allocations: 300.6 kB / 0.9622 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.9174, allocations: 0 / 0.9622 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.9174, allocations: 11.94 kB / 0.9622 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.9174, allocations: 4.75 kB / 0.9622 GB, free: 3.934 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/0.9178, allocations: 180.6 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.00161/0.9194, allocations: 1.698 MB / 0.964 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.9197, allocations: 94.56 kB / 0.9641 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.9199, allocations: 80.84 kB / 0.9642 GB, free: 1.754 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.9202, allocations: 182.2 kB / 0.9644 GB, free: 1.539 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.9202, allocations: 42.5 kB / 0.9644 GB, free: 1.488 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.9202, allocations: 3.938 kB / 0.9644 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.0006676/0.9209, allocations: 221.1 kB / 0.9646 GB, free: 1.262 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.9209, allocations: 59.39 kB / 0.9647 GB, free: 1.191 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.9213, allocations: 318 kB / 0.965 GB, free: 0.8711 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.9213, allocations: 29.7 kB / 0.965 GB, free: 0.8359 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.9214, allocations: 195.8 kB / 0.9652 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.9215, allocations: 39.45 kB / 0.9652 GB, free: 0.6016 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.107e-05/0.9216, allocations: 53.61 kB / 0.9653 GB, free: 0.543 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.9217, allocations: 338.8 kB / 0.9656 GB, free: 208 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.9219, allocations: 56.81 kB / 0.9657 GB, free: 148 kB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.9221, allocations: 198.3 kB / 0.9659 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/0.9225, allocations: 237.5 kB / 0.9661 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9225, allocations: 0 / 0.9661 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000467/0.923, allocations: 253 kB / 0.9663 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.923, allocations: 8.781 kB / 0.9663 GB, free: 15.35 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.923, allocations: 4 kB / 0.9663 GB, free: 15.35 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.9231, allocations: 7.984 kB / 0.9663 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.9232, allocations: 56.31 kB / 0.9664 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.9233, allocations: 5.5 kB / 0.9664 GB, free: 15.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.9235, allocations: 39.66 kB / 0.9664 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.9235, allocations: 12 kB / 0.9664 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002351/0.9238, allocations: 170.9 kB / 0.9666 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002397/0.924, allocations: 198.4 kB / 0.9668 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003409/0.9244, allocations: 229.5 kB / 0.967 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.9244, allocations: 0 / 0.967 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004446/0.9248, allocations: 256.8 kB / 0.9673 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.9249, allocations: 7.938 kB / 0.9673 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.9249, allocations: 4 kB / 0.9673 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-06/0.9249, allocations: 4 kB / 0.9673 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.925, allocations: 48.31 kB / 0.9673 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.9251, allocations: 8 kB / 0.9673 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.9253, allocations: 31.83 kB / 0.9674 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.9253, allocations: 12 kB / 0.9674 GB, free: 14.16 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.0001441/0.9255, allocations: 192.2 kB / 0.9676 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.9255, allocations: 29.62 kB / 0.9676 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.9259, allocations: 168.4 kB / 0.9677 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.9259, allocations: 7.984 kB / 0.9678 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.9259, allocations: 0 / 0.9678 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.9259, allocations: 0 / 0.9678 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008985/0.9269, allocations: 0.617 MB / 0.9684 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.9269, allocations: 0 / 0.9684 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.927, allocations: 25.92 kB / 0.9684 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.927, allocations: 4 kB / 0.9684 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.927, allocations: 4.125 kB / 0.9684 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.927, allocations: 7.984 kB / 0.9684 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.927, allocations: 4.219 kB / 0.9684 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.9274, allocations: 305.8 kB / 0.9687 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.9276, allocations: 112.7 kB / 0.9688 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.9276, allocations: 7.984 kB / 0.9688 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.9278, allocations: 8 kB / 0.9688 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.9278, allocations: 15.92 kB / 0.9688 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.9279, allocations: 4 kB / 0.9688 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002165/0.9281, allocations: 231 kB / 0.9691 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9281, allocations: 0 / 0.9691 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000582/0.9287, allocations: 127.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.0005553/0.9292, allocations: 172.6 kB / 0.9693 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0006047/0.9299, allocations: 252.2 kB / 0.9696 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.9299, allocations: 0 / 0.9696 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.93, allocations: 61.16 kB / 0.9696 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.0007864/0.9308, allocations: 132 kB / 0.9698 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009048/0.9317, allocations: 0.5321 MB / 0.9703 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.9321, allocations: 0.7756 MB / 0.971 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.9322, allocations: 27.44 kB / 0.9711 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of SimCode: time 4.11e-07/0.9322, allocations: 0 / 0.9711 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of Templates: time 0.007488/0.9397, allocations: 4.45 MB / 0.9754 GB, free: 5.855 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)