Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 175.4 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.18/2.18, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008806/0.0008808, allocations: 86.3 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004177, allocations: 11.41 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2681, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.5715/0.8397, allocations: 167 MB / 1.059 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00745/0.8472, allocations: 7.382 MB / 1.067 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003901/0.8476, allocations: 11.53 kB / 1.067 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006316/0.8483, allocations: 175.1 kB / 1.067 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.8498, allocations: 0.5456 MB / 1.067 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.851, allocations: 377.2 kB / 1.068 GB, free: 1.754 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001239/0.8522, allocations: 1.014 MB / 1.069 GB, free: 1.75 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003976/0.8526, allocations: 213.2 kB / 1.069 GB, free: 1.738 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007588/0.8534, allocations: 339.3 kB / 1.069 GB, free: 1.734 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.8538, allocations: 225.5 kB / 1.069 GB, free: 1.727 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.8538, allocations: 10.72 kB / 1.069 GB, free: 1.727 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.8553, allocations: 0.7775 MB / 1.07 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.8555, allocations: 95.5 kB / 1.07 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.8557, allocations: 140.5 kB / 1.07 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.8568, allocations: 0.5721 MB / 1.071 GB, free: 1.684 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.8568, allocations: 0.8125 kB / 1.071 GB, free: 1.684 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8568, allocations: 4.641 kB / 1.071 GB, free: 1.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.8568, allocations: 0 / 1.071 GB, free: 1.68 MB / 0.698 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.001055/0.8579, allocations: 0.5772 MB / 1.071 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.8579, allocations: 11.97 kB / 1.071 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.846e-05/0.858, allocations: 55.36 kB / 1.071 GB, free: 17.17 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/0.8584, allocations: 60.38 kB / 1.072 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.8588, allocations: 299.1 kB / 1.072 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.8588, allocations: 17.31 kB / 1.072 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.8589, allocations: 20.34 kB / 1.072 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.8594, allocations: 316.2 kB / 1.072 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.8594, allocations: 0.75 kB / 1.072 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.8595, allocations: 9.719 kB / 1.072 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.8595, allocations: 6.188 kB / 1.072 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.8599, allocations: 183 kB / 1.072 GB, free: 16.79 MB / 0.7136 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.001759/0.8617, allocations: 1.708 MB / 1.074 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.8619, allocations: 105.6 kB / 1.074 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.8622, allocations: 82.69 kB / 1.074 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002905/0.8625, allocations: 189.8 kB / 1.074 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.8625, allocations: 39.84 kB / 1.074 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.773e-06/0.8625, allocations: 0 / 1.074 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0007384/0.8632, allocations: 235.6 kB / 1.075 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.8633, allocations: 55.22 kB / 1.075 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.8637, allocations: 318.7 kB / 1.075 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.8637, allocations: 30.2 kB / 1.075 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.8638, allocations: 191.6 kB / 1.075 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.8639, allocations: 36.03 kB / 1.075 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.8639, allocations: 25.86 kB / 1.075 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.864, allocations: 341.8 kB / 1.076 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.8642, allocations: 54.69 kB / 1.076 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.8644, allocations: 184.7 kB / 1.076 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.8648, allocations: 241.3 kB / 1.076 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8648, allocations: 1.469 kB / 1.076 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005574/0.8654, allocations: 268.6 kB / 1.076 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.8655, allocations: 190.7 kB / 1.077 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.8655, allocations: 9.719 kB / 1.077 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.8655, allocations: 4.5 kB / 1.077 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.8657, allocations: 49.95 kB / 1.077 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.8657, allocations: 7.75 kB / 1.077 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.866, allocations: 44.47 kB / 1.077 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.8661, allocations: 14.16 kB / 1.077 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.8661, allocations: 7.812 kB / 1.077 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004211/0.8665, allocations: 214.8 kB / 1.077 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.8665, allocations: 5.625 kB / 1.077 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/0.8666, allocations: 4.469 kB / 1.077 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.8667, allocations: 51.73 kB / 1.077 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.8668, allocations: 5.094 kB / 1.077 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.867, allocations: 39.45 kB / 1.077 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.867, allocations: 13.97 kB / 1.077 GB, free: 13.88 MB / 0.7136 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.0001826/0.8672, allocations: 231.5 kB / 1.077 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.8673, allocations: 33.45 kB / 1.077 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.8677, allocations: 178.6 kB / 1.077 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8677, allocations: 4.938 kB / 1.077 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.8677, allocations: 0.625 kB / 1.077 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.8677, allocations: 0.5625 kB / 1.077 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008901/0.8686, allocations: 0.6115 MB / 1.078 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.8686, allocations: 1.812 kB / 1.078 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.8688, allocations: 38.14 kB / 1.078 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.8688, allocations: 1.969 kB / 1.078 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.8688, allocations: 3.531 kB / 1.078 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.8688, allocations: 1.844 kB / 1.078 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8688, allocations: 3.438 kB / 1.078 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.8692, allocations: 309.6 kB / 1.078 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.8693, allocations: 118 kB / 1.078 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.8694, allocations: 10.25 kB / 1.078 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.8696, allocations: 18.55 kB / 1.078 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.8697, allocations: 16.25 kB / 1.078 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.8697, allocations: 5.938 kB / 1.078 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002635/0.8699, allocations: 223.3 kB / 1.079 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.87, allocations: 0.9375 kB / 1.079 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006449/0.8706, allocations: 132.3 kB / 1.079 GB, free: 12.84 MB / 0.7136 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.0009525/0.8716, allocations: 0.9131 MB / 1.08 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006278/0.8722, allocations: 262.8 kB / 1.08 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8722, allocations: 1.594 kB / 1.08 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.8724, allocations: 68.58 kB / 1.08 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009638/0.8734, allocations: 141.2 kB / 1.08 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.877, allocations: 2.88 MB / 1.083 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.8774, allocations: 0.7708 MB / 1.084 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003778/0.8778, allocations: 88.02 kB / 1.084 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.878, allocations: 86.45 kB / 1.084 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of SimCode: time 4.41e-07/0.878, allocations: 0 / 1.084 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4239/1.302, allocations: 7.249 MB / 1.091 GB, free: 9 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/1.302, allocations: 249.6 kB / 1.091 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/3.348, allocations: 4 kB / 1.091 GB, free: 8.734 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)