Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.53/1.53, allocations: 251.9 MB / 266.9 MB, free: 11 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.001172/0.001172, allocations: 179 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.999/1.999, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.0008285/0.0008286, allocations: 105.1 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003842, allocations: 11.94 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.244, allocations: 106.3 MB / 0.9001 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1684/0.4125, allocations: 140.3 MB / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003153/0.4157, allocations: 1.623 MB / 1.039 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003214/0.4161, allocations: 11.94 kB / 1.039 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.4167, allocations: 175.2 kB / 1.039 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.4183, allocations: 0.5258 MB / 1.039 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.4199, allocations: 0.5073 MB / 1.04 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006829/0.4205, allocations: 435.5 kB / 1.04 GB, free: 484 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.4209, allocations: 181.3 kB / 1.04 GB, free: 304 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007463/0.4217, allocations: 335.1 kB / 1.041 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.4219, allocations: 159.3 kB / 1.041 GB, free: 15.81 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.4219, allocations: 12 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009966/0.4229, allocations: 423.3 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.4231, allocations: 83.78 kB / 1.041 GB, free: 15.3 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.638e-05/0.4232, allocations: 89.52 kB / 1.042 GB, free: 15.21 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005879/0.4238, allocations: 395.3 kB / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4238, allocations: 0 / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4238, allocations: 0 / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.4238, allocations: 0 / 1.042 GB, free: 14.82 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009827/0.4248, allocations: 0.6037 MB / 1.043 GB, free: 14.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4248, allocations: 8.031 kB / 1.043 GB, free: 14.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.258e-05/0.4249, allocations: 54.55 kB / 1.043 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.4261, allocations: 159.4 kB / 1.043 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004693/0.4265, allocations: 293.9 kB / 1.043 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.4266, allocations: 28.42 kB / 1.043 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.4266, allocations: 24 kB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.4272, allocations: 271.5 kB / 1.043 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4272, allocations: 3.938 kB / 1.043 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.4272, allocations: 16 kB / 1.043 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4272, allocations: 4 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.4277, allocations: 199.8 kB / 1.044 GB, free: 13.06 MB / 0.698 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.001492/0.4292, allocations: 1.229 MB / 1.045 GB, free: 11.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.4295, allocations: 134.5 kB / 1.045 GB, free: 11.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004506/0.4299, allocations: 141 kB / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.43, allocations: 34.56 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/0.43, allocations: 4 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0008241/0.4308, allocations: 291.5 kB / 1.045 GB, free: 11.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.4309, allocations: 59.41 kB / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.4312, allocations: 312.5 kB / 1.046 GB, free: 10.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.4313, allocations: 33.7 kB / 1.046 GB, free: 10.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.4314, allocations: 176.2 kB / 1.046 GB, free: 10.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.4315, allocations: 55.19 kB / 1.046 GB, free: 10.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.4315, allocations: 4 kB / 1.046 GB, free: 10.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4316, allocations: 338.8 kB / 1.046 GB, free: 10.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.4318, allocations: 75.95 kB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.432, allocations: 118.6 kB / 1.046 GB, free: 9.891 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.4323, allocations: 96.42 kB / 1.047 GB, free: 9.797 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4323, allocations: 0 / 1.047 GB, free: 9.797 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004673/0.4327, allocations: 254.1 kB / 1.047 GB, free: 9.543 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4328, allocations: 10.75 kB / 1.047 GB, free: 9.535 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4328, allocations: 4 kB / 1.047 GB, free: 9.531 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4328, allocations: 0 / 1.047 GB, free: 9.531 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.433, allocations: 47.91 kB / 1.047 GB, free: 9.484 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.433, allocations: 0 / 1.047 GB, free: 9.484 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.4333, allocations: 35.89 kB / 1.047 GB, free: 9.449 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.4333, allocations: 12 kB / 1.047 GB, free: 9.438 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.4335, allocations: 153.7 kB / 1.047 GB, free: 9.277 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.4335, allocations: 31.61 kB / 1.047 GB, free: 9.246 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004775/0.434, allocations: 228.4 kB / 1.047 GB, free: 9.016 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.434, allocations: 0 / 1.047 GB, free: 9.016 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.434, allocations: 3.984 kB / 1.047 GB, free: 9.012 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.434, allocations: 0 / 1.047 GB, free: 9.012 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.4351, allocations: 0.6951 MB / 1.048 GB, free: 8.238 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4351, allocations: 224 / 1.048 GB, free: 8.238 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.4353, allocations: 43.92 kB / 1.048 GB, free: 8.195 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.4353, allocations: 4 kB / 1.048 GB, free: 8.191 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.4353, allocations: 4 kB / 1.048 GB, free: 8.188 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.4353, allocations: 3.984 kB / 1.048 GB, free: 8.184 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4354, allocations: 11.89 kB / 1.048 GB, free: 8.172 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006946/0.4361, allocations: 0.523 MB / 1.049 GB, free: 7.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.4362, allocations: 120.8 kB / 1.049 GB, free: 7.434 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.4362, allocations: 7.953 kB / 1.049 GB, free: 7.426 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.4364, allocations: 23.83 kB / 1.049 GB, free: 7.402 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.4365, allocations: 15.92 kB / 1.049 GB, free: 7.387 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.4365, allocations: 4 kB / 1.049 GB, free: 7.383 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002204/0.4367, allocations: 231.1 kB / 1.049 GB, free: 7.156 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4367, allocations: 0 / 1.049 GB, free: 7.156 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003998/0.4371, allocations: 72 kB / 1.049 GB, free: 7.086 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00145/0.4386, allocations: 1.612 MB / 1.051 GB, free: 5.402 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004158/0.439, allocations: 176 kB / 1.051 GB, free: 5.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.439, allocations: 0 / 1.051 GB, free: 5.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.4392, allocations: 95.8 kB / 1.051 GB, free: 5.137 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007811/0.44, allocations: 169.5 kB / 1.051 GB, free: 4.977 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.4431, allocations: 2.503 MB / 1.053 GB, free: 2.387 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.4435, allocations: 0.7875 MB / 1.054 GB, free: 1.574 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000247/0.4438, allocations: 62.94 kB / 1.054 GB, free: 1.512 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.4439, allocations: 91.41 kB / 1.054 GB, free: 1.422 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/0.4439, allocations: 0 / 1.054 GB, free: 1.422 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4522/0.8961, allocations: 8.208 MB / 1.062 GB, free: 155.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.8964, allocations: 221.3 kB / 1.063 GB, free: 155.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/3.043, allocations: 2.812 kB / 1.063 GB, free: 155.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)