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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 91.45 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.006574/0.006575, allocations: 172.7 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.454/1.454, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.762/1.762, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0006468/0.0006469, allocations: 15.22 kB / 0.6744 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2451, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.6095/0.8546, allocations: 165 MB / 0.9492 GB, free: 164 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00712/0.8617, allocations: 7.234 MB / 0.9562 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.8621, allocations: 13.78 kB / 0.9562 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005972/0.8627, allocations: 167.7 kB / 0.9564 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.8641, allocations: 0.5463 MB / 0.9569 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.8652, allocations: 382.6 kB / 0.9573 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001137/0.8663, allocations: 1.027 MB / 0.9583 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.8667, allocations: 223.5 kB / 0.9585 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006479/0.8674, allocations: 333.3 kB / 0.9588 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.8676, allocations: 229.1 kB / 0.9591 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.8677, allocations: 11.31 kB / 0.9591 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.8689, allocations: 0.7764 MB / 0.9598 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.8691, allocations: 92.89 kB / 0.9599 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.8692, allocations: 174.8 kB / 0.9601 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007168/0.87, allocations: 0.5814 MB / 0.9606 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.87, allocations: 1.125 kB / 0.9606 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/0.87, allocations: 0 / 0.9606 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.87, allocations: 0 / 0.9606 GB, free: 15.04 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.0007909/0.8708, allocations: 0.5887 MB / 0.9612 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8708, allocations: 13.66 kB / 0.9612 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.799e-05/0.8709, allocations: 58.78 kB / 0.9613 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/0.8712, allocations: 62.3 kB / 0.9613 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.8716, allocations: 307.1 kB / 0.9616 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.8716, allocations: 18.59 kB / 0.9617 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.8717, allocations: 26.94 kB / 0.9617 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.8722, allocations: 306.4 kB / 0.962 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8722, allocations: 0 / 0.962 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.8722, allocations: 10.34 kB / 0.962 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.8722, allocations: 6.312 kB / 0.962 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/0.8726, allocations: 190 kB / 0.9622 GB, free: 14.11 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.00152/0.8741, allocations: 1.713 MB / 0.9638 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.8744, allocations: 97.75 kB / 0.9639 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.8746, allocations: 84.14 kB / 0.964 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002569/0.8748, allocations: 191.9 kB / 0.9642 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.8749, allocations: 37.66 kB / 0.9642 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.8749, allocations: 0 / 0.9642 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0006778/0.8756, allocations: 238.4 kB / 0.9645 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.8756, allocations: 53.44 kB / 0.9645 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.8759, allocations: 324.2 kB / 0.9648 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.876, allocations: 26.73 kB / 0.9649 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.8761, allocations: 196.8 kB / 0.965 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.8761, allocations: 38.14 kB / 0.9651 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.8762, allocations: 24.44 kB / 0.9651 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.8763, allocations: 341.9 kB / 0.9654 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.8764, allocations: 60.78 kB / 0.9655 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.8767, allocations: 211.3 kB / 0.9657 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.8771, allocations: 243.9 kB / 0.9659 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.8771, allocations: 1.188 kB / 0.9659 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004782/0.8776, allocations: 265.6 kB / 0.9662 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.8777, allocations: 194 kB / 0.9664 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.8777, allocations: 3.438 kB / 0.9664 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.8777, allocations: 5.188 kB / 0.9664 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.8779, allocations: 50.39 kB / 0.9664 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.8779, allocations: 8.062 kB / 0.9664 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.8782, allocations: 47.25 kB / 0.9665 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.8782, allocations: 14.19 kB / 0.9665 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/0.8782, allocations: 7.719 kB / 0.9665 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004003/0.8786, allocations: 205.1 kB / 0.9667 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.8787, allocations: 4.188 kB / 0.9667 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.8787, allocations: 10.05 kB / 0.9667 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.8788, allocations: 50.45 kB / 0.9667 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.8789, allocations: 11.78 kB / 0.9668 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.8791, allocations: 45.58 kB / 0.9668 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.8791, allocations: 10.53 kB / 0.9668 GB, free: 11.08 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.0001632/0.8793, allocations: 232.6 kB / 0.967 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.8794, allocations: 32 kB / 0.9671 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.8797, allocations: 174.1 kB / 0.9672 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.8798, allocations: 4.562 kB / 0.9672 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8798, allocations: 2.859 kB / 0.9672 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8798, allocations: 1.062 kB / 0.9672 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008785/0.8807, allocations: 0.6186 MB / 0.9678 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.8807, allocations: 5.938 kB / 0.9678 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.8808, allocations: 26.38 kB / 0.9679 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.8808, allocations: 2.406 kB / 0.9679 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.8808, allocations: 3.25 kB / 0.9679 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.8808, allocations: 2.969 kB / 0.9679 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/0.8809, allocations: 8.234 kB / 0.9679 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.8813, allocations: 313.1 kB / 0.9682 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-05/0.8814, allocations: 113.3 kB / 0.9683 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.8814, allocations: 3.625 kB / 0.9683 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.8816, allocations: 22.64 kB / 0.9683 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.8817, allocations: 22.16 kB / 0.9683 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.8817, allocations: 12.66 kB / 0.9684 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002159/0.8819, allocations: 224.2 kB / 0.9686 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8819, allocations: 0 / 0.9686 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006004/0.8825, allocations: 135.4 kB / 0.9687 GB, free: 10.02 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.0009032/0.8834, allocations: 0.9118 MB / 0.9696 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005679/0.884, allocations: 264.7 kB / 0.9698 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.884, allocations: 0 / 0.9698 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.8842, allocations: 73.33 kB / 0.9699 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009576/0.8852, allocations: 134.6 kB / 0.97 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.8884, allocations: 2.92 MB / 0.9729 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.8887, allocations: 0.7835 MB / 0.9737 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002925/0.889, allocations: 85.02 kB / 0.9737 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.8892, allocations: 87.58 kB / 0.9738 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.8892, allocations: 1.031 kB / 0.9738 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.9099, allocations: 7.467 MB / 0.9811 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.9101, allocations: 230.5 kB / 0.9813 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.759, allocations: 3.938 kB / 0.9813 GB, free: 3.152 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)