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.001315/0.001315, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001841/0.001841, allocations: 191.1 kB / 16.25 MB, free: 6.582 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.569/1.569, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.788/1.788, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001368/0.001368, allocations: 67.7 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2665, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.641/0.9076, allocations: 167.2 MB / 0.9461 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007824/0.9155, allocations: 7.258 MB / 0.9532 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000733/0.9163, allocations: 8.469 kB / 0.9532 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007886/0.9171, allocations: 185.5 kB / 0.9534 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.9188, allocations: 0.5385 MB / 0.9539 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.9201, allocations: 394.6 kB / 0.9543 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001222/0.9213, allocations: 0.7107 MB / 0.955 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000467/0.9218, allocations: 253 kB / 0.9552 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000848/0.9227, allocations: 383.2 kB / 0.9556 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.9231, allocations: 230.5 kB / 0.9558 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.103e-05/0.9231, allocations: 19.16 kB / 0.9558 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.9246, allocations: 0.7191 MB / 0.9565 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.9247, allocations: 103.5 kB / 0.9566 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.9249, allocations: 162.4 kB / 0.9568 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000971/0.9259, allocations: 0.5983 MB / 0.9574 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9259, allocations: 0 / 0.9574 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9259, allocations: 6.328 kB / 0.9574 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.9259, allocations: 0 / 0.9574 GB, free: 5.621 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.001252/0.9272, allocations: 0.638 MB / 0.958 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.9272, allocations: 9.125 kB / 0.958 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003771/0.9276, allocations: 64.69 kB / 0.9581 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.928, allocations: 308.9 kB / 0.9583 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.9281, allocations: 21.66 kB / 0.9584 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.9281, allocations: 22.72 kB / 0.9584 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005852/0.9287, allocations: 309.2 kB / 0.9587 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.9288, allocations: 0.7188 kB / 0.9587 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.9288, allocations: 13.78 kB / 0.9587 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.9288, allocations: 6.062 kB / 0.9587 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/0.9293, allocations: 172.4 kB / 0.9589 GB, free: 20.75 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.001991/0.9313, allocations: 1.694 MB / 0.9605 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.9316, allocations: 93.2 kB / 0.9606 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.9318, allocations: 80.38 kB / 0.9607 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003273/0.9322, allocations: 183.9 kB / 0.9609 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.9322, allocations: 42.41 kB / 0.9609 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 2.014e-06/0.9322, allocations: 0 / 0.9609 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.0008559/0.9331, allocations: 218.7 kB / 0.9611 GB, free: 19.13 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.9331, allocations: 59.55 kB / 0.9612 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/0.9336, allocations: 321.8 kB / 0.9615 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.9336, allocations: 34.55 kB / 0.9615 GB, free: 18.92 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.9338, allocations: 198.9 kB / 0.9617 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.9338, allocations: 37.12 kB / 0.9617 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/0.9339, allocations: 49.47 kB / 0.9618 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.934, allocations: 343.9 kB / 0.9621 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.9342, allocations: 62.17 kB / 0.9622 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.9344, allocations: 194.8 kB / 0.9624 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.9347, allocations: 239.3 kB / 0.9626 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9347, allocations: 0.9375 kB / 0.9626 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004425/0.9352, allocations: 252.3 kB / 0.9628 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.9352, allocations: 11.09 kB / 0.9628 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.9352, allocations: 7.281 kB / 0.9628 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.9352, allocations: 5.906 kB / 0.9628 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.9354, allocations: 48.81 kB / 0.9629 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.9354, allocations: 4.891 kB / 0.9629 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.9358, allocations: 42.38 kB / 0.9629 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.9358, allocations: 10.33 kB / 0.963 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002453/0.9361, allocations: 177.2 kB / 0.9631 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002271/0.9363, allocations: 188.7 kB / 0.9633 GB, free: 17.82 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003199/0.9366, allocations: 231.1 kB / 0.9635 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.9366, allocations: 1.125 kB / 0.9635 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004648/0.9371, allocations: 255.1 kB / 0.9638 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.9371, allocations: 16.53 kB / 0.9638 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.9371, allocations: 3.844 kB / 0.9638 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-06/0.9372, allocations: 4.594 kB / 0.9638 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.9373, allocations: 49.69 kB / 0.9638 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.9373, allocations: 7.516 kB / 0.9638 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.9376, allocations: 28.48 kB / 0.9639 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.9377, allocations: 16.11 kB / 0.9639 GB, free: 17.62 MB / 0.7481 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.00015/0.9378, allocations: 199.7 kB / 0.9641 GB, free: 17.44 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.9379, allocations: 33.22 kB / 0.9641 GB, free: 17.42 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.9383, allocations: 164.9 kB / 0.9643 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.9383, allocations: 1.625 kB / 0.9643 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9383, allocations: 0 / 0.9643 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.9383, allocations: 0 / 0.9643 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009043/0.9392, allocations: 0.6198 MB / 0.9649 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.9392, allocations: 5.438 kB / 0.9649 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.9393, allocations: 23.34 kB / 0.9649 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.9393, allocations: 2.344 kB / 0.9649 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.9394, allocations: 3.156 kB / 0.9649 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.9394, allocations: 11.02 kB / 0.9649 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.9394, allocations: 1.406 kB / 0.9649 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.9398, allocations: 302.2 kB / 0.9652 GB, free: 16.81 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.9399, allocations: 111.7 kB / 0.9653 GB, free: 16.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.9399, allocations: 9.578 kB / 0.9653 GB, free: 16.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.9401, allocations: 15.92 kB / 0.9653 GB, free: 16.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.9402, allocations: 18.91 kB / 0.9654 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.9402, allocations: 4.188 kB / 0.9654 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002448/0.9405, allocations: 225.4 kB / 0.9656 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9405, allocations: 0 / 0.9656 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007077/0.9412, allocations: 137.2 kB / 0.9657 GB, free: 16.59 MB / 0.7481 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.0004789/0.9417, allocations: 170.9 kB / 0.9659 GB, free: 16.49 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006734/0.9424, allocations: 243.6 kB / 0.9661 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9424, allocations: 0 / 0.9661 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.9426, allocations: 69.11 kB / 0.9662 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009149/0.9435, allocations: 128.5 kB / 0.9663 GB, free: 16.47 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008395/0.9443, allocations: 0.5931 MB / 0.9669 GB, free: 16.07 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.9447, allocations: 0.774 MB / 0.9676 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000322/0.945, allocations: 83.06 kB / 0.9677 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.9451, allocations: 27.41 kB / 0.9677 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of SimCode: time 4.91e-07/0.9451, allocations: 0 / 0.9677 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of Templates: time 0.01/0.9551, allocations: 4.801 MB / 0.9724 GB, free: 15.04 MB / 0.7481 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)