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.591/1.591, allocations: 285.4 MB / 298 MB, free: 5.953 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.001054/0.001054, allocations: 184.8 kB / 366.4 MB, free: 2.078 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.403/1.403, allocations: 205.1 MB / 0.6248 GB, free: 7.727 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.0008203/0.0008203, allocations: 95.94 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.13e-05/4.163e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6522/0.6522, allocations: 115.3 MB / 0.971 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.346/4.998, allocations: 2.061 GB / 3.032 GB, free: 78.84 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/4.999, allocations: 83.95 kB / 3.032 GB, free: 78.76 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9663/5.965, allocations: 243 MB / 3.27 GB, free: 219.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.623e-06/5.965, allocations: 0 / 3.27 GB, free: 219.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.932e-05/5.965, allocations: 15.98 kB / 3.27 GB, free: 219.9 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.001139/5.966, allocations: 0.6383 MB / 3.27 GB, free: 219.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/5.966, allocations: 8.031 kB / 3.27 GB, free: 219.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.257e-05/5.966, allocations: 58.55 kB / 3.27 GB, free: 219.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/5.967, allocations: 153.3 kB / 3.27 GB, free: 219 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/5.968, allocations: 317.8 kB / 3.271 GB, free: 218.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/5.968, allocations: 20.95 kB / 3.271 GB, free: 218.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/5.968, allocations: 27.95 kB / 3.271 GB, free: 218.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/5.968, allocations: 247.6 kB / 3.271 GB, free: 218.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/5.968, allocations: 7.922 kB / 3.271 GB, free: 218.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/5.968, allocations: 8 kB / 3.271 GB, free: 218.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/5.968, allocations: 12 kB / 3.271 GB, free: 218.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/5.969, allocations: 160.5 kB / 3.271 GB, free: 218.1 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.001194/5.97, allocations: 1.201 MB / 3.272 GB, free: 216.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/5.97, allocations: 112.6 kB / 3.272 GB, free: 216.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.822e-05/5.97, allocations: 72.78 kB / 3.273 GB, free: 216.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004249/5.97, allocations: 303.2 kB / 3.273 GB, free: 216.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/5.97, allocations: 34.56 kB / 3.273 GB, free: 216.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/5.97, allocations: 0 / 3.273 GB, free: 216.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0004186/5.971, allocations: 178.4 kB / 3.273 GB, free: 216 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/5.971, allocations: 51.41 kB / 3.273 GB, free: 216 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/5.971, allocations: 278.7 kB / 3.273 GB, free: 215.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/5.971, allocations: 29.7 kB / 3.273 GB, free: 215.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/5.971, allocations: 184.1 kB / 3.274 GB, free: 215.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/5.971, allocations: 55.19 kB / 3.274 GB, free: 215.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/5.971, allocations: 8 kB / 3.274 GB, free: 215.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.793e-05/5.971, allocations: 334.8 kB / 3.274 GB, free: 215.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.642e-05/5.972, allocations: 48.36 kB / 3.274 GB, free: 215 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/5.972, allocations: 114.9 kB / 3.274 GB, free: 214.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.919e-05/5.972, allocations: 63.97 kB / 3.274 GB, free: 214.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/5.972, allocations: 4 kB / 3.274 GB, free: 214.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000258/5.972, allocations: 203.5 kB / 3.274 GB, free: 214.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/5.972, allocations: 4 kB / 3.274 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/5.972, allocations: 8.094 kB / 3.274 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/5.972, allocations: 0 / 3.274 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/5.972, allocations: 47.88 kB / 3.274 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/5.972, allocations: 4 kB / 3.274 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/5.973, allocations: 39.72 kB / 3.274 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/5.973, allocations: 12 kB / 3.274 GB, free: 214.5 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 6.55e-05/5.973, allocations: 120.9 kB / 3.275 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/5.973, allocations: 27.62 kB / 3.275 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/5.973, allocations: 174.8 kB / 3.275 GB, free: 214.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/5.973, allocations: 7.938 kB / 3.275 GB, free: 214.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/5.973, allocations: 3.953 kB / 3.275 GB, free: 214.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/5.973, allocations: 0 / 3.275 GB, free: 214.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006943/5.974, allocations: 0.6522 MB / 3.275 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/5.974, allocations: 0 / 3.275 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/5.974, allocations: 36.2 kB / 3.275 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/5.974, allocations: 8 kB / 3.275 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/5.974, allocations: 7.984 kB / 3.275 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/5.974, allocations: 3.938 kB / 3.275 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/5.974, allocations: 4 kB / 3.275 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/5.974, allocations: 453 kB / 3.276 GB, free: 212.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-05/5.974, allocations: 124.7 kB / 3.276 GB, free: 212.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/5.975, allocations: 4 kB / 3.276 GB, free: 212.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/5.975, allocations: 19.92 kB / 3.276 GB, free: 212.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/5.975, allocations: 11.98 kB / 3.276 GB, free: 212.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/5.975, allocations: 8.062 kB / 3.276 GB, free: 212.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000166/5.975, allocations: 230.1 kB / 3.276 GB, free: 212.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/5.975, allocations: 0 / 3.276 GB, free: 212.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006658/5.976, allocations: 167.9 kB / 3.276 GB, free: 212.3 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.00181/5.977, allocations: 2.402 MB / 3.279 GB, free: 209.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002481/5.978, allocations: 140.7 kB / 3.279 GB, free: 209.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/5.978, allocations: 0 / 3.279 GB, free: 209.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.569e-05/5.978, allocations: 67.92 kB / 3.279 GB, free: 209.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007701/5.979, allocations: 158.6 kB / 3.279 GB, free: 209.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008923/5.979, allocations: 0.5298 MB / 3.28 GB, free: 208.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/5.98, allocations: 0.7838 MB / 3.28 GB, free: 208.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001943/5.98, allocations: 54.95 kB / 3.28 GB, free: 208 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/5.98, allocations: 87.41 kB / 3.281 GB, free: 207.9 MB / 0.948 GB Notification: Performance of SimCode: time 3.51e-07/5.98, allocations: 0 / 3.281 GB, free: 207.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04099/6.021, allocations: 27.17 MB / 3.307 GB, free: 180.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/6.021, allocations: 195.1 kB / 3.307 GB, free: 180.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/8.976, allocations: 0 / 3.307 GB, free: 180.7 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)