Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.617/1.617, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.00119/0.00119, allocations: 173 kB / 366.7 MB, free: 1.664 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.49/1.49, allocations: 205.2 MB / 0.626 GB, free: 7.207 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.0008936/0.0008937, allocations: 90.5 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.974e-05, allocations: 8 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6774/0.6774, allocations: 116.3 MB / 0.9733 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.74/5.418, allocations: 2.061 GB / 3.035 GB, free: 68.33 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/5.418, allocations: 87.95 kB / 3.035 GB, free: 68.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.026/6.445, allocations: 240 MB / 3.269 GB, free: 211.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.352e-06/6.445, allocations: 3.938 kB / 3.269 GB, free: 211.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.423e-05/6.445, allocations: 8 kB / 3.269 GB, free: 211.3 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.0009205/6.446, allocations: 0.6267 MB / 3.27 GB, free: 210.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/6.446, allocations: 15.97 kB / 3.27 GB, free: 210.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/6.447, allocations: 149.3 kB / 3.27 GB, free: 210.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/6.447, allocations: 325.7 kB / 3.27 GB, free: 210.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/6.447, allocations: 11.95 kB / 3.27 GB, free: 210.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/6.447, allocations: 15.98 kB / 3.27 GB, free: 210.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002215/6.448, allocations: 140.8 kB / 3.271 GB, free: 210 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/6.448, allocations: 222.7 kB / 3.271 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/6.448, allocations: 3.938 kB / 3.271 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/6.448, allocations: 0 / 3.271 GB, free: 209.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/6.448, allocations: 8 kB / 3.271 GB, free: 209.7 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.001015/6.449, allocations: 1.14 MB / 3.272 GB, free: 208.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/6.449, allocations: 94.56 kB / 3.272 GB, free: 208.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.475e-05/6.449, allocations: 72.81 kB / 3.272 GB, free: 208.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003992/6.45, allocations: 299.2 kB / 3.272 GB, free: 208 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/6.45, allocations: 34.56 kB / 3.272 GB, free: 207.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/6.45, allocations: 3.938 kB / 3.272 GB, free: 207.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0005445/6.45, allocations: 201.5 kB / 3.273 GB, free: 207.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/6.45, allocations: 51.41 kB / 3.273 GB, free: 207.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/6.45, allocations: 210.3 kB / 3.273 GB, free: 207.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/6.45, allocations: 25.7 kB / 3.273 GB, free: 207.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/6.45, allocations: 188 kB / 3.273 GB, free: 207.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/6.45, allocations: 47.2 kB / 3.273 GB, free: 207.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/6.45, allocations: 0 / 3.273 GB, free: 207.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.155e-05/6.451, allocations: 338.8 kB / 3.273 GB, free: 206.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/6.451, allocations: 40.36 kB / 3.273 GB, free: 206.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.503e-05/6.451, allocations: 111.4 kB / 3.273 GB, free: 206.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/6.451, allocations: 83.92 kB / 3.274 GB, free: 206.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/6.451, allocations: 4 kB / 3.274 GB, free: 206.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003438/6.451, allocations: 213.2 kB / 3.274 GB, free: 206.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/6.451, allocations: 5.188 kB / 3.274 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/6.451, allocations: 8 kB / 3.274 GB, free: 206.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/6.451, allocations: 3.984 kB / 3.274 GB, free: 206.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/6.452, allocations: 43.98 kB / 3.274 GB, free: 206.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/6.452, allocations: 7.891 kB / 3.274 GB, free: 206.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/6.452, allocations: 27.83 kB / 3.274 GB, free: 206.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/6.452, allocations: 20.05 kB / 3.274 GB, free: 206.2 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 7.157e-05/6.452, allocations: 105 kB / 3.274 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003012/6.452, allocations: 173.2 kB / 3.274 GB, free: 206 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/6.452, allocations: 27.7 kB / 3.274 GB, free: 205.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003654/6.453, allocations: 193 kB / 3.274 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/6.453, allocations: 0 / 3.274 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/6.453, allocations: 0 / 3.274 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/6.453, allocations: 3.938 kB / 3.274 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007143/6.453, allocations: 0.6215 MB / 3.275 GB, free: 205 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/6.453, allocations: 0 / 3.275 GB, free: 205 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/6.454, allocations: 40.2 kB / 3.275 GB, free: 205 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/6.454, allocations: 0 / 3.275 GB, free: 205 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/6.454, allocations: 4 kB / 3.275 GB, free: 205 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/6.454, allocations: 11.92 kB / 3.275 GB, free: 205 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/6.454, allocations: 0 / 3.275 GB, free: 205 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/6.454, allocations: 475 kB / 3.275 GB, free: 204.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/6.454, allocations: 112.8 kB / 3.276 GB, free: 204.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/6.454, allocations: 0 / 3.276 GB, free: 204.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/6.454, allocations: 15.98 kB / 3.276 GB, free: 204.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/6.454, allocations: 27.98 kB / 3.276 GB, free: 204.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/6.454, allocations: 4 kB / 3.276 GB, free: 204.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001392/6.455, allocations: 158 kB / 3.276 GB, free: 204.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/6.455, allocations: 4 kB / 3.276 GB, free: 204.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000762/6.455, allocations: 147.8 kB / 3.276 GB, free: 204 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.001851/6.457, allocations: 2.561 MB / 3.278 GB, free: 201.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002033/6.457, allocations: 115.9 kB / 3.279 GB, free: 201.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/6.457, allocations: 0 / 3.279 GB, free: 201.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.363e-05/6.458, allocations: 67.86 kB / 3.279 GB, free: 201.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/6.458, allocations: 115.4 kB / 3.279 GB, free: 201 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008059/6.459, allocations: 499 kB / 3.279 GB, free: 200.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/6.459, allocations: 0.7874 MB / 3.28 GB, free: 199.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001651/6.459, allocations: 54.02 kB / 3.28 GB, free: 199.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/6.459, allocations: 91.41 kB / 3.28 GB, free: 199.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/6.459, allocations: 0 / 3.28 GB, free: 199.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/6.489, allocations: 14.22 MB / 3.294 GB, free: 185.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/6.49, allocations: 167.9 kB / 3.294 GB, free: 185.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/8.796, allocations: 0 / 3.294 GB, free: 185.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)