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.766/1.766, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001592/0.001591, allocations: 188.2 kB / 377.1 MB, free: 1.531 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.785/1.785, allocations: 205.4 MB / 0.6366 GB, free: 9.57 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.0008384/0.0008383, allocations: 93.73 kB / 0.7509 GB, free: 62.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004425, allocations: 11.98 kB / 0.8749 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2968, allocations: 116.3 MB / 0.9884 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.243/6.54, allocations: 2.062 GB / 3.051 GB, free: 119.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/6.54, allocations: 91.58 kB / 3.051 GB, free: 119.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.405/7.945, allocations: 243.3 MB / 3.288 GB, free: 224.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.859e-06/7.945, allocations: 0 / 3.288 GB, free: 224.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.986e-05/7.946, allocations: 17.06 kB / 3.288 GB, free: 224.8 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.002435/7.948, allocations: 0.6839 MB / 3.289 GB, free: 224.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.349e-05/7.948, allocations: 9.625 kB / 3.289 GB, free: 224.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/7.948, allocations: 57.33 kB / 3.289 GB, free: 224.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/7.95, allocations: 148.2 kB / 3.289 GB, free: 224.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009612/7.951, allocations: 315.6 kB / 3.289 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/7.951, allocations: 19.98 kB / 3.29 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-05/7.951, allocations: 23.22 kB / 3.29 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008667/7.952, allocations: 274.2 kB / 3.29 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/7.952, allocations: 3.844 kB / 3.29 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/7.952, allocations: 16 kB / 3.29 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/7.952, allocations: 5.906 kB / 3.29 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/7.953, allocations: 193.5 kB / 3.29 GB, free: 223.7 MB / 0.948 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.002596/7.955, allocations: 1.217 MB / 3.291 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/7.956, allocations: 126.8 kB / 3.291 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006217/7.956, allocations: 297.1 kB / 3.292 GB, free: 222.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/7.957, allocations: 34.56 kB / 3.292 GB, free: 222.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 4.338e-06/7.957, allocations: 1.344 kB / 3.292 GB, free: 222.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.001114/7.958, allocations: 274.6 kB / 3.292 GB, free: 222.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/7.958, allocations: 54.12 kB / 3.292 GB, free: 222.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004595/7.958, allocations: 287.2 kB / 3.292 GB, free: 222 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/7.958, allocations: 27.39 kB / 3.292 GB, free: 222 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/7.958, allocations: 180.4 kB / 3.292 GB, free: 221.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.475e-05/7.958, allocations: 59.16 kB / 3.292 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/7.958, allocations: 1.125 kB / 3.292 GB, free: 221.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001256/7.959, allocations: 337.3 kB / 3.293 GB, free: 221.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/7.959, allocations: 63.92 kB / 3.293 GB, free: 221.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/7.959, allocations: 134.1 kB / 3.293 GB, free: 221.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/7.959, allocations: 81.81 kB / 3.293 GB, free: 221.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/7.959, allocations: 1.25 kB / 3.293 GB, free: 221.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006417/7.96, allocations: 245 kB / 3.293 GB, free: 221.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/7.96, allocations: 5.406 kB / 3.293 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/7.96, allocations: 2 kB / 3.293 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/7.96, allocations: 2.406 kB / 3.293 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/7.96, allocations: 44.73 kB / 3.293 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/7.96, allocations: 2.375 kB / 3.293 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/7.961, allocations: 46.67 kB / 3.293 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/7.961, allocations: 12.2 kB / 3.293 GB, free: 221.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 () * 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.000198/7.961, allocations: 149.9 kB / 3.294 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/7.961, allocations: 29.62 kB / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005866/7.962, allocations: 217.6 kB / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/7.962, allocations: 5.141 kB / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/7.962, allocations: 0 / 3.294 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/7.962, allocations: 8.844 kB / 3.294 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/7.963, allocations: 0.6701 MB / 3.294 GB, free: 220.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/7.963, allocations: 2.719 kB / 3.294 GB, free: 220.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/7.963, allocations: 41.3 kB / 3.295 GB, free: 220.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/7.964, allocations: 3.406 kB / 3.295 GB, free: 220.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/7.964, allocations: 8.016 kB / 3.295 GB, free: 220.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/7.964, allocations: 2.562 kB / 3.295 GB, free: 220.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/7.964, allocations: 5.344 kB / 3.295 GB, free: 220.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008804/7.964, allocations: 0.5032 MB / 3.295 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/7.965, allocations: 122.3 kB / 3.295 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.477e-05/7.965, allocations: 10.84 kB / 3.295 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/7.965, allocations: 15.25 kB / 3.295 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/7.965, allocations: 17.45 kB / 3.295 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/7.965, allocations: 9.562 kB / 3.295 GB, free: 219.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003217/7.966, allocations: 224.8 kB / 3.295 GB, free: 219.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/7.966, allocations: 1 kB / 3.295 GB, free: 219.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001187/7.967, allocations: 169.5 kB / 3.296 GB, free: 219.7 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 () * 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.003847/7.971, allocations: 2.455 MB / 3.298 GB, free: 218 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005598/7.971, allocations: 169.4 kB / 3.298 GB, free: 218 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/7.971, allocations: 0 / 3.298 GB, free: 218 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/7.971, allocations: 89.72 kB / 3.298 GB, free: 217.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/7.972, allocations: 151.2 kB / 3.298 GB, free: 217.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005428/7.978, allocations: 2.49 MB / 3.301 GB, free: 216.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006346/7.979, allocations: 0.7833 MB / 3.302 GB, free: 215.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005954/7.979, allocations: 61.66 kB / 3.302 GB, free: 215.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/7.979, allocations: 92.03 kB / 3.302 GB, free: 215.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.675e-06/7.979, allocations: 4.969 kB / 3.302 GB, free: 215.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06029/8.04, allocations: 24.27 MB / 3.325 GB, free: 208 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/8.04, allocations: 207.9 kB / 3.326 GB, free: 207.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.101/11.14, allocations: 0 / 3.326 GB, free: 207.8 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)