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.522/1.522, allocations: 252 MB / 267 MB, free: 10.98 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.001039/0.001039, allocations: 185.4 kB / 326.6 MB, free: 2.227 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.855/1.855, allocations: 205.4 MB / 0.5777 GB, free: 20.58 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.001068/0.001067, allocations: 87.83 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.000367, allocations: 10.08 kB / 0.7964 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2808, allocations: 106.4 MB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1887/0.4696, allocations: 152.2 MB / 1.049 GB, free: 7.586 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003152/0.4728, allocations: 1.528 MB / 1.05 GB, free: 6.055 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.4731, allocations: 11.88 kB / 1.05 GB, free: 6.043 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004856/0.4736, allocations: 103.3 kB / 1.051 GB, free: 5.941 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.4752, allocations: 0.5092 MB / 1.051 GB, free: 5.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.4768, allocations: 448.3 kB / 1.051 GB, free: 4.992 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000977/0.4778, allocations: 0.826 MB / 1.052 GB, free: 4.164 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003351/0.4782, allocations: 177.2 kB / 1.052 GB, free: 3.992 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006521/0.4788, allocations: 302.8 kB / 1.053 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.4791, allocations: 211.2 kB / 1.053 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.4792, allocations: 20 kB / 1.053 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.4805, allocations: 466.8 kB / 1.053 GB, free: 3.012 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.4807, allocations: 99.69 kB / 1.053 GB, free: 2.914 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.993e-05/0.4808, allocations: 77.58 kB / 1.054 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006333/0.4814, allocations: 439.3 kB / 1.054 GB, free: 2.402 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4814, allocations: 0 / 1.054 GB, free: 2.402 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.376e-06/0.4814, allocations: 0 / 1.054 GB, free: 2.402 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.4814, allocations: 0 / 1.054 GB, free: 2.402 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.001013/0.4825, allocations: 0.6076 MB / 1.055 GB, free: 1.742 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.4825, allocations: 8.031 kB / 1.055 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.525e-05/0.4826, allocations: 58.55 kB / 1.055 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.4838, allocations: 155.4 kB / 1.055 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.4843, allocations: 309.8 kB / 1.055 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.4843, allocations: 16.42 kB / 1.055 GB, free: 1.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.4844, allocations: 28 kB / 1.055 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.4849, allocations: 271.5 kB / 1.055 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4849, allocations: 4 kB / 1.055 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.485, allocations: 8 kB / 1.055 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.485, allocations: 12 kB / 1.055 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.4855, allocations: 211.6 kB / 1.056 GB, free: 0.6133 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.6042/1.09, allocations: 1.198 MB / 1.057 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/1.09, allocations: 150 kB / 1.057 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/1.09, allocations: 98.67 kB / 1.057 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007286/1.091, allocations: 315.1 kB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/1.091, allocations: 32.06 kB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 3.056e-06/1.091, allocations: 0 / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0008746/1.092, allocations: 300 kB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/1.092, allocations: 54.22 kB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/1.092, allocations: 308.5 kB / 1.058 GB, free: 156.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/1.092, allocations: 34.86 kB / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/1.092, allocations: 186.2 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/1.093, allocations: 55.84 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/1.093, allocations: 3.812 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.679e-05/1.093, allocations: 345.2 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/1.093, allocations: 66.31 kB / 1.059 GB, free: 156.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/1.093, allocations: 128.8 kB / 1.059 GB, free: 156.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/1.093, allocations: 87.62 kB / 1.059 GB, free: 156.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.093, allocations: 3.969 kB / 1.059 GB, free: 156.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004611/1.094, allocations: 246.4 kB / 1.059 GB, free: 156.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/1.094, allocations: 5.438 kB / 1.059 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.094, allocations: 4.734 kB / 1.059 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/1.094, allocations: 6.344 kB / 1.059 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/1.094, allocations: 43.03 kB / 1.059 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/1.094, allocations: 2.781 kB / 1.059 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/1.094, allocations: 35 kB / 1.059 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/1.094, allocations: 18.66 kB / 1.059 GB, free: 156.2 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.000142/1.094, allocations: 148.8 kB / 1.059 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/1.094, allocations: 33.05 kB / 1.059 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005052/1.095, allocations: 223 kB / 1.06 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/1.095, allocations: 5.516 kB / 1.06 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.095, allocations: 0 / 1.06 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.095, allocations: 6.375 kB / 1.06 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009976/1.096, allocations: 0.7037 MB / 1.06 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.096, allocations: 0 / 1.06 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/1.096, allocations: 33.22 kB / 1.06 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.096, allocations: 1.172 kB / 1.06 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/1.096, allocations: 9.125 kB / 1.06 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/1.096, allocations: 11.44 kB / 1.06 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.096, allocations: 3.656 kB / 1.06 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/1.097, allocations: 442.5 kB / 1.061 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/1.097, allocations: 127.2 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/1.097, allocations: 10.48 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/1.097, allocations: 16.39 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/1.097, allocations: 16.64 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/1.097, allocations: 5.5 kB / 1.061 GB, free: 155.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002014/1.098, allocations: 228.2 kB / 1.061 GB, free: 155.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.098, allocations: 0 / 1.061 GB, free: 155.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004146/1.098, allocations: 81.08 kB / 1.061 GB, free: 155.2 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.00116/1.099, allocations: 1.041 MB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005253/1.1, allocations: 183.6 kB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.1, allocations: 0 / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/1.1, allocations: 95.03 kB / 1.062 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009157/1.101, allocations: 155.4 kB / 1.063 GB, free: 154.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/1.104, allocations: 1.77 MB / 1.064 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/1.104, allocations: 0.7771 MB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002745/1.104, allocations: 70.19 kB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/1.104, allocations: 89.2 kB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of SimCode: time 2.244e-06/1.104, allocations: 0 / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/1.133, allocations: 8.234 MB / 1.073 GB, free: 151.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/1.133, allocations: 246.6 kB / 1.074 GB, free: 151.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/3.452, allocations: 3.938 kB / 1.074 GB, free: 151.1 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)