Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.732/1.732, allocations: 285.6 MB / 293.1 MB, free: 10.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 172.9 kB / 361.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007966/0.0007965, allocations: 82.58 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.732e-05/1.732e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6088/0.6088, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.464/5.073, allocations: 2.061 GB / 3.025 GB, free: 100.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/5.073, allocations: 84.92 kB / 3.025 GB, free: 100.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.017/6.09, allocations: 240 MB / 3.259 GB, free: 247 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.535e-06/6.09, allocations: 0 / 3.259 GB, free: 247 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.12e-05/6.09, allocations: 8 kB / 3.259 GB, free: 247 MB / 0.948 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.001609/6.092, allocations: 0.6306 MB / 3.26 GB, free: 246.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/6.092, allocations: 11.97 kB / 3.26 GB, free: 246.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/6.093, allocations: 152.5 kB / 3.26 GB, free: 246.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006388/6.094, allocations: 326.5 kB / 3.261 GB, free: 245.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/6.094, allocations: 4.859 kB / 3.261 GB, free: 245.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/6.094, allocations: 16 kB / 3.261 GB, free: 245.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003024/6.094, allocations: 140.8 kB / 3.261 GB, free: 245.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/6.094, allocations: 234.6 kB / 3.261 GB, free: 245.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/6.094, allocations: 0 / 3.261 GB, free: 245.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/6.094, allocations: 0 / 3.261 GB, free: 245.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/6.094, allocations: 4 kB / 3.261 GB, free: 245.4 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.001382/6.096, allocations: 1.145 MB / 3.262 GB, free: 244.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/6.096, allocations: 102.5 kB / 3.262 GB, free: 244.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/6.096, allocations: 60.84 kB / 3.262 GB, free: 244 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004605/6.097, allocations: 303.2 kB / 3.262 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/6.097, allocations: 38.56 kB / 3.262 GB, free: 243.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 2.405e-06/6.097, allocations: 0 / 3.262 GB, free: 243.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0006261/6.097, allocations: 189.9 kB / 3.263 GB, free: 243.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/6.097, allocations: 55.41 kB / 3.263 GB, free: 243.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/6.098, allocations: 210.6 kB / 3.263 GB, free: 243.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/6.098, allocations: 25.7 kB / 3.263 GB, free: 243.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.431e-05/6.098, allocations: 184 kB / 3.263 GB, free: 242.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/6.098, allocations: 55.2 kB / 3.263 GB, free: 242.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-06/6.098, allocations: 0 / 3.263 GB, free: 242.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.803e-05/6.098, allocations: 334.8 kB / 3.263 GB, free: 242.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/6.098, allocations: 44.38 kB / 3.264 GB, free: 242.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/6.098, allocations: 111.9 kB / 3.264 GB, free: 242.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/6.098, allocations: 87.92 kB / 3.264 GB, free: 242.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/6.098, allocations: 4 kB / 3.264 GB, free: 242.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003865/6.099, allocations: 210.2 kB / 3.264 GB, free: 242 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/6.099, allocations: 8 kB / 3.264 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/6.099, allocations: 0 / 3.264 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/6.099, allocations: 4 kB / 3.264 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/6.099, allocations: 39.97 kB / 3.264 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/6.099, allocations: 7.938 kB / 3.264 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/6.099, allocations: 31.92 kB / 3.264 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/6.099, allocations: 15.98 kB / 3.264 GB, free: 241.9 MB / 0.948 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 () * 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 9.118e-05/6.099, allocations: 104.9 kB / 3.264 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003199/6.1, allocations: 171.5 kB / 3.264 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/6.1, allocations: 27.72 kB / 3.264 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/6.1, allocations: 195.5 kB / 3.265 GB, free: 241.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/6.1, allocations: 4 kB / 3.265 GB, free: 241.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/6.1, allocations: 0 / 3.265 GB, free: 241.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/6.1, allocations: 7.891 kB / 3.265 GB, free: 241.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008544/6.101, allocations: 0.6176 MB / 3.265 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/6.101, allocations: 4 kB / 3.265 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/6.101, allocations: 31.92 kB / 3.265 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/6.101, allocations: 7.953 kB / 3.265 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/6.101, allocations: 4 kB / 3.265 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/6.101, allocations: 3.984 kB / 3.265 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/6.101, allocations: 4 kB / 3.265 GB, free: 240.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/6.102, allocations: 475 kB / 3.266 GB, free: 240.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/6.102, allocations: 108.8 kB / 3.266 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/6.102, allocations: 4 kB / 3.266 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/6.102, allocations: 24.11 kB / 3.266 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/6.102, allocations: 11.98 kB / 3.266 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/6.102, allocations: 11.98 kB / 3.266 GB, free: 240 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001248/6.102, allocations: 158 kB / 3.266 GB, free: 239.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/6.102, allocations: 0 / 3.266 GB, free: 239.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006593/6.103, allocations: 151.7 kB / 3.266 GB, free: 239.7 MB / 0.948 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 () * 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.002546/6.106, allocations: 2.561 MB / 3.269 GB, free: 237 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002557/6.106, allocations: 119.9 kB / 3.269 GB, free: 236.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/6.106, allocations: 0 / 3.269 GB, free: 236.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.546e-05/6.106, allocations: 68.17 kB / 3.269 GB, free: 236.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006935/6.107, allocations: 114.7 kB / 3.269 GB, free: 236.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/6.108, allocations: 498.6 kB / 3.269 GB, free: 236.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/6.108, allocations: 0.7835 MB / 3.27 GB, free: 235.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000221/6.108, allocations: 50.03 kB / 3.27 GB, free: 235.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/6.108, allocations: 87.41 kB / 3.27 GB, free: 235.2 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/6.108, allocations: 0 / 3.27 GB, free: 235.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/6.146, allocations: 14.23 MB / 3.284 GB, free: 221.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/6.146, allocations: 175.7 kB / 3.284 GB, free: 220.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/8.536, allocations: 4.031 kB / 3.284 GB, free: 220.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)