Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.538/2.538, allocations: 284.9 MB / 292.4 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001385/0.001384, allocations: 165 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.00106, allocations: 93.94 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.054e-05/4.068e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8141/0.8142, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.262/7.077, allocations: 2.079 GB / 3.043 GB, free: 39.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004381/7.077, allocations: 87.92 kB / 3.043 GB, free: 39.16 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.011/10.09, allocations: 477.6 MB / 3.509 GB, free: 231.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.267e-06/10.09, allocations: 0 / 3.509 GB, free: 231.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.136e-05/10.09, allocations: 24.88 kB / 3.509 GB, free: 231.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002856/10.09, allocations: 1.028 MB / 3.51 GB, free: 231.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/10.09, allocations: 10.09 kB / 3.51 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/10.09, allocations: 275.9 kB / 3.51 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/10.1, allocations: 0.6051 MB / 3.511 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/10.1, allocations: 18.19 kB / 3.511 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/10.1, allocations: 37.27 kB / 3.511 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00128/10.1, allocations: 439.4 kB / 3.511 GB, free: 231.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/10.1, allocations: 0.5171 MB / 3.512 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/10.1, allocations: 0 / 3.512 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.815e-05/10.1, allocations: 3.656 kB / 3.512 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.546e-05/10.1, allocations: 21.42 kB / 3.512 GB, free: 231 MB / 0.948 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.004824/10.1, allocations: 2.298 MB / 3.514 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000794/10.11, allocations: 333 kB / 3.515 GB, free: 229.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/10.11, allocations: 195.7 kB / 3.515 GB, free: 229.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007393/10.11, allocations: 306.7 kB / 3.515 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/10.11, allocations: 41.72 kB / 3.515 GB, free: 229.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 2.765e-06/10.11, allocations: 0 / 3.515 GB, free: 229.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.001636/10.11, allocations: 432.5 kB / 3.515 GB, free: 229.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/10.11, allocations: 53.97 kB / 3.516 GB, free: 229.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006034/10.11, allocations: 374 kB / 3.516 GB, free: 229.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.453e-05/10.11, allocations: 26.5 kB / 3.516 GB, free: 229.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/10.11, allocations: 317.5 kB / 3.516 GB, free: 229 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/10.11, allocations: 140.9 kB / 3.516 GB, free: 228.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/10.11, allocations: 0 / 3.516 GB, free: 228.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001251/10.11, allocations: 364.5 kB / 3.517 GB, free: 228.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/10.11, allocations: 139.9 kB / 3.517 GB, free: 228.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/10.11, allocations: 258.4 kB / 3.517 GB, free: 228.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000645/10.11, allocations: 208.1 kB / 3.517 GB, free: 228.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/10.11, allocations: 1.094 kB / 3.517 GB, free: 228.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001297/10.11, allocations: 467.7 kB / 3.518 GB, free: 228.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002124/10.11, allocations: 0.8774 MB / 3.519 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/10.11, allocations: 5.531 kB / 3.519 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/10.11, allocations: 8.156 kB / 3.519 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/10.11, allocations: 113.5 kB / 3.519 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004119/10.11, allocations: 0.6032 MB / 3.519 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/10.12, allocations: 68.09 kB / 3.519 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/10.12, allocations: 20.27 kB / 3.519 GB, free: 226.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/10.12, allocations: 3.719 kB / 3.519 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001202/10.12, allocations: 393.8 kB / 3.52 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/10.12, allocations: 2.375 kB / 3.52 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/10.12, allocations: 8.375 kB / 3.52 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007952/10.12, allocations: 99.7 kB / 3.52 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/10.12, allocations: 4.172 kB / 3.52 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/10.12, allocations: 63.33 kB / 3.52 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.776e-05/10.12, allocations: 20.06 kB / 3.52 GB, free: 226.9 MB / 0.948 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.0001974/10.12, allocations: 123.5 kB / 3.52 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001109/10.12, allocations: 399.5 kB / 3.52 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/10.12, allocations: 55.89 kB / 3.521 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/10.12, allocations: 419.9 kB / 3.521 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/10.12, allocations: 4.812 kB / 3.521 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/10.12, allocations: 0.5625 kB / 3.521 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009965/10.12, allocations: 0.6677 MB / 3.522 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00294/10.13, allocations: 1.149 MB / 3.523 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/10.13, allocations: 2.75 kB / 3.523 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/10.13, allocations: 105.7 kB / 3.523 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/10.13, allocations: 14.27 kB / 3.523 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/10.13, allocations: 5.531 kB / 3.523 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002806/10.13, allocations: 0.5921 MB / 3.523 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/10.13, allocations: 4.656 kB / 3.523 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/10.13, allocations: 0.8378 MB / 3.524 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/10.13, allocations: 174.7 kB / 3.524 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/10.13, allocations: 7.969 kB / 3.524 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008623/10.13, allocations: 47.3 kB / 3.524 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/10.13, allocations: 32 kB / 3.524 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/10.13, allocations: 18.02 kB / 3.524 GB, free: 224.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004881/10.13, allocations: 282.7 kB / 3.525 GB, free: 224.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.81e-07/10.13, allocations: 0 / 3.525 GB, free: 224.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001989/10.13, allocations: 437.3 kB / 3.525 GB, free: 224.7 MB / 0.948 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.00487/10.14, allocations: 3.301 MB / 3.528 GB, free: 223 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002026/10.14, allocations: 0.5723 MB / 3.529 GB, free: 223 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/10.14, allocations: 3.062 kB / 3.529 GB, free: 223 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005696/10.14, allocations: 190.2 kB / 3.529 GB, free: 223 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/10.14, allocations: 325.1 kB / 3.529 GB, free: 223 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/10.15, allocations: 1.231 MB / 3.531 GB, free: 222.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006023/10.15, allocations: 0.9633 MB / 3.532 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001613/10.15, allocations: 232.6 kB / 3.532 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/10.15, allocations: 220.6 kB / 3.532 GB, free: 221.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.172e-06/10.15, allocations: 0 / 3.532 GB, free: 221.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08657/10.24, allocations: 26.53 MB / 3.558 GB, free: 221.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/10.24, allocations: 162.2 kB / 3.558 GB, free: 220.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.899/14.14, allocations: 0 / 3.558 GB, free: 220.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)