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.195/2.195, allocations: 248.7 MB / 256.2 MB, free: 7.07 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.001482/0.001481, allocations: 178.4 kB / 315.4 MB, free: 3.98 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.062/2.062, allocations: 205.3 MB / 0.5662 GB, free: 0.5352 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.001167/0.001166, allocations: 99.22 kB / 0.6704 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.168e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2104, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.107/7.318, allocations: 2.198 GB / 3.082 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/7.318, allocations: 87.27 kB / 3.082 GB, free: 155 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.109/9.427, allocations: 464.8 MB / 3.536 GB, free: 37.11 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.374e-06/9.427, allocations: 0 / 3.536 GB, free: 37.11 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.986e-05/9.427, allocations: 23.94 kB / 3.536 GB, free: 37.09 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002695/9.43, allocations: 1.036 MB / 3.537 GB, free: 36 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/9.43, allocations: 8.031 kB / 3.537 GB, free: 36 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002962/9.433, allocations: 262.8 kB / 3.538 GB, free: 35.74 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/9.435, allocations: 0.609 MB / 3.538 GB, free: 35.09 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/9.435, allocations: 16 kB / 3.538 GB, free: 35.07 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/9.435, allocations: 39.98 kB / 3.538 GB, free: 35.04 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001187/9.436, allocations: 442.8 kB / 3.539 GB, free: 34.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/9.437, allocations: 0.5204 MB / 3.539 GB, free: 34.07 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/9.437, allocations: 0 / 3.539 GB, free: 34.07 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.087e-05/9.437, allocations: 4 kB / 3.539 GB, free: 34.06 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/9.437, allocations: 21.31 kB / 3.539 GB, free: 34.04 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.004236/9.442, allocations: 2.312 MB / 3.541 GB, free: 31.53 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/9.442, allocations: 320.9 kB / 3.542 GB, free: 31.21 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003802/9.443, allocations: 197.5 kB / 3.542 GB, free: 31.01 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007263/9.444, allocations: 303.5 kB / 3.542 GB, free: 30.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/9.444, allocations: 42.88 kB / 3.542 GB, free: 30.61 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=39): time 3.326e-06/9.444, allocations: 4 kB / 3.542 GB, free: 30.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39): time 0.001529/9.445, allocations: 423 kB / 3.543 GB, free: 30.19 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/9.445, allocations: 59.34 kB / 3.543 GB, free: 30.12 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005594/9.446, allocations: 373.2 kB / 3.543 GB, free: 29.75 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/9.446, allocations: 25.7 kB / 3.543 GB, free: 29.71 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/9.446, allocations: 320.3 kB / 3.543 GB, free: 29.39 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/9.446, allocations: 142 kB / 3.544 GB, free: 29.25 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/9.446, allocations: 4 kB / 3.544 GB, free: 29.25 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001073/9.446, allocations: 358.8 kB / 3.544 GB, free: 28.89 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/9.447, allocations: 136.8 kB / 3.544 GB, free: 28.76 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/9.447, allocations: 248.3 kB / 3.544 GB, free: 28.47 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005977/9.448, allocations: 211.7 kB / 3.544 GB, free: 28.27 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/9.448, allocations: 0 / 3.544 GB, free: 28.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001135/9.449, allocations: 468.6 kB / 3.545 GB, free: 27.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002133/9.449, allocations: 0.8693 MB / 3.546 GB, free: 26.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/9.449, allocations: 4 kB / 3.546 GB, free: 26.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/9.449, allocations: 4 kB / 3.546 GB, free: 26.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/9.45, allocations: 119.8 kB / 3.546 GB, free: 26.74 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004078/9.451, allocations: 0.6016 MB / 3.546 GB, free: 26.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/9.452, allocations: 67.64 kB / 3.547 GB, free: 26.05 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.8e-05/9.452, allocations: 20 kB / 3.547 GB, free: 26.03 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/9.452, allocations: 4 kB / 3.547 GB, free: 26.02 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009932/9.453, allocations: 391.8 kB / 3.547 GB, free: 25.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/9.453, allocations: 0 / 3.547 GB, free: 25.64 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/9.453, allocations: 4 kB / 3.547 GB, free: 25.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007278/9.454, allocations: 107.8 kB / 3.547 GB, free: 25.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/9.454, allocations: 7.984 kB / 3.547 GB, free: 25.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/9.455, allocations: 63.92 kB / 3.547 GB, free: 25.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.508e-05/9.455, allocations: 20 kB / 3.547 GB, free: 25.44 MB / 0.8698 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 () * 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.0001734/9.455, allocations: 112.9 kB / 3.547 GB, free: 25.32 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009891/9.456, allocations: 397 kB / 3.548 GB, free: 24.93 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/9.456, allocations: 55.34 kB / 3.548 GB, free: 24.88 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/9.457, allocations: 422.9 kB / 3.548 GB, free: 24.46 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/9.457, allocations: 4 kB / 3.548 GB, free: 24.45 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/9.457, allocations: 3.953 kB / 3.548 GB, free: 24.45 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008643/9.458, allocations: 0.6641 MB / 3.549 GB, free: 23.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/9.461, allocations: 1.154 MB / 3.55 GB, free: 22.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/9.461, allocations: 0 / 3.55 GB, free: 22.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009753/9.462, allocations: 116 kB / 3.55 GB, free: 22.37 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/9.462, allocations: 4 kB / 3.55 GB, free: 22.36 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/9.462, allocations: 7.938 kB / 3.55 GB, free: 22.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002598/9.462, allocations: 0.5898 MB / 3.551 GB, free: 21.74 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/9.462, allocations: 7.969 kB / 3.551 GB, free: 21.73 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/9.464, allocations: 0.8175 MB / 3.551 GB, free: 20.83 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/9.464, allocations: 172.4 kB / 3.552 GB, free: 20.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/9.464, allocations: 11.98 kB / 3.552 GB, free: 20.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008865/9.465, allocations: 47.89 kB / 3.552 GB, free: 20.59 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.766e-05/9.465, allocations: 31.86 kB / 3.552 GB, free: 20.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/9.465, allocations: 19.98 kB / 3.552 GB, free: 20.54 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004321/9.466, allocations: 283 kB / 3.552 GB, free: 20.26 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.51e-07/9.466, allocations: 0 / 3.552 GB, free: 20.26 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001703/9.468, allocations: 443 kB / 3.552 GB, free: 19.83 MB / 0.8698 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 () * 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.00411/9.472, allocations: 3.301 MB / 3.556 GB, free: 16.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001737/9.474, allocations: 0.5734 MB / 3.556 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/9.474, allocations: 0 / 3.556 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004877/9.474, allocations: 188.9 kB / 3.556 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/9.477, allocations: 316.5 kB / 3.557 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/9.48, allocations: 1.236 MB / 3.558 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/9.481, allocations: 0.962 MB / 3.559 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001491/9.482, allocations: 236.6 kB / 3.559 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/9.483, allocations: 219.4 kB / 3.559 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/9.483, allocations: 0 / 3.559 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7141/10.2, allocations: 26.52 MB / 3.585 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/10.2, allocations: 156.1 kB / 3.585 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.624/13.82, allocations: 0 / 3.585 GB, free: 189.2 MB / 0.8698 GB