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.447/1.447, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.0009771/0.0009772, allocations: 175.2 kB / 325.8 MB, free: 2.699 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.759/1.759, allocations: 205 MB / 0.576 GB, free: 20.96 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.0009214/0.0009213, allocations: 84.61 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002861, allocations: 8.969 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2017, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5838/0.7855, allocations: 164.9 MB / 1.057 GB, free: 1.859 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002828/0.7884, allocations: 1.604 MB / 1.059 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.7886, allocations: 14.34 kB / 1.059 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004249/0.7891, allocations: 114.8 kB / 1.059 GB, free: 1.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.7905, allocations: 0.664 MB / 1.06 GB, free: 1.812 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.7917, allocations: 0.5525 MB / 1.06 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008602/0.7926, allocations: 0.9725 MB / 1.061 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.7929, allocations: 189.9 kB / 1.061 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000469/0.7934, allocations: 304.7 kB / 1.062 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.7936, allocations: 227.9 kB / 1.062 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.7937, allocations: 12.62 kB / 1.062 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.7951, allocations: 1.019 MB / 1.063 GB, free: 1.758 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.7952, allocations: 99.98 kB / 1.063 GB, free: 1.758 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.7954, allocations: 155.9 kB / 1.063 GB, free: 1.758 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009732/0.7963, allocations: 0.7565 MB / 1.064 GB, free: 1.723 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.7964, allocations: 0 / 1.064 GB, free: 1.723 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7964, allocations: 0 / 1.064 GB, free: 1.723 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.7964, allocations: 0 / 1.064 GB, free: 1.723 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.000865/0.7972, allocations: 0.6064 MB / 1.064 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.7973, allocations: 8.219 kB / 1.064 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/0.7974, allocations: 58.8 kB / 1.064 GB, free: 17.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.7984, allocations: 150.5 kB / 1.065 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.7988, allocations: 305.9 kB / 1.065 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.7988, allocations: 16.47 kB / 1.065 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.7989, allocations: 28.47 kB / 1.065 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.7994, allocations: 283.4 kB / 1.065 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.7994, allocations: 1.75 kB / 1.065 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.7995, allocations: 9.531 kB / 1.065 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.7995, allocations: 5.188 kB / 1.065 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.7999, allocations: 210.3 kB / 1.065 GB, free: 16.87 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.001386/0.8013, allocations: 1.22 MB / 1.067 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.8016, allocations: 141.6 kB / 1.067 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.8018, allocations: 100.1 kB / 1.067 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000616/0.8024, allocations: 315.2 kB / 1.067 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.8025, allocations: 33.16 kB / 1.067 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.8025, allocations: 0 / 1.067 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0008095/0.8033, allocations: 304.9 kB / 1.067 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.8033, allocations: 53.16 kB / 1.067 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.8037, allocations: 312.1 kB / 1.068 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.8037, allocations: 30.64 kB / 1.068 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.8039, allocations: 179 kB / 1.068 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.8039, allocations: 62.73 kB / 1.068 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.804, allocations: 20.75 kB / 1.068 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8041, allocations: 338.7 kB / 1.068 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.8043, allocations: 72.06 kB / 1.068 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.8045, allocations: 134.6 kB / 1.069 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.8048, allocations: 196.4 kB / 1.069 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.8049, allocations: 0.5625 kB / 1.069 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005051/0.8054, allocations: 262 kB / 1.069 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.8054, allocations: 5.781 kB / 1.069 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.8054, allocations: 2.141 kB / 1.069 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.8054, allocations: 2.25 kB / 1.069 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.8056, allocations: 43.88 kB / 1.069 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.8057, allocations: 6.312 kB / 1.069 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.8059, allocations: 35.88 kB / 1.069 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.8059, allocations: 18.56 kB / 1.069 GB, free: 14.77 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.0001385/0.8061, allocations: 150.8 kB / 1.069 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.8061, allocations: 29.97 kB / 1.069 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.8066, allocations: 232.9 kB / 1.07 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.8066, allocations: 1.188 kB / 1.07 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8066, allocations: 1.422 kB / 1.07 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.8066, allocations: 1.609 kB / 1.07 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.8077, allocations: 0.6942 MB / 1.07 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.8077, allocations: 2.281 kB / 1.07 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.8079, allocations: 43.95 kB / 1.07 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.8079, allocations: 2.344 kB / 1.07 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.8079, allocations: 7.656 kB / 1.07 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.8079, allocations: 5.125 kB / 1.07 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.8079, allocations: 2.891 kB / 1.07 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006753/0.8086, allocations: 452.2 kB / 1.071 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.8087, allocations: 121 kB / 1.071 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.8088, allocations: 4.688 kB / 1.071 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.809, allocations: 21.83 kB / 1.071 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.809, allocations: 24.67 kB / 1.071 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.809, allocations: 7.969 kB / 1.071 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000245/0.8093, allocations: 226.6 kB / 1.071 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8093, allocations: 0 / 1.071 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003961/0.8097, allocations: 76.97 kB / 1.071 GB, free: 13.8 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.001106/0.8108, allocations: 1.042 MB / 1.072 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004674/0.8113, allocations: 179.1 kB / 1.072 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8113, allocations: 0.6562 kB / 1.072 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.8115, allocations: 101.8 kB / 1.072 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009178/0.8124, allocations: 158.3 kB / 1.073 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.8161, allocations: 3.024 MB / 1.076 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.8165, allocations: 0.7856 MB / 1.076 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002495/0.8167, allocations: 59.38 kB / 1.076 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.8168, allocations: 88.38 kB / 1.076 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.8168, allocations: 0 / 1.076 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3886/1.205, allocations: 8.252 MB / 1.084 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/1.206, allocations: 246.4 kB / 1.085 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.7, allocations: 0 / 1.085 GB, free: 9.766 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)