Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.243/2.243, allocations: 248.7 MB / 256.2 MB, free: 7.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001508, allocations: 180.8 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 83.48 kB / 0.6704 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.237e-05/2.248e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1929, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.1/7.293, allocations: 2.179 GB / 3.064 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/7.293, allocations: 81.64 kB / 3.064 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.324/8.617, allocations: 232.4 MB / 3.291 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.284e-06/8.617, allocations: 3.125 kB / 3.291 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.2e-05/8.617, allocations: 12.56 kB / 3.291 GB, free: 253.2 MB / 0.8698 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.001205/8.618, allocations: 0.6328 MB / 3.291 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/8.618, allocations: 6.75 kB / 3.291 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/8.62, allocations: 155.1 kB / 3.291 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006216/8.62, allocations: 314.3 kB / 3.292 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/8.621, allocations: 7.688 kB / 3.292 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/8.621, allocations: 15.69 kB / 3.292 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003821/8.621, allocations: 146.8 kB / 3.292 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/8.621, allocations: 219.3 kB / 3.292 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/8.621, allocations: 0 / 3.292 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/8.621, allocations: 3.953 kB / 3.292 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/8.621, allocations: 7.219 kB / 3.292 GB, free: 252.5 MB / 0.8698 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.001581/8.623, allocations: 1.147 MB / 3.293 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/8.623, allocations: 100.6 kB / 3.293 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/8.623, allocations: 66.5 kB / 3.293 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006772/8.624, allocations: 299 kB / 3.294 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/8.624, allocations: 34.27 kB / 3.294 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 2.635e-06/8.624, allocations: 3.625 kB / 3.294 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.000927/8.625, allocations: 195.2 kB / 3.294 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/8.625, allocations: 61.03 kB / 3.294 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/8.625, allocations: 203.7 kB / 3.294 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/8.626, allocations: 25.7 kB / 3.294 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/8.626, allocations: 188.8 kB / 3.294 GB, free: 251 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/8.626, allocations: 50.94 kB / 3.294 GB, free: 251 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/8.626, allocations: 3.719 kB / 3.294 GB, free: 251 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.767e-05/8.626, allocations: 339.7 kB / 3.295 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/8.626, allocations: 41.17 kB / 3.295 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/8.626, allocations: 100.9 kB / 3.295 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/8.626, allocations: 101.9 kB / 3.295 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/8.627, allocations: 0 / 3.295 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006166/8.627, allocations: 210.1 kB / 3.295 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/8.627, allocations: 3.938 kB / 3.295 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/8.627, allocations: 3.781 kB / 3.295 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/8.627, allocations: 3.688 kB / 3.295 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/8.628, allocations: 52.08 kB / 3.295 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/8.628, allocations: 3.031 kB / 3.295 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/8.628, allocations: 25.84 kB / 3.295 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/8.628, allocations: 15.5 kB / 3.295 GB, free: 250.5 MB / 0.8698 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.962e-05/8.628, allocations: 116.3 kB / 3.295 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005381/8.629, allocations: 170.3 kB / 3.295 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/8.629, allocations: 24.09 kB / 3.296 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005967/8.629, allocations: 190.8 kB / 3.296 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/8.629, allocations: 2.906 kB / 3.296 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/8.629, allocations: 0 / 3.296 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/8.629, allocations: 6.641 kB / 3.296 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/8.631, allocations: 0.6181 MB / 3.296 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/8.631, allocations: 0 / 3.296 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/8.631, allocations: 38.42 kB / 3.296 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/8.631, allocations: 3.312 kB / 3.296 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/8.631, allocations: 3.5 kB / 3.296 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/8.631, allocations: 7.922 kB / 3.296 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/8.631, allocations: 4.531 kB / 3.296 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007751/8.632, allocations: 468.3 kB / 3.297 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/8.632, allocations: 115.3 kB / 3.297 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/8.632, allocations: 3.953 kB / 3.297 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/8.632, allocations: 18.84 kB / 3.297 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/8.633, allocations: 19.25 kB / 3.297 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/8.633, allocations: 4.688 kB / 3.297 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001707/8.633, allocations: 162 kB / 3.297 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.4e-07/8.633, allocations: 0 / 3.297 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007733/8.634, allocations: 146.8 kB / 3.297 GB, free: 249.5 MB / 0.8698 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.002796/8.636, allocations: 2.563 MB / 3.3 GB, free: 248 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004076/8.637, allocations: 122.1 kB / 3.3 GB, free: 248 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/8.637, allocations: 0 / 3.3 GB, free: 248 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/8.637, allocations: 71.56 kB / 3.3 GB, free: 248 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/8.638, allocations: 108.7 kB / 3.3 GB, free: 248 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/8.639, allocations: 499.9 kB / 3.301 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/8.64, allocations: 0.7809 MB / 3.301 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003244/8.64, allocations: 52.66 kB / 3.301 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/8.64, allocations: 92.81 kB / 3.301 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of SimCode: time 8.71e-07/8.64, allocations: 0 / 3.301 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05807/8.698, allocations: 14.21 MB / 3.315 GB, free: 246 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/8.699, allocations: 171.4 kB / 3.315 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.073/11.77, allocations: 0 / 3.315 GB, free: 245.8 MB / 0.8698 GB