Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.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.Density,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_Density",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.674/2.674, allocations: 251 MB / 265.9 MB, free: 11.7 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.001531/0.001531, allocations: 176.3 kB / 325.5 MB, free: 2.918 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.307/2.307, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.001143/0.001143, allocations: 103.8 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006633/0.0006634, allocations: 12.06 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2298, allocations: 106.3 MB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.181/7.411, allocations: 2.198 GB / 3.097 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/7.411, allocations: 90.97 kB / 3.097 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.239/9.651, allocations: 470.8 MB / 3.557 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.216e-06/9.651, allocations: 0 / 3.557 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.36e-05/9.651, allocations: 18.94 kB / 3.557 GB, free: 210.6 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.003476/9.654, allocations: 1.142 MB / 3.558 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/9.654, allocations: 7.812 kB / 3.558 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002683/9.655, allocations: 96.64 kB / 3.558 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/9.657, allocations: 264.7 kB / 3.558 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/9.659, allocations: 0.6127 MB / 3.559 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/9.659, allocations: 47.42 kB / 3.559 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/9.66, allocations: 55.16 kB / 3.559 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/9.661, allocations: 0.6194 MB / 3.559 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/9.661, allocations: 3.938 kB / 3.559 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.394e-05/9.661, allocations: 24 kB / 3.559 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/9.661, allocations: 17.31 kB / 3.56 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/9.663, allocations: 0.5041 MB / 3.56 GB, free: 208 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.004269/9.667, allocations: 2.434 MB / 3.562 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000837/9.668, allocations: 363.1 kB / 3.563 GB, free: 205 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006994/9.669, allocations: 306 kB / 3.563 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/9.669, allocations: 38.89 kB / 3.563 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=39): time 3.116e-06/9.669, allocations: 0 / 3.563 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39): time 0.002049/9.671, allocations: 0.6124 MB / 3.564 GB, free: 204 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/9.671, allocations: 55.41 kB / 3.564 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007026/9.672, allocations: 438.1 kB / 3.564 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.553e-05/9.672, allocations: 29.7 kB / 3.564 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/9.672, allocations: 331.4 kB / 3.564 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/9.672, allocations: 141.8 kB / 3.565 GB, free: 203 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/9.672, allocations: 12 kB / 3.565 GB, free: 203 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001129/9.672, allocations: 373.3 kB / 3.565 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/9.673, allocations: 156.8 kB / 3.565 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/9.673, allocations: 284.7 kB / 3.565 GB, free: 202.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/9.674, allocations: 209 kB / 3.566 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/9.674, allocations: 4 kB / 3.566 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001355/9.675, allocations: 0.5124 MB / 3.566 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001879/9.676, allocations: 0.8808 MB / 3.567 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/9.676, allocations: 0 / 3.567 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/9.676, allocations: 4 kB / 3.567 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/9.677, allocations: 111.8 kB / 3.567 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003744/9.677, allocations: 0.5938 MB / 3.568 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/9.678, allocations: 87.58 kB / 3.568 GB, free: 199.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/9.678, allocations: 16 kB / 3.568 GB, free: 199.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/9.678, allocations: 4 kB / 3.568 GB, free: 199.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001187/9.68, allocations: 448.1 kB / 3.568 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/9.68, allocations: 3.953 kB / 3.568 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/9.68, allocations: 8 kB / 3.568 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/9.68, allocations: 103.8 kB / 3.568 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/9.68, allocations: 4 kB / 3.568 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/9.681, allocations: 79.61 kB / 3.568 GB, free: 199 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/9.682, allocations: 19.94 kB / 3.568 GB, free: 199 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005791/9.682, allocations: 320.9 kB / 3.569 GB, free: 198.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/9.682, allocations: 55.34 kB / 3.569 GB, free: 198.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/9.684, allocations: 478.6 kB / 3.569 GB, free: 198.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/9.684, allocations: 4 kB / 3.569 GB, free: 198.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/9.684, allocations: 4 kB / 3.569 GB, free: 198.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001057/9.685, allocations: 0.7032 MB / 3.57 GB, free: 197.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/9.688, allocations: 1.26 MB / 3.571 GB, free: 196 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/9.688, allocations: 8.031 kB / 3.571 GB, free: 196 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00098/9.689, allocations: 107.9 kB / 3.571 GB, free: 195.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/9.689, allocations: 7.984 kB / 3.571 GB, free: 195.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/9.689, allocations: 8 kB / 3.571 GB, free: 195.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000275/9.689, allocations: 0.5938 MB / 3.572 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/9.689, allocations: 12.08 kB / 3.572 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/9.691, allocations: 0.8961 MB / 3.573 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004248/9.692, allocations: 180.4 kB / 3.573 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/9.692, allocations: 8 kB / 3.573 GB, free: 194 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008904/9.693, allocations: 63.75 kB / 3.573 GB, free: 194 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/9.693, allocations: 39.73 kB / 3.573 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.58e-05/9.693, allocations: 16 kB / 3.573 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000581/9.693, allocations: 342.8 kB / 3.573 GB, free: 193.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.01e-07/9.693, allocations: 4 kB / 3.573 GB, free: 193.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00204/9.695, allocations: 497.4 kB / 3.574 GB, free: 193.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00465/9.7, allocations: 3.19 MB / 3.577 GB, free: 190 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002229/9.702, allocations: 0.6478 MB / 3.578 GB, free: 189.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/9.702, allocations: 0 / 3.578 GB, free: 189.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006474/9.703, allocations: 221.1 kB / 3.578 GB, free: 189.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/9.706, allocations: 352.3 kB / 3.578 GB, free: 188.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008045/9.714, allocations: 5.124 MB / 3.583 GB, free: 183.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/9.715, allocations: 0.9654 MB / 3.584 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001244/9.716, allocations: 200.7 kB / 3.584 GB, free: 182.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/9.717, allocations: 223.4 kB / 3.584 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of SimCode: time 8.92e-07/9.717, allocations: 0 / 3.584 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09373/9.81, allocations: 38.14 MB / 3.622 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/9.811, allocations: 238.4 kB / 3.622 GB, free: 144.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.237/14.05, allocations: 0 / 3.622 GB, free: 144.2 MB / 0.8855 GB