Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.643/2.643, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.00148/0.00148, allocations: 172.9 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001088/0.001088, allocations: 95.56 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.882e-05/2.89e-05, allocations: 8 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8244/0.8244, allocations: 115.2 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.192/7.016, allocations: 2.06 GB / 3.024 GB, free: 57.84 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004131/7.016, allocations: 85.52 kB / 3.024 GB, free: 57.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.467/8.483, allocations: 240 MB / 3.258 GB, free: 210.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.593e-06/8.483, allocations: 0 / 3.258 GB, free: 210.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.658e-05/8.483, allocations: 12 kB / 3.258 GB, free: 210.5 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.001251/8.485, allocations: 0.6281 MB / 3.259 GB, free: 209.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/8.485, allocations: 12.03 kB / 3.259 GB, free: 209.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/8.486, allocations: 156.7 kB / 3.259 GB, free: 209.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/8.487, allocations: 322.2 kB / 3.259 GB, free: 209.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/8.487, allocations: 8 kB / 3.259 GB, free: 209.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/8.487, allocations: 15.94 kB / 3.259 GB, free: 209.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004279/8.488, allocations: 144.8 kB / 3.259 GB, free: 209.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/8.488, allocations: 222.6 kB / 3.26 GB, free: 208.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/8.488, allocations: 4 kB / 3.26 GB, free: 208.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/8.488, allocations: 0 / 3.26 GB, free: 208.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/8.488, allocations: 4 kB / 3.26 GB, free: 208.9 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.001662/8.49, allocations: 1.147 MB / 3.261 GB, free: 207.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/8.49, allocations: 102.5 kB / 3.261 GB, free: 207.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/8.49, allocations: 56.84 kB / 3.261 GB, free: 207.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006629/8.491, allocations: 299.3 kB / 3.261 GB, free: 207.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/8.491, allocations: 46.5 kB / 3.261 GB, free: 207.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 3.197e-06/8.491, allocations: 0 / 3.261 GB, free: 207.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0009191/8.492, allocations: 190.4 kB / 3.261 GB, free: 206.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/8.492, allocations: 55.41 kB / 3.262 GB, free: 206.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/8.492, allocations: 206.3 kB / 3.262 GB, free: 206.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/8.492, allocations: 29.7 kB / 3.262 GB, free: 206.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/8.492, allocations: 184.1 kB / 3.262 GB, free: 206.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/8.492, allocations: 55.14 kB / 3.262 GB, free: 206.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/8.492, allocations: 0 / 3.262 GB, free: 206.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.18e-05/8.493, allocations: 334.8 kB / 3.262 GB, free: 206 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/8.493, allocations: 40.38 kB / 3.262 GB, free: 205.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/8.493, allocations: 111.4 kB / 3.262 GB, free: 205.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/8.493, allocations: 89.3 kB / 3.263 GB, free: 205.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/8.493, allocations: 0 / 3.263 GB, free: 205.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006003/8.494, allocations: 217.2 kB / 3.263 GB, free: 205.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/8.494, allocations: 6.188 kB / 3.263 GB, free: 205.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/8.494, allocations: 4 kB / 3.263 GB, free: 205.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/8.494, allocations: 3.953 kB / 3.263 GB, free: 205.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/8.494, allocations: 51.91 kB / 3.263 GB, free: 205.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/8.494, allocations: 4 kB / 3.263 GB, free: 205.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003565/8.495, allocations: 27.92 kB / 3.263 GB, free: 205.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/8.495, allocations: 8 kB / 3.263 GB, free: 205.4 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 8.853e-05/8.495, allocations: 116.7 kB / 3.263 GB, free: 205.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005029/8.495, allocations: 174.1 kB / 3.263 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.498e-05/8.495, allocations: 27.67 kB / 3.263 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005877/8.496, allocations: 189.3 kB / 3.263 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.311e-06/8.496, allocations: 0 / 3.263 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/8.496, allocations: 8.062 kB / 3.263 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/8.496, allocations: 4 kB / 3.263 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/8.497, allocations: 0.6139 MB / 3.264 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/8.497, allocations: 4.031 kB / 3.264 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/8.498, allocations: 39.86 kB / 3.264 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/8.498, allocations: 7.938 kB / 3.264 GB, free: 204.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/8.498, allocations: 96 / 3.264 GB, free: 204.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/8.498, allocations: 4 kB / 3.264 GB, free: 204.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/8.498, allocations: 4 kB / 3.264 GB, free: 204.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007445/8.499, allocations: 477 kB / 3.264 GB, free: 203.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/8.499, allocations: 112.8 kB / 3.265 GB, free: 203.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.062e-05/8.499, allocations: 4 kB / 3.265 GB, free: 203.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/8.499, allocations: 16.05 kB / 3.265 GB, free: 203.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/8.499, allocations: 19.94 kB / 3.265 GB, free: 203.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/8.499, allocations: 7.938 kB / 3.265 GB, free: 203.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002019/8.499, allocations: 166 kB / 3.265 GB, free: 203.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.31e-07/8.499, allocations: 0 / 3.265 GB, free: 203.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007944/8.5, allocations: 143.8 kB / 3.265 GB, free: 203.1 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.002783/8.503, allocations: 2.554 MB / 3.267 GB, free: 200.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004217/8.504, allocations: 121.1 kB / 3.267 GB, free: 200.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/8.504, allocations: 0 / 3.267 GB, free: 200.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/8.504, allocations: 67.91 kB / 3.268 GB, free: 200.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/8.505, allocations: 105 kB / 3.268 GB, free: 200.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/8.506, allocations: 0.4939 MB / 3.268 GB, free: 199.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/8.506, allocations: 0.7835 MB / 3.269 GB, free: 198.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003247/8.507, allocations: 58.03 kB / 3.269 GB, free: 198.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/8.507, allocations: 91.41 kB / 3.269 GB, free: 198.7 MB / 0.948 GB Notification: Performance of SimCode: time 8.82e-07/8.507, allocations: 0 / 3.269 GB, free: 198.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05831/8.565, allocations: 14.23 MB / 3.283 GB, free: 184.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/8.566, allocations: 162 kB / 3.283 GB, free: 184.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.973/11.54, allocations: 0 / 3.283 GB, free: 184.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)