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.724/1.724, allocations: 288.4 MB / 303.3 MB, free: 8.184 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.001134/0.001135, allocations: 177.4 kB / 372 MB, free: 10.27 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.693/1.693, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0007456/0.0007456, allocations: 94.34 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007071/0.0007072, allocations: 13.31 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2269, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.7431/0.9701, allocations: 168.3 MB / 1.144 GB, free: 12.89 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.9809, allocations: 6.491 MB / 1.15 GB, free: 10.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.9822, allocations: 24.47 kB / 1.15 GB, free: 10.65 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.9833, allocations: 269.7 kB / 1.151 GB, free: 10.47 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003882/0.9872, allocations: 1.051 MB / 1.152 GB, free: 9.77 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.9904, allocations: 0.8375 MB / 1.152 GB, free: 9.359 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003528/0.9939, allocations: 2.283 MB / 1.155 GB, free: 8.137 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009616/0.9949, allocations: 0.489 MB / 1.155 GB, free: 7.836 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.9968, allocations: 0.6886 MB / 1.156 GB, free: 7.465 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.9979, allocations: 0.5669 MB / 1.156 GB, free: 7.156 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.189e-05/0.998, allocations: 29.97 kB / 1.156 GB, free: 7.156 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0035/1.001, allocations: 1.132 MB / 1.158 GB, free: 6.562 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003872/1.002, allocations: 247.3 kB / 1.158 GB, free: 6.406 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000316/1.002, allocations: 171.8 kB / 1.158 GB, free: 6.312 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/1.004, allocations: 1.149 MB / 1.159 GB, free: 5.605 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.004, allocations: 0 / 1.159 GB, free: 5.605 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.144e-06/1.004, allocations: 0 / 1.159 GB, free: 5.605 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.051e-05/1.004, allocations: 2.938 kB / 1.159 GB, free: 5.605 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.002115/1.006, allocations: 1.021 MB / 1.16 GB, free: 4.781 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/1.006, allocations: 9.75 kB / 1.16 GB, free: 4.781 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/1.007, allocations: 93.83 kB / 1.16 GB, free: 4.699 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/1.008, allocations: 273.5 kB / 1.16 GB, free: 4.574 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/1.01, allocations: 0.5509 MB / 1.161 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.572e-05/1.01, allocations: 44.5 kB / 1.161 GB, free: 4.098 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/1.01, allocations: 60.45 kB / 1.161 GB, free: 4.074 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/1.011, allocations: 0.6344 MB / 1.162 GB, free: 3.691 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/1.011, allocations: 1 kB / 1.162 GB, free: 3.691 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.835e-05/1.011, allocations: 20.94 kB / 1.162 GB, free: 3.676 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/1.011, allocations: 22.48 kB / 1.162 GB, free: 3.672 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/1.012, allocations: 0.5326 MB / 1.162 GB, free: 3.414 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.003587/1.016, allocations: 2.452 MB / 1.165 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007468/1.017, allocations: 380.7 kB / 1.165 GB, free: 1.066 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/1.017, allocations: 241.3 kB / 1.165 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006363/1.018, allocations: 321 kB / 1.166 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/1.018, allocations: 37.62 kB / 1.166 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 3.948e-06/1.018, allocations: 3.984 kB / 1.166 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001548/1.019, allocations: 0.6235 MB / 1.166 GB, free: 296 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/1.019, allocations: 66.73 kB / 1.166 GB, free: 220 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007/1.02, allocations: 498.8 kB / 1.167 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/1.02, allocations: 32.45 kB / 1.167 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/1.02, allocations: 321.4 kB / 1.167 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/1.021, allocations: 138.9 kB / 1.167 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/1.021, allocations: 10.47 kB / 1.167 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.021, allocations: 364.1 kB / 1.168 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/1.021, allocations: 171.7 kB / 1.168 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004693/1.022, allocations: 288.7 kB / 1.168 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/1.022, allocations: 217.5 kB / 1.168 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.022, allocations: 1.156 kB / 1.168 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009659/1.023, allocations: 0.5227 MB / 1.169 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/1.023, allocations: 157 kB / 1.169 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.023, allocations: 2.75 kB / 1.169 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/1.023, allocations: 8.078 kB / 1.169 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/1.024, allocations: 146.6 kB / 1.169 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004406/1.025, allocations: 0.5916 MB / 1.17 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007048/1.025, allocations: 80.58 kB / 1.17 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/1.025, allocations: 17.75 kB / 1.17 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/1.025, allocations: 4.125 kB / 1.17 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008453/1.026, allocations: 463.8 kB / 1.17 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/1.026, allocations: 11.09 kB / 1.17 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/1.026, allocations: 9.062 kB / 1.17 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/1.027, allocations: 127.2 kB / 1.17 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.027, allocations: 12.72 kB / 1.17 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005354/1.027, allocations: 68.64 kB / 1.17 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/1.027, allocations: 17.67 kB / 1.17 GB, free: 13.27 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.000391/1.028, allocations: 307.9 kB / 1.171 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/1.028, allocations: 60.12 kB / 1.171 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009647/1.029, allocations: 490.6 kB / 1.171 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.029, allocations: 8.219 kB / 1.171 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.029, allocations: 11.88 kB / 1.171 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008714/1.03, allocations: 0.7084 MB / 1.172 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/1.032, allocations: 1.283 MB / 1.173 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/1.032, allocations: 7.078 kB / 1.173 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/1.032, allocations: 137.4 kB / 1.173 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/1.032, allocations: 7.266 kB / 1.173 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/1.032, allocations: 12.69 kB / 1.173 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000368/1.033, allocations: 0.5906 MB / 1.174 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.033, allocations: 3.25 kB / 1.174 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/1.034, allocations: 0.8352 MB / 1.175 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/1.034, allocations: 181.6 kB / 1.175 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.146e-05/1.034, allocations: 9.125 kB / 1.175 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004603/1.035, allocations: 48.61 kB / 1.175 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/1.035, allocations: 33.64 kB / 1.175 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/1.035, allocations: 18.05 kB / 1.175 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003952/1.035, allocations: 351 kB / 1.175 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/1.035, allocations: 0 / 1.175 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001048/1.036, allocations: 365 kB / 1.176 GB, free: 9.469 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.001917/1.038, allocations: 1.471 MB / 1.177 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001465/1.04, allocations: 0.6779 MB / 1.178 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.04, allocations: 3.938 kB / 1.178 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004136/1.04, allocations: 233.6 kB / 1.178 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/1.042, allocations: 361.4 kB / 1.178 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005941/1.048, allocations: 3.824 MB / 1.182 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005862/1.049, allocations: 0.9516 MB / 1.183 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008016/1.049, allocations: 201 kB / 1.183 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/1.05, allocations: 226.2 kB / 1.183 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of SimCode: time 9.01e-07/1.05, allocations: 4 kB / 1.183 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03655/1.086, allocations: 17.51 MB / 1.2 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/1.086, allocations: 250.4 kB / 1.201 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.767/3.853, allocations: 0 / 1.201 GB, free: 7.762 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)