Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.613/1.613, allocations: 288.4 MB / 303.6 MB, free: 8.055 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.0009595/0.0009596, allocations: 176.5 kB / 372.3 MB, free: 10.16 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.494/1.494, allocations: 205.4 MB / 0.631 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008788/0.0008787, allocations: 94.28 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000615/0.0006152, allocations: 17.73 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2327, allocations: 115.3 MB / 0.9802 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.5825/0.8152, allocations: 168.3 MB / 1.145 GB, free: 12.89 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009565/0.8248, allocations: 6.476 MB / 1.151 GB, free: 10.63 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.8263, allocations: 20.84 kB / 1.151 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.8276, allocations: 301.5 kB / 1.151 GB, free: 10.43 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003921/0.8315, allocations: 1.273 MB / 1.152 GB, free: 9.609 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.8345, allocations: 0.9377 MB / 1.153 GB, free: 9.016 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003435/0.8379, allocations: 2.291 MB / 1.156 GB, free: 7.676 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.8389, allocations: 0.5419 MB / 1.156 GB, free: 7.348 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.8408, allocations: 0.7044 MB / 1.157 GB, free: 6.965 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.8421, allocations: 0.5676 MB / 1.157 GB, free: 6.656 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.953e-05/0.8422, allocations: 29.75 kB / 1.157 GB, free: 6.656 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004909/0.8471, allocations: 2.151 MB / 1.159 GB, free: 5.434 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004274/0.8475, allocations: 247.7 kB / 1.16 GB, free: 5.277 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006188/0.8482, allocations: 392.6 kB / 1.16 GB, free: 5.039 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002184/0.8504, allocations: 1.251 MB / 1.161 GB, free: 4.293 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8504, allocations: 0 / 1.161 GB, free: 4.293 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8504, allocations: 0 / 1.161 GB, free: 4.293 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.8504, allocations: 0 / 1.161 GB, free: 4.293 MB / 0.698 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.001833/0.8522, allocations: 1.018 MB / 1.162 GB, free: 3.469 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.8523, allocations: 10.22 kB / 1.162 GB, free: 3.469 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.8524, allocations: 94.05 kB / 1.162 GB, free: 3.387 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.8542, allocations: 269 kB / 1.163 GB, free: 3.266 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.8552, allocations: 0.5743 MB / 1.163 GB, free: 2.785 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/0.8553, allocations: 39 kB / 1.163 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.8554, allocations: 62.03 kB / 1.163 GB, free: 2.746 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.8566, allocations: 0.6413 MB / 1.164 GB, free: 2.355 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.8567, allocations: 5.031 kB / 1.164 GB, free: 2.352 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/0.8567, allocations: 25.5 kB / 1.164 GB, free: 2.332 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/0.8568, allocations: 18.44 kB / 1.164 GB, free: 2.332 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.8578, allocations: 0.524 MB / 1.165 GB, free: 2.082 MB / 0.698 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.003286/0.8611, allocations: 2.449 MB / 1.167 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006642/0.8618, allocations: 384.5 kB / 1.167 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/0.8622, allocations: 242.1 kB / 1.167 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006116/0.8628, allocations: 324.6 kB / 1.168 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.8629, allocations: 32.97 kB / 1.168 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 2.955e-06/0.8629, allocations: 5.406 kB / 1.168 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.00143/0.8643, allocations: 0.622 MB / 1.168 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.8644, allocations: 59.47 kB / 1.169 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006232/0.865, allocations: 498 kB / 1.169 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.8651, allocations: 33.61 kB / 1.169 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.8653, allocations: 316.9 kB / 1.169 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.8655, allocations: 142.8 kB / 1.169 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.8655, allocations: 10.16 kB / 1.169 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.8657, allocations: 364.6 kB / 1.17 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.8661, allocations: 175.4 kB / 1.17 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.8665, allocations: 295.4 kB / 1.17 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007808/0.8673, allocations: 455 kB / 1.171 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.8674, allocations: 4 kB / 1.171 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009515/0.8683, allocations: 0.528 MB / 1.171 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.8684, allocations: 159.3 kB / 1.171 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.8684, allocations: 2.094 kB / 1.171 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.8685, allocations: 4.125 kB / 1.171 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008086/0.8693, allocations: 141.1 kB / 1.172 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004441/0.8697, allocations: 0.5959 MB / 1.172 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007691/0.8705, allocations: 81.14 kB / 1.172 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.8706, allocations: 17.75 kB / 1.172 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.8706, allocations: 5.781 kB / 1.172 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007681/0.8714, allocations: 468.1 kB / 1.173 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.8714, allocations: 3.984 kB / 1.173 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.8714, allocations: 9.625 kB / 1.173 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.8719, allocations: 132.2 kB / 1.173 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.8719, allocations: 9.062 kB / 1.173 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/0.8725, allocations: 73.03 kB / 1.173 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.8725, allocations: 21.45 kB / 1.173 GB, free: 11.75 MB / 0.7136 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.0003828/0.8729, allocations: 304.7 kB / 1.173 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.712e-05/0.873, allocations: 68.84 kB / 1.173 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008818/0.8739, allocations: 495.5 kB / 1.174 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.8739, allocations: 2.562 kB / 1.174 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.8739, allocations: 0 / 1.174 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007699/0.8747, allocations: 0.7082 MB / 1.174 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.8767, allocations: 1.288 MB / 1.176 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.8767, allocations: 224 / 1.176 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/0.8773, allocations: 139.7 kB / 1.176 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.8773, allocations: 2.938 kB / 1.176 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.8774, allocations: 9.062 kB / 1.176 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003355/0.8777, allocations: 0.5983 MB / 1.176 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.8777, allocations: 6.875 kB / 1.176 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.8789, allocations: 0.8287 MB / 1.177 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.8792, allocations: 184.9 kB / 1.177 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-05/0.8793, allocations: 10.75 kB / 1.177 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/0.8797, allocations: 60.14 kB / 1.177 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.8798, allocations: 25.53 kB / 1.177 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.8799, allocations: 15.17 kB / 1.177 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003733/0.8802, allocations: 346.9 kB / 1.178 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8803, allocations: 0 / 1.178 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009378/0.8812, allocations: 356.8 kB / 1.178 GB, free: 7.965 MB / 0.7136 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.001851/0.8831, allocations: 1.486 MB / 1.18 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001432/0.8845, allocations: 0.6806 MB / 1.18 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8845, allocations: 0 / 1.18 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.8849, allocations: 227.5 kB / 1.18 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.8868, allocations: 367.9 kB / 1.181 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005606/0.8924, allocations: 3.819 MB / 1.185 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.8929, allocations: 0.9482 MB / 1.185 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007719/0.8937, allocations: 209.6 kB / 1.186 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003239/0.8941, allocations: 221.8 kB / 1.186 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.8941, allocations: 0 / 1.186 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.395/1.289, allocations: 17.69 MB / 1.203 GB, free: 5.586 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002937/1.289, allocations: 245.5 kB / 1.203 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.843/4.133, allocations: 0 / 1.203 GB, free: 5.344 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)