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.0011/0.0011, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 196.9 kB / 16.54 MB, free: 6.668 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.349/1.349, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.694/1.694, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001487/0.001487, allocations: 66.55 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1991, allocations: 114.5 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.4987/0.6979, allocations: 169.4 MB / 0.9489 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008007/0.7059, allocations: 7.323 MB / 0.9561 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005331/0.7065, allocations: 10.88 kB / 0.9561 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006618/0.7072, allocations: 217.3 kB / 0.9563 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.7088, allocations: 0.5677 MB / 0.9569 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.7102, allocations: 425.4 kB / 0.9573 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.7113, allocations: 0.7076 MB / 0.958 GB, free: 484 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004623/0.7118, allocations: 265.8 kB / 0.9582 GB, free: 456 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007783/0.7126, allocations: 380.8 kB / 0.9586 GB, free: 404 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.713, allocations: 213.4 kB / 0.9588 GB, free: 396 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.793e-05/0.713, allocations: 19.03 kB / 0.9588 GB, free: 396 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.7144, allocations: 0.7094 MB / 0.9595 GB, free: 332 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.7146, allocations: 104.5 kB / 0.9596 GB, free: 328 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.7148, allocations: 156.9 kB / 0.9598 GB, free: 328 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009594/0.7158, allocations: 0.5667 MB / 0.9603 GB, free: 280 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.7158, allocations: 1.438 kB / 0.9603 GB, free: 280 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7158, allocations: 2.156 kB / 0.9603 GB, free: 280 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.7158, allocations: 0 / 0.9603 GB, free: 280 kB / 0.7169 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.001016/0.7169, allocations: 0.6426 MB / 0.9609 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.7169, allocations: 10.78 kB / 0.9609 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.184e-05/0.717, allocations: 56.56 kB / 0.961 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003738/0.7174, allocations: 60.98 kB / 0.9611 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.7178, allocations: 316.8 kB / 0.9614 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.7178, allocations: 17.47 kB / 0.9614 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.7178, allocations: 23.12 kB / 0.9614 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.7183, allocations: 302.4 kB / 0.9617 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.7184, allocations: 1.594 kB / 0.9617 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.7184, allocations: 12.28 kB / 0.9617 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.7184, allocations: 6.188 kB / 0.9617 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.7188, allocations: 186.8 kB / 0.9619 GB, free: 15.33 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.001601/0.7204, allocations: 1.691 MB / 0.9635 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.7207, allocations: 87.31 kB / 0.9636 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.7208, allocations: 84.73 kB / 0.9637 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/0.7211, allocations: 190.9 kB / 0.9639 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.7211, allocations: 34.56 kB / 0.9639 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.7211, allocations: 1.438 kB / 0.9639 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0006827/0.7218, allocations: 225.7 kB / 0.9641 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.7219, allocations: 52.72 kB / 0.9642 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.7222, allocations: 324 kB / 0.9645 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.7223, allocations: 27.39 kB / 0.9645 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.7224, allocations: 199.9 kB / 0.9647 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.7224, allocations: 37.02 kB / 0.9647 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.7225, allocations: 54.72 kB / 0.9648 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7227, allocations: 340.3 kB / 0.9651 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.7228, allocations: 64.55 kB / 0.9652 GB, free: 13 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.7231, allocations: 191.7 kB / 0.9654 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.7234, allocations: 239.3 kB / 0.9656 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7234, allocations: 0 / 0.9656 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004579/0.7239, allocations: 255.8 kB / 0.9658 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.7239, allocations: 5.906 kB / 0.9658 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.7239, allocations: 4 kB / 0.9658 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.7239, allocations: 4.688 kB / 0.9658 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.7241, allocations: 47.14 kB / 0.9659 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.7242, allocations: 10.56 kB / 0.9659 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.7244, allocations: 38.81 kB / 0.9659 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.7245, allocations: 15.88 kB / 0.966 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002176/0.7247, allocations: 170 kB / 0.9661 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002267/0.7249, allocations: 191.2 kB / 0.9663 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003328/0.7253, allocations: 228.2 kB / 0.9665 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.424e-06/0.7253, allocations: 1.031 kB / 0.9665 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004601/0.7257, allocations: 257.3 kB / 0.9668 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.7258, allocations: 9.594 kB / 0.9668 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.7258, allocations: 4.453 kB / 0.9668 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.7258, allocations: 8.766 kB / 0.9668 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.7259, allocations: 50.47 kB / 0.9668 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.726, allocations: 9.438 kB / 0.9668 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.7262, allocations: 24.61 kB / 0.9669 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.7263, allocations: 17.55 kB / 0.9669 GB, free: 12.1 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.0001067/0.7264, allocations: 193.6 kB / 0.9671 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.7264, allocations: 33.12 kB / 0.9671 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.7268, allocations: 171.7 kB / 0.9673 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.7268, allocations: 8.188 kB / 0.9673 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7268, allocations: 0 / 0.9673 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.7268, allocations: 1.094 kB / 0.9673 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008354/0.7277, allocations: 0.6103 MB / 0.9679 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7277, allocations: 3.719 kB / 0.9679 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.7278, allocations: 22.94 kB / 0.9679 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.7278, allocations: 3 kB / 0.9679 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.7278, allocations: 2.969 kB / 0.9679 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.7279, allocations: 10.52 kB / 0.9679 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7279, allocations: 5.875 kB / 0.9679 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.7282, allocations: 299.5 kB / 0.9682 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/0.7283, allocations: 115.3 kB / 0.9683 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.7284, allocations: 6.531 kB / 0.9683 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.7286, allocations: 10.78 kB / 0.9683 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.7286, allocations: 15.2 kB / 0.9683 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.7286, allocations: 4.406 kB / 0.9683 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002106/0.7289, allocations: 230.8 kB / 0.9686 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7289, allocations: 1.125 kB / 0.9686 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000586/0.7295, allocations: 127 kB / 0.9687 GB, free: 11.05 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.0008666/0.7303, allocations: 0.9019 MB / 0.9696 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005536/0.7309, allocations: 255.6 kB / 0.9698 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7309, allocations: 3.938 kB / 0.9698 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.7311, allocations: 69.3 kB / 0.9699 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007797/0.7319, allocations: 118.5 kB / 0.97 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.7351, allocations: 2.805 MB / 0.9727 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.7354, allocations: 0.7813 MB / 0.9735 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002877/0.7357, allocations: 87.78 kB / 0.9736 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.7358, allocations: 88.81 kB / 0.9737 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.7358, allocations: 0 / 0.9737 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.325/3.061, allocations: 7.818 MB / 0.9813 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.954/13.01, allocations: 3.766 kB / 0.9813 GB, free: 5.043 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)