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.266/2.266, allocations: 251 MB / 265.9 MB, free: 11.69 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.001638/0.001638, allocations: 181.4 kB / 325.5 MB, free: 2.895 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.427/2.427, allocations: 205.4 MB / 0.5764 GB, free: 20.76 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.001214/0.001214, allocations: 95.06 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005027/0.0005028, allocations: 16.34 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2316, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.209/7.441, allocations: 2.179 GB / 3.078 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/7.441, allocations: 87.69 kB / 3.078 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7349/8.176, allocations: 235.7 MB / 3.308 GB, free: 71.33 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.524e-06/8.176, allocations: 4 kB / 3.308 GB, free: 71.32 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.322e-05/8.176, allocations: 11.98 kB / 3.308 GB, free: 71.31 MB / 0.8855 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.001549/8.178, allocations: 0.6739 MB / 3.309 GB, free: 70.59 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/8.178, allocations: 12.03 kB / 3.309 GB, free: 70.58 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.187e-05/8.178, allocations: 62.53 kB / 3.309 GB, free: 70.51 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/8.18, allocations: 147.5 kB / 3.309 GB, free: 70.36 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006509/8.18, allocations: 317.7 kB / 3.31 GB, free: 70.01 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/8.181, allocations: 20.38 kB / 3.31 GB, free: 69.99 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.133e-05/8.181, allocations: 24 kB / 3.31 GB, free: 69.96 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/8.181, allocations: 271.5 kB / 3.31 GB, free: 69.68 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/8.181, allocations: 4 kB / 3.31 GB, free: 69.68 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/8.181, allocations: 11.95 kB / 3.31 GB, free: 69.66 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/8.181, allocations: 4 kB / 3.31 GB, free: 69.66 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006191/8.182, allocations: 195.8 kB / 3.31 GB, free: 69.47 MB / 0.8855 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.001775/8.184, allocations: 1.225 MB / 3.311 GB, free: 68.14 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/8.184, allocations: 122.5 kB / 3.311 GB, free: 68.01 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006721/8.185, allocations: 299.3 kB / 3.312 GB, free: 67.66 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/8.185, allocations: 34.55 kB / 3.312 GB, free: 67.62 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 3.116e-06/8.185, allocations: 0 / 3.312 GB, free: 67.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.001141/8.186, allocations: 270.9 kB / 3.312 GB, free: 67.35 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/8.186, allocations: 59.39 kB / 3.312 GB, free: 67.28 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004073/8.187, allocations: 279.6 kB / 3.312 GB, free: 67 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/8.187, allocations: 29.64 kB / 3.312 GB, free: 66.96 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/8.187, allocations: 184.2 kB / 3.312 GB, free: 66.78 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/8.187, allocations: 59.19 kB / 3.313 GB, free: 66.72 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/8.187, allocations: 4 kB / 3.313 GB, free: 66.71 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.476e-05/8.187, allocations: 342.8 kB / 3.313 GB, free: 66.37 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/8.187, allocations: 64.33 kB / 3.313 GB, free: 66.31 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/8.187, allocations: 127.6 kB / 3.313 GB, free: 66.16 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/8.188, allocations: 87.91 kB / 3.313 GB, free: 66.07 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/8.188, allocations: 0 / 3.313 GB, free: 66.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006949/8.188, allocations: 235.6 kB / 3.313 GB, free: 65.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/8.189, allocations: 16.08 kB / 3.313 GB, free: 65.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/8.189, allocations: 0 / 3.313 GB, free: 65.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/8.189, allocations: 4 kB / 3.313 GB, free: 65.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/8.189, allocations: 36.08 kB / 3.313 GB, free: 65.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/8.189, allocations: 7.938 kB / 3.313 GB, free: 65.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003973/8.189, allocations: 35.81 kB / 3.313 GB, free: 65.74 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-05/8.189, allocations: 15.98 kB / 3.313 GB, free: 65.73 MB / 0.8855 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.0001911/8.19, allocations: 155.3 kB / 3.314 GB, free: 65.57 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/8.19, allocations: 31.56 kB / 3.314 GB, free: 65.54 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006773/8.19, allocations: 217.3 kB / 3.314 GB, free: 65.32 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/8.19, allocations: 4 kB / 3.314 GB, free: 65.31 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/8.19, allocations: 0 / 3.314 GB, free: 65.31 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/8.19, allocations: 3.984 kB / 3.314 GB, free: 65.31 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/8.192, allocations: 0.6756 MB / 3.315 GB, free: 64.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/8.192, allocations: 0 / 3.315 GB, free: 64.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/8.192, allocations: 40.14 kB / 3.315 GB, free: 64.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/8.192, allocations: 4 kB / 3.315 GB, free: 64.51 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/8.192, allocations: 11.95 kB / 3.315 GB, free: 64.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/8.192, allocations: 0 / 3.315 GB, free: 64.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/8.192, allocations: 4 kB / 3.315 GB, free: 64.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009281/8.193, allocations: 0.5023 MB / 3.315 GB, free: 63.91 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/8.193, allocations: 112.8 kB / 3.315 GB, free: 63.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/8.193, allocations: 16.05 kB / 3.315 GB, free: 63.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/8.194, allocations: 23.95 kB / 3.315 GB, free: 63.75 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/8.194, allocations: 19.92 kB / 3.315 GB, free: 63.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/8.194, allocations: 4 kB / 3.315 GB, free: 63.72 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00029/8.194, allocations: 223 kB / 3.315 GB, free: 63.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.01e-07/8.194, allocations: 4 kB / 3.315 GB, free: 63.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000933/8.195, allocations: 167.9 kB / 3.316 GB, free: 63.34 MB / 0.8855 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.002894/8.198, allocations: 2.449 MB / 3.318 GB, free: 60.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006856/8.199, allocations: 175.7 kB / 3.318 GB, free: 60.65 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/8.199, allocations: 0 / 3.318 GB, free: 60.65 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/8.199, allocations: 91.95 kB / 3.318 GB, free: 60.56 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/8.2, allocations: 159.4 kB / 3.318 GB, free: 60.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/8.204, allocations: 2.484 MB / 3.321 GB, free: 57.82 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/8.204, allocations: 0.7877 MB / 3.322 GB, free: 57.01 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003948/8.205, allocations: 63.16 kB / 3.322 GB, free: 56.94 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/8.205, allocations: 87.41 kB / 3.322 GB, free: 56.86 MB / 0.8855 GB Notification: Performance of SimCode: time 1.383e-06/8.205, allocations: 4 kB / 3.322 GB, free: 56.85 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06089/8.266, allocations: 24.27 MB / 3.345 GB, free: 32.77 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/8.266, allocations: 215.5 kB / 3.346 GB, free: 32.52 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.481/11.75, allocations: 6.812 kB / 3.346 GB, free: 32.52 MB / 0.8855 GB