Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.378/1.378, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009163/0.0009163, allocations: 179.2 kB / 325.8 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007471/0.0007472, allocations: 89.17 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004015, allocations: 12.75 kB / 0.7932 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2365, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.7585/0.9951, allocations: 182.7 MB / 1.075 GB, free: 1.73 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01582/1.011, allocations: 7.112 MB / 1.082 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/1.012, allocations: 22.62 kB / 1.082 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/1.014, allocations: 340.9 kB / 1.082 GB, free: 1.559 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00468/1.018, allocations: 1.363 MB / 1.083 GB, free: 1.488 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003874/1.022, allocations: 1.078 MB / 1.084 GB, free: 1.441 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004218/1.027, allocations: 2.772 MB / 1.087 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009918/1.028, allocations: 0.544 MB / 1.087 GB, free: 1.34 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/1.03, allocations: 0.7426 MB / 1.088 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/1.031, allocations: 0.6094 MB / 1.089 GB, free: 1.328 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.913e-05/1.031, allocations: 29.97 kB / 1.089 GB, free: 1.328 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004957/1.036, allocations: 2.187 MB / 1.091 GB, free: 1.305 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004265/1.037, allocations: 258.8 kB / 1.091 GB, free: 1.301 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007154/1.038, allocations: 385.3 kB / 1.092 GB, free: 1.301 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004026/1.042, allocations: 1.829 MB / 1.093 GB, free: 1.207 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.042, allocations: 2.719 kB / 1.093 GB, free: 1.207 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/1.042, allocations: 0 / 1.093 GB, free: 1.207 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.462e-05/1.042, allocations: 0 / 1.093 GB, free: 1.207 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002016/1.044, allocations: 1.017 MB / 1.094 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/1.044, allocations: 9.438 kB / 1.094 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/1.044, allocations: 99.16 kB / 1.094 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/1.046, allocations: 275.5 kB / 1.095 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009154/1.047, allocations: 0.5681 MB / 1.095 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/1.047, allocations: 42.91 kB / 1.095 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-05/1.047, allocations: 58.97 kB / 1.095 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/1.048, allocations: 0.6516 MB / 1.096 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/1.048, allocations: 0 / 1.096 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/1.048, allocations: 23.56 kB / 1.096 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/1.048, allocations: 17.81 kB / 1.096 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008812/1.049, allocations: 0.5359 MB / 1.097 GB, free: 16.08 MB / 0.7136 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.003036/1.052, allocations: 2.464 MB / 1.099 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/1.053, allocations: 377.6 kB / 1.099 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/1.053, allocations: 237.2 kB / 1.1 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006047/1.053, allocations: 321.9 kB / 1.1 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/1.054, allocations: 41.95 kB / 1.1 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 2.164e-06/1.054, allocations: 4 kB / 1.1 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.001356/1.055, allocations: 0.63 MB / 1.101 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/1.055, allocations: 58.53 kB / 1.101 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/1.056, allocations: 0.4912 MB / 1.101 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/1.056, allocations: 36.08 kB / 1.101 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/1.056, allocations: 318.8 kB / 1.101 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/1.056, allocations: 138.3 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-05/1.056, allocations: 42.5 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002037/1.056, allocations: 367 kB / 1.102 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/1.057, allocations: 170.6 kB / 1.102 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/1.057, allocations: 288.5 kB / 1.102 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007337/1.058, allocations: 457.5 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.058, allocations: 7.938 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008707/1.059, allocations: 0.5242 MB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/1.059, allocations: 161.4 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.059, allocations: 2.938 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.059, allocations: 4.281 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/1.06, allocations: 145.9 kB / 1.104 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000388/1.06, allocations: 0.5904 MB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/1.061, allocations: 79.81 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/1.061, allocations: 22 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/1.061, allocations: 7.031 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007406/1.061, allocations: 468.1 kB / 1.105 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.061, allocations: 1.906 kB / 1.105 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/1.061, allocations: 6.156 kB / 1.105 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/1.062, allocations: 129.6 kB / 1.105 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.062, allocations: 6.406 kB / 1.105 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005461/1.063, allocations: 76.77 kB / 1.105 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/1.063, allocations: 18.44 kB / 1.105 GB, free: 12.4 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004257/1.063, allocations: 314.2 kB / 1.105 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/1.063, allocations: 60.59 kB / 1.105 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008355/1.064, allocations: 486.6 kB / 1.106 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/1.064, allocations: 2.938 kB / 1.106 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.064, allocations: 3.312 kB / 1.106 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007876/1.065, allocations: 0.7167 MB / 1.107 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/1.067, allocations: 1.291 MB / 1.108 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.067, allocations: 7.562 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/1.067, allocations: 135.7 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/1.067, allocations: 3.562 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/1.067, allocations: 12.56 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003026/1.068, allocations: 0.5961 MB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.068, allocations: 5.203 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/1.069, allocations: 0.8318 MB / 1.109 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/1.069, allocations: 184.5 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/1.069, allocations: 13.84 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/1.07, allocations: 50.58 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.618e-05/1.07, allocations: 28.08 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/1.07, allocations: 18.14 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004108/1.07, allocations: 351.9 kB / 1.11 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/1.07, allocations: 4 kB / 1.11 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001037/1.071, allocations: 367.6 kB / 1.11 GB, free: 10.19 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001855/1.073, allocations: 1.48 MB / 1.112 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001424/1.075, allocations: 0.6794 MB / 1.112 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/1.075, allocations: 3.906 kB / 1.112 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003715/1.075, allocations: 222.6 kB / 1.113 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/1.077, allocations: 362.8 kB / 1.113 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007013/1.084, allocations: 5.329 MB / 1.118 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/1.084, allocations: 0.9452 MB / 1.119 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008096/1.085, allocations: 206.5 kB / 1.119 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/1.085, allocations: 227.7 kB / 1.12 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of SimCode: time 6.32e-07/1.085, allocations: 1.969 kB / 1.12 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6358/1.721, allocations: 16.94 MB / 1.136 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003427/1.722, allocations: 280.7 kB / 1.136 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/4.175, allocations: 0 / 1.136 GB, free: 0.6172 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)