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.75/1.75, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001583/0.001583, allocations: 192.5 kB / 377.1 MB, free: 1.523 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.82/1.82, allocations: 205.4 MB / 0.6366 GB, free: 8.617 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.001047/0.001047, allocations: 95.34 kB / 0.7509 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003923, allocations: 16 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2676, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.833/6.101, allocations: 2.081 GB / 3.069 GB, free: 100.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/6.101, allocations: 93.62 kB / 3.07 GB, free: 100.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.478/8.58, allocations: 483.6 MB / 3.542 GB, free: 178.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.296e-06/8.58, allocations: 0 / 3.542 GB, free: 178.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001335/8.58, allocations: 18.88 kB / 3.542 GB, free: 178.9 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.004312/8.584, allocations: 1.138 MB / 3.543 GB, free: 178.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/8.584, allocations: 12.91 kB / 3.543 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003957/8.585, allocations: 94.94 kB / 3.543 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/8.587, allocations: 274.3 kB / 3.543 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/8.589, allocations: 0.6062 MB / 3.544 GB, free: 178.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-05/8.589, allocations: 42.41 kB / 3.544 GB, free: 178.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/8.589, allocations: 53.28 kB / 3.544 GB, free: 178.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/8.591, allocations: 0.6153 MB / 3.545 GB, free: 178.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/8.591, allocations: 0.875 kB / 3.545 GB, free: 178.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.852e-05/8.591, allocations: 21.25 kB / 3.545 GB, free: 178.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/8.591, allocations: 18.75 kB / 3.545 GB, free: 178.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/8.593, allocations: 0.5049 MB / 3.545 GB, free: 178.1 MB / 0.948 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.005259/8.598, allocations: 2.417 MB / 3.547 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009347/8.599, allocations: 371.5 kB / 3.548 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005898/8.6, allocations: 304.6 kB / 3.548 GB, free: 176.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/8.6, allocations: 40.08 kB / 3.548 GB, free: 176.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 4.438e-06/8.6, allocations: 0 / 3.548 GB, free: 176.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.002022/8.602, allocations: 0.6114 MB / 3.549 GB, free: 176.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/8.602, allocations: 59.39 kB / 3.549 GB, free: 176.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009614/8.603, allocations: 436.5 kB / 3.549 GB, free: 176.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.444e-05/8.603, allocations: 39.98 kB / 3.549 GB, free: 176.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/8.603, allocations: 328.3 kB / 3.55 GB, free: 176 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/8.603, allocations: 136.7 kB / 3.55 GB, free: 176 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/8.603, allocations: 9.344 kB / 3.55 GB, free: 176 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001816/8.604, allocations: 371 kB / 3.55 GB, free: 175.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/8.604, allocations: 165.6 kB / 3.55 GB, free: 175.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/8.604, allocations: 293.5 kB / 3.551 GB, free: 175.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004586/8.605, allocations: 208.2 kB / 3.551 GB, free: 175.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/8.605, allocations: 1.531 kB / 3.551 GB, free: 175.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001304/8.606, allocations: 0.5255 MB / 3.551 GB, free: 175.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002583/8.607, allocations: 0.8776 MB / 3.552 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/8.607, allocations: 2.391 kB / 3.552 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.938e-05/8.607, allocations: 5.312 kB / 3.552 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007654/8.607, allocations: 111 kB / 3.552 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004362/8.608, allocations: 0.5961 MB / 3.553 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/8.609, allocations: 79.44 kB / 3.553 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.658e-05/8.609, allocations: 20.41 kB / 3.553 GB, free: 174 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/8.609, allocations: 5.781 kB / 3.553 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001034/8.61, allocations: 455.8 kB / 3.553 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/8.61, allocations: 4.422 kB / 3.553 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/8.61, allocations: 4.625 kB / 3.553 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/8.611, allocations: 105.5 kB / 3.553 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/8.611, allocations: 10.73 kB / 3.553 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/8.612, allocations: 72.52 kB / 3.554 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.593e-05/8.612, allocations: 19.97 kB / 3.554 GB, free: 173.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 () * 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.0006372/8.612, allocations: 306.7 kB / 3.554 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/8.613, allocations: 63.83 kB / 3.554 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/8.614, allocations: 474.3 kB / 3.554 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/8.614, allocations: 3.719 kB / 3.554 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/8.614, allocations: 4.031 kB / 3.554 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009568/8.615, allocations: 0.709 MB / 3.555 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/8.618, allocations: 1.272 MB / 3.556 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/8.618, allocations: 2.875 kB / 3.556 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006427/8.619, allocations: 112.9 kB / 3.556 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/8.619, allocations: 3.656 kB / 3.556 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/8.619, allocations: 13.05 kB / 3.556 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002676/8.619, allocations: 0.591 MB / 3.557 GB, free: 172.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/8.619, allocations: 2.188 kB / 3.557 GB, free: 172.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/8.621, allocations: 0.9047 MB / 3.558 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005042/8.621, allocations: 182.2 kB / 3.558 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/8.622, allocations: 9.438 kB / 3.558 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006941/8.622, allocations: 50.92 kB / 3.558 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/8.622, allocations: 25.27 kB / 3.558 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/8.623, allocations: 19.31 kB / 3.558 GB, free: 171.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006478/8.623, allocations: 348.4 kB / 3.558 GB, free: 171.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.4e-07/8.623, allocations: 1.781 kB / 3.558 GB, free: 171.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002442/8.626, allocations: 498.8 kB / 3.559 GB, free: 171.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 () * 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.004905/8.631, allocations: 3.182 MB / 3.562 GB, free: 170.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001956/8.633, allocations: 0.6576 MB / 3.563 GB, free: 170.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/8.633, allocations: 0 / 3.563 GB, free: 170.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005283/8.633, allocations: 222.2 kB / 3.563 GB, free: 170.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/8.636, allocations: 359.9 kB / 3.563 GB, free: 170.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007838/8.643, allocations: 5.137 MB / 3.568 GB, free: 167.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/8.644, allocations: 0.9622 MB / 3.569 GB, free: 166.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001062/8.645, allocations: 202.6 kB / 3.569 GB, free: 166.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/8.646, allocations: 224.8 kB / 3.57 GB, free: 166.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.583e-06/8.646, allocations: 0 / 3.57 GB, free: 166.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07533/8.721, allocations: 38.15 MB / 3.607 GB, free: 166.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/8.721, allocations: 232.4 kB / 3.607 GB, free: 165.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.821/12.54, allocations: 7.938 kB / 3.607 GB, free: 165.9 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)