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.424/1.424, allocations: 252 MB / 267.3 MB, free: 10.81 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.001075/0.001075, allocations: 162.9 kB / 327 MB, free: 2.082 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.903/1.903, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0009271/0.000927, allocations: 100.2 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003954, allocations: 13.02 kB / 0.7971 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2481, allocations: 106.3 MB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8233/1.072, allocations: 163.1 MB / 1.06 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002851/1.074, allocations: 1.597 MB / 1.062 GB, free: 2.012 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004067/1.075, allocations: 9 kB / 1.062 GB, free: 2.012 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004935/1.075, allocations: 111.9 kB / 1.062 GB, free: 2.012 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00205/1.077, allocations: 0.6599 MB / 1.063 GB, free: 1.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001925/1.079, allocations: 0.5495 MB / 1.063 GB, free: 1.961 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0015/1.081, allocations: 0.9713 MB / 1.064 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/1.081, allocations: 194.2 kB / 1.064 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006891/1.082, allocations: 309.5 kB / 1.064 GB, free: 1.938 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003448/1.082, allocations: 228.5 kB / 1.065 GB, free: 1.938 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/1.082, allocations: 14.53 kB / 1.065 GB, free: 1.938 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002329/1.085, allocations: 1.008 MB / 1.066 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/1.085, allocations: 100.2 kB / 1.066 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00039/1.085, allocations: 181 kB / 1.066 GB, free: 17.9 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/1.087, allocations: 0.7571 MB / 1.067 GB, free: 17.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/1.087, allocations: 3.391 kB / 1.067 GB, free: 17.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.465e-06/1.087, allocations: 0 / 1.067 GB, free: 17.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.923e-06/1.087, allocations: 4 kB / 1.067 GB, free: 17.86 MB / 0.7136 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.001017/1.088, allocations: 0.5944 MB / 1.067 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/1.088, allocations: 8.625 kB / 1.067 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.364e-05/1.088, allocations: 61.38 kB / 1.067 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/1.089, allocations: 153.5 kB / 1.067 GB, free: 17.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/1.09, allocations: 314 kB / 1.068 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.09, allocations: 22.11 kB / 1.068 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/1.09, allocations: 22.47 kB / 1.068 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005642/1.091, allocations: 281.5 kB / 1.068 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/1.091, allocations: 0 / 1.068 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/1.091, allocations: 10.41 kB / 1.068 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/1.091, allocations: 9.812 kB / 1.068 GB, free: 17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/1.091, allocations: 199.6 kB / 1.068 GB, free: 17 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.001835/1.093, allocations: 1.221 MB / 1.07 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/1.093, allocations: 150.1 kB / 1.07 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/1.094, allocations: 96.28 kB / 1.07 GB, free: 16.13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006989/1.094, allocations: 315.2 kB / 1.07 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/1.094, allocations: 35.91 kB / 1.07 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/1.094, allocations: 0 / 1.07 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0009795/1.095, allocations: 297.6 kB / 1.07 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/1.095, allocations: 53.81 kB / 1.07 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/1.096, allocations: 321.6 kB / 1.071 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/1.096, allocations: 27.31 kB / 1.071 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/1.096, allocations: 179.8 kB / 1.071 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/1.096, allocations: 49.17 kB / 1.071 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/1.096, allocations: 5.25 kB / 1.071 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.096, allocations: 338.5 kB / 1.071 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/1.096, allocations: 73.2 kB / 1.071 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/1.097, allocations: 128.7 kB / 1.071 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/1.097, allocations: 204.5 kB / 1.072 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.097, allocations: 0.7188 kB / 1.072 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00059/1.098, allocations: 252.9 kB / 1.072 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/1.098, allocations: 6.781 kB / 1.072 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.098, allocations: 1.891 kB / 1.072 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/1.098, allocations: 2.797 kB / 1.072 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/1.098, allocations: 45.48 kB / 1.072 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/1.098, allocations: 7.016 kB / 1.072 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/1.098, allocations: 39.52 kB / 1.072 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/1.098, allocations: 12.36 kB / 1.072 GB, free: 14.92 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001644/1.099, allocations: 147.2 kB / 1.072 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/1.099, allocations: 29.94 kB / 1.072 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005852/1.099, allocations: 234.2 kB / 1.072 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.099, allocations: 3.359 kB / 1.072 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.099, allocations: 0.7812 kB / 1.072 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/1.099, allocations: 5.156 kB / 1.072 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/1.101, allocations: 0.7056 MB / 1.073 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/1.101, allocations: 6.484 kB / 1.073 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/1.101, allocations: 35.36 kB / 1.073 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/1.101, allocations: 2.469 kB / 1.073 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/1.101, allocations: 3.094 kB / 1.073 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/1.101, allocations: 6.797 kB / 1.073 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.101, allocations: 2.281 kB / 1.073 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000921/1.102, allocations: 461 kB / 1.074 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/1.102, allocations: 116.6 kB / 1.074 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/1.102, allocations: 3.75 kB / 1.074 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/1.102, allocations: 26.27 kB / 1.074 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/1.102, allocations: 15.91 kB / 1.074 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/1.102, allocations: 6.781 kB / 1.074 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003296/1.103, allocations: 225.1 kB / 1.074 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/1.103, allocations: 0 / 1.074 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004952/1.103, allocations: 86.22 kB / 1.074 GB, free: 13.95 MB / 0.7136 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 (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.00152/1.105, allocations: 1.042 MB / 1.075 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005273/1.105, allocations: 185.3 kB / 1.075 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.105, allocations: 0.5625 kB / 1.075 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/1.106, allocations: 94.88 kB / 1.075 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/1.107, allocations: 156 kB / 1.076 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004609/1.111, allocations: 3.069 MB / 1.079 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/1.112, allocations: 0.7808 MB / 1.079 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003624/1.112, allocations: 61.3 kB / 1.079 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/1.112, allocations: 88.83 kB / 1.079 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of SimCode: time 8.71e-07/1.112, allocations: 4 kB / 1.079 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/1.136, allocations: 8.245 MB / 1.087 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/1.136, allocations: 250.3 kB / 1.088 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.547/3.683, allocations: 0 / 1.088 GB, free: 9.898 MB / 0.7136 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)