Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.611/1.611, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.00125/0.00125, allocations: 180.9 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.3 MB / 0.626 GB, free: 7.18 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.0009089/0.000909, allocations: 94.81 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.891e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8571/0.8571, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.146/6.003, allocations: 2.08 GB / 3.054 GB, free: 64.52 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/6.004, allocations: 88.8 kB / 3.054 GB, free: 64.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.347/8.35, allocations: 477.7 MB / 3.52 GB, free: 230.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.603e-06/8.35, allocations: 0.8438 kB / 3.52 GB, free: 230.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.792e-05/8.35, allocations: 18.19 kB / 3.52 GB, free: 230.1 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.002371/8.353, allocations: 1.027 MB / 3.521 GB, free: 229.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/8.353, allocations: 9.562 kB / 3.521 GB, free: 229.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/8.355, allocations: 272.6 kB / 3.521 GB, free: 229.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/8.356, allocations: 0.6073 MB / 3.522 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/8.356, allocations: 18.14 kB / 3.522 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.072e-05/8.356, allocations: 33.44 kB / 3.522 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008687/8.357, allocations: 443.9 kB / 3.523 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009381/8.358, allocations: 0.5116 MB / 3.523 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/8.358, allocations: 1.25 kB / 3.523 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/8.358, allocations: 0.5156 kB / 3.523 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/8.358, allocations: 22.06 kB / 3.523 GB, free: 229.4 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.003022/8.361, allocations: 2.309 MB / 3.525 GB, free: 228.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005502/8.362, allocations: 325.8 kB / 3.526 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/8.362, allocations: 201.5 kB / 3.526 GB, free: 228.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005387/8.363, allocations: 303.8 kB / 3.526 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/8.363, allocations: 39.67 kB / 3.526 GB, free: 227.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 3.357e-06/8.363, allocations: 3.844 kB / 3.526 GB, free: 227.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.001153/8.364, allocations: 423.2 kB / 3.527 GB, free: 227.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/8.364, allocations: 63.66 kB / 3.527 GB, free: 227.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/8.365, allocations: 372.5 kB / 3.527 GB, free: 227.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/8.365, allocations: 26.92 kB / 3.527 GB, free: 227.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/8.365, allocations: 322.8 kB / 3.527 GB, free: 227.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/8.365, allocations: 133.3 kB / 3.527 GB, free: 227.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/8.365, allocations: 0.6875 kB / 3.527 GB, free: 227.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.00013/8.365, allocations: 371 kB / 3.528 GB, free: 227 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/8.365, allocations: 134.6 kB / 3.528 GB, free: 227 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/8.366, allocations: 263.1 kB / 3.528 GB, free: 226.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/8.366, allocations: 204 kB / 3.528 GB, free: 226.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/8.366, allocations: 0.9062 kB / 3.528 GB, free: 226.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008789/8.367, allocations: 469.2 kB / 3.529 GB, free: 226.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002255/8.367, allocations: 0.8829 MB / 3.53 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/8.367, allocations: 5.688 kB / 3.53 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/8.367, allocations: 5.062 kB / 3.53 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/8.368, allocations: 108.4 kB / 3.53 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003079/8.368, allocations: 0.6034 MB / 3.53 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007187/8.369, allocations: 60.42 kB / 3.53 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/8.369, allocations: 20.62 kB / 3.53 GB, free: 225.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/8.369, allocations: 6.031 kB / 3.53 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000796/8.37, allocations: 387.4 kB / 3.531 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/8.37, allocations: 5.75 kB / 3.531 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/8.37, allocations: 6.188 kB / 3.531 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/8.37, allocations: 98.7 kB / 3.531 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/8.37, allocations: 9.078 kB / 3.531 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005748/8.371, allocations: 58.39 kB / 3.531 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/8.371, allocations: 22.33 kB / 3.531 GB, free: 225.3 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.000152/8.371, allocations: 124.3 kB / 3.531 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007735/8.372, allocations: 391.7 kB / 3.531 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-05/8.372, allocations: 55.91 kB / 3.532 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008852/8.373, allocations: 428.3 kB / 3.532 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/8.373, allocations: 4.844 kB / 3.532 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/8.373, allocations: 3.938 kB / 3.532 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006945/8.374, allocations: 0.6653 MB / 3.533 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/8.376, allocations: 1.152 MB / 3.534 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/8.376, allocations: 5.25 kB / 3.534 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005582/8.376, allocations: 109.5 kB / 3.534 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/8.377, allocations: 3.25 kB / 3.534 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/8.377, allocations: 8.078 kB / 3.534 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002246/8.377, allocations: 0.595 MB / 3.534 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/8.377, allocations: 5.625 kB / 3.534 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/8.378, allocations: 0.8232 MB / 3.535 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/8.378, allocations: 179.9 kB / 3.535 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/8.378, allocations: 7 kB / 3.535 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/8.379, allocations: 48.02 kB / 3.535 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.133e-05/8.379, allocations: 26.2 kB / 3.535 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/8.379, allocations: 13.44 kB / 3.536 GB, free: 223.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003615/8.379, allocations: 287.7 kB / 3.536 GB, free: 223.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.91e-07/8.379, allocations: 3.625 kB / 3.536 GB, free: 223.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001546/8.381, allocations: 441 kB / 3.536 GB, free: 223.1 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.003801/8.385, allocations: 3.307 MB / 3.539 GB, free: 221.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001406/8.386, allocations: 0.5813 MB / 3.54 GB, free: 221.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/8.386, allocations: 1 kB / 3.54 GB, free: 221.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000348/8.386, allocations: 186 kB / 3.54 GB, free: 221.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/8.388, allocations: 328.3 kB / 3.54 GB, free: 221.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/8.391, allocations: 1.235 MB / 3.542 GB, free: 221.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/8.392, allocations: 0.9595 MB / 3.543 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001017/8.393, allocations: 235 kB / 3.543 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/8.393, allocations: 220.6 kB / 3.543 GB, free: 220.4 MB / 0.948 GB Notification: Performance of SimCode: time 9.22e-07/8.393, allocations: 2.781 kB / 3.543 GB, free: 220.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06133/8.454, allocations: 26.52 MB / 3.569 GB, free: 219.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/8.455, allocations: 158.2 kB / 3.569 GB, free: 219.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.106/11.56, allocations: 3.938 kB / 3.569 GB, free: 219.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)