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.331/2.331, allocations: 248.5 MB / 261.1 MB, free: 6 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.001533/0.001533, allocations: 191.1 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.0017/0.0017, allocations: 98.05 kB / 0.6754 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.628e-05/3.631e-05, allocations: 8 kB / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2011, allocations: 106.2 MB / 0.8907 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.243/7.444, allocations: 2.198 GB / 3.089 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/7.444, allocations: 87.39 kB / 3.089 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.147/9.591, allocations: 470.3 MB / 3.548 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.873e-06/9.591, allocations: 0 / 3.548 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.562e-05/9.591, allocations: 20 kB / 3.548 GB, free: 7.676 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.002833/9.594, allocations: 1.032 MB / 3.549 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/9.594, allocations: 12.03 kB / 3.549 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/9.594, allocations: 98.52 kB / 3.549 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003031/9.597, allocations: 266.8 kB / 3.549 GB, free: 6.219 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/9.599, allocations: 0.6107 MB / 3.55 GB, free: 5.562 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.606e-05/9.599, allocations: 41.31 kB / 3.55 GB, free: 5.523 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/9.6, allocations: 56.34 kB / 3.55 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/9.601, allocations: 0.5973 MB / 3.551 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/9.601, allocations: 0 / 3.551 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.014e-05/9.601, allocations: 20 kB / 3.551 GB, free: 4.836 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/9.601, allocations: 17.31 kB / 3.551 GB, free: 4.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/9.602, allocations: 477 kB / 3.551 GB, free: 4.355 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.004293/9.607, allocations: 2.431 MB / 3.554 GB, free: 1.711 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007837/9.608, allocations: 335.8 kB / 3.554 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004376/9.608, allocations: 217.4 kB / 3.554 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007042/9.609, allocations: 303.6 kB / 3.554 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/9.609, allocations: 38.83 kB / 3.554 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=39): time 3.136e-06/9.609, allocations: 0 / 3.554 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39): time 0.001393/9.61, allocations: 431.3 kB / 3.555 GB, free: 344 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/9.61, allocations: 59.34 kB / 3.555 GB, free: 272 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6269/10.24, allocations: 430.7 kB / 3.555 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/10.24, allocations: 31.89 kB / 3.555 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/10.24, allocations: 329 kB / 3.556 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/10.24, allocations: 139.6 kB / 3.556 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/10.24, allocations: 6.531 kB / 3.556 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001294/10.24, allocations: 368.4 kB / 3.556 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/10.24, allocations: 142.7 kB / 3.556 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/10.24, allocations: 265.9 kB / 3.556 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/10.24, allocations: 184.4 kB / 3.557 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/10.24, allocations: 7.594 kB / 3.557 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001174/10.24, allocations: 484.6 kB / 3.557 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002038/10.24, allocations: 0.8808 MB / 3.558 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/10.24, allocations: 3.969 kB / 3.558 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/10.24, allocations: 6.094 kB / 3.558 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/10.24, allocations: 109.8 kB / 3.558 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004071/10.24, allocations: 0.5972 MB / 3.559 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/10.24, allocations: 87.05 kB / 3.559 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/10.24, allocations: 21 kB / 3.559 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/10.24, allocations: 3.969 kB / 3.559 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001057/10.25, allocations: 406.6 kB / 3.559 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/10.25, allocations: 2.812 kB / 3.559 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/10.25, allocations: 7.094 kB / 3.559 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/10.25, allocations: 100.4 kB / 3.559 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/10.25, allocations: 6.969 kB / 3.559 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/10.25, allocations: 78.52 kB / 3.559 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/10.25, allocations: 18.16 kB / 3.559 GB, free: 187.6 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.0002221/10.25, allocations: 130.3 kB / 3.56 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/10.25, allocations: 62.58 kB / 3.56 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/10.25, allocations: 441.6 kB / 3.56 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/10.25, allocations: 3.781 kB / 3.56 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/10.25, allocations: 4.797 kB / 3.56 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009089/10.25, allocations: 0.6584 MB / 3.561 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/10.25, allocations: 1.231 MB / 3.562 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/10.25, allocations: 1.25 kB / 3.562 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/10.25, allocations: 106.2 kB / 3.562 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/10.25, allocations: 3.625 kB / 3.562 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/10.25, allocations: 14 kB / 3.562 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003179/10.25, allocations: 0.6026 MB / 3.563 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/10.25, allocations: 1.938 kB / 3.563 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/10.26, allocations: 0.8343 MB / 3.563 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005722/10.26, allocations: 189.7 kB / 3.564 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/10.26, allocations: 18.33 kB / 3.564 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009897/10.26, allocations: 48.86 kB / 3.564 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/10.26, allocations: 26.66 kB / 3.564 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.123e-05/10.26, allocations: 17.39 kB / 3.564 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007472/10.26, allocations: 345 kB / 3.564 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.3e-07/10.26, allocations: 0 / 3.564 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002379/10.26, allocations: 0.4916 MB / 3.564 GB, free: 185.4 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.005644/10.27, allocations: 3.125 MB / 3.568 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002154/10.27, allocations: 0.6066 MB / 3.568 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/10.27, allocations: 4.625 kB / 3.568 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006678/10.27, allocations: 193.8 kB / 3.568 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/10.27, allocations: 355.2 kB / 3.569 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/10.28, allocations: 1.278 MB / 3.57 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/10.28, allocations: 0.9602 MB / 3.571 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001879/10.28, allocations: 252 kB / 3.571 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/10.28, allocations: 219.8 kB / 3.571 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.643e-06/10.28, allocations: 0 / 3.571 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/10.4, allocations: 42.64 MB / 3.613 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/10.4, allocations: 204.4 kB / 3.613 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.595/14.99, allocations: 0 / 3.613 GB, free: 181.9 MB / 0.8698 GB