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.492/1.492, allocations: 252 MB / 267 MB, free: 10.92 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.001084/0.001084, allocations: 176.5 kB / 326.6 MB, free: 2.191 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.889/1.889, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.000825/0.0008246, allocations: 87.52 kB / 0.6823 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004056, allocations: 9.5 kB / 0.7964 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2639, allocations: 106.3 MB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.8143/1.078, allocations: 168.5 MB / 1.065 GB, free: 4.277 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01162/1.09, allocations: 6.566 MB / 1.071 GB, free: 4.164 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/1.091, allocations: 20.72 kB / 1.071 GB, free: 4.164 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/1.093, allocations: 269.1 kB / 1.072 GB, free: 4.164 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00455/1.097, allocations: 1.066 MB / 1.073 GB, free: 4.109 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00369/1.101, allocations: 0.8472 MB / 1.073 GB, free: 4.086 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005692/1.107, allocations: 2.339 MB / 1.076 GB, free: 4.082 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/1.108, allocations: 0.5022 MB / 1.076 GB, free: 4.004 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002822/1.111, allocations: 0.7021 MB / 1.077 GB, free: 4 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/1.113, allocations: 0.5788 MB / 1.077 GB, free: 3.996 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/1.113, allocations: 29.88 kB / 1.077 GB, free: 3.996 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004469/1.118, allocations: 1.133 MB / 1.079 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004878/1.118, allocations: 256.8 kB / 1.079 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004176/1.118, allocations: 180.5 kB / 1.079 GB, free: 3.945 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002228/1.121, allocations: 1.159 MB / 1.08 GB, free: 3.848 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.121, allocations: 0 / 1.08 GB, free: 3.848 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/1.121, allocations: 0 / 1.08 GB, free: 3.848 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.452e-05/1.121, allocations: 0.7812 kB / 1.08 GB, free: 3.848 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.002324/1.123, allocations: 1.031 MB / 1.081 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/1.123, allocations: 8.969 kB / 1.081 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001767/1.123, allocations: 98.19 kB / 1.081 GB, free: 19.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/1.125, allocations: 279 kB / 1.081 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/1.127, allocations: 0.5521 MB / 1.082 GB, free: 18.83 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/1.127, allocations: 41.22 kB / 1.082 GB, free: 18.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/1.127, allocations: 53.41 kB / 1.082 GB, free: 18.83 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/1.128, allocations: 0.6434 MB / 1.083 GB, free: 18.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/1.128, allocations: 3.281 kB / 1.083 GB, free: 18.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.831e-05/1.128, allocations: 31.73 kB / 1.083 GB, free: 18.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.194e-05/1.128, allocations: 18.34 kB / 1.083 GB, free: 18.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/1.129, allocations: 0.5258 MB / 1.083 GB, free: 18.74 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.003631/1.133, allocations: 2.464 MB / 1.086 GB, free: 17.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/1.134, allocations: 372.9 kB / 1.086 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/1.134, allocations: 242.8 kB / 1.086 GB, free: 17.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006635/1.135, allocations: 321.9 kB / 1.087 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/1.135, allocations: 38.25 kB / 1.087 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 2.976e-06/1.135, allocations: 0 / 1.087 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.001489/1.136, allocations: 0.6283 MB / 1.087 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/1.136, allocations: 57.58 kB / 1.087 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006806/1.137, allocations: 494 kB / 1.088 GB, free: 16.78 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/1.137, allocations: 35.2 kB / 1.088 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/1.137, allocations: 329.3 kB / 1.088 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/1.138, allocations: 141.3 kB / 1.088 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/1.138, allocations: 10.16 kB / 1.088 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000179/1.138, allocations: 362.7 kB / 1.089 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/1.138, allocations: 168.2 kB / 1.089 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004694/1.139, allocations: 281.8 kB / 1.089 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/1.139, allocations: 206.4 kB / 1.089 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.139, allocations: 1.219 kB / 1.089 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001105/1.14, allocations: 0.5291 MB / 1.09 GB, free: 16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/1.14, allocations: 157.7 kB / 1.09 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.14, allocations: 6.297 kB / 1.09 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/1.14, allocations: 5.031 kB / 1.09 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008546/1.141, allocations: 142 kB / 1.09 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004813/1.142, allocations: 0.5964 MB / 1.091 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008059/1.143, allocations: 84.7 kB / 1.091 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/1.143, allocations: 18.31 kB / 1.091 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.143, allocations: 2.938 kB / 1.091 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008436/1.143, allocations: 462.1 kB / 1.091 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/1.144, allocations: 2.625 kB / 1.091 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/1.144, allocations: 6.922 kB / 1.091 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/1.144, allocations: 130.2 kB / 1.091 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/1.144, allocations: 4.906 kB / 1.091 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/1.145, allocations: 78.56 kB / 1.091 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/1.145, allocations: 17.16 kB / 1.091 GB, free: 15.16 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.0004379/1.145, allocations: 309.3 kB / 1.092 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/1.145, allocations: 66.39 kB / 1.092 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008516/1.146, allocations: 489 kB / 1.092 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/1.146, allocations: 2.656 kB / 1.092 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.146, allocations: 0 / 1.092 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008209/1.147, allocations: 0.7103 MB / 1.093 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/1.149, allocations: 1.29 MB / 1.094 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.149, allocations: 4.562 kB / 1.094 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006283/1.15, allocations: 137.1 kB / 1.094 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/1.15, allocations: 3.375 kB / 1.094 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/1.15, allocations: 12.94 kB / 1.094 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003448/1.15, allocations: 0.5951 MB / 1.095 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.15, allocations: 0 / 1.095 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/1.151, allocations: 0.8349 MB / 1.096 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/1.152, allocations: 187.6 kB / 1.096 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.592e-05/1.152, allocations: 9.125 kB / 1.096 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005094/1.152, allocations: 66.17 kB / 1.096 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/1.152, allocations: 25.72 kB / 1.096 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/1.152, allocations: 16.12 kB / 1.096 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004053/1.153, allocations: 346.1 kB / 1.096 GB, free: 13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.302e-06/1.153, allocations: 0 / 1.096 GB, free: 13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001105/1.154, allocations: 362.5 kB / 1.097 GB, free: 12.96 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.001897/1.156, allocations: 1.482 MB / 1.098 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001486/1.157, allocations: 0.6768 MB / 1.099 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.157, allocations: 0 / 1.099 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004041/1.158, allocations: 231.2 kB / 1.099 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/1.159, allocations: 350.6 kB / 1.099 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005894/1.165, allocations: 3.81 MB / 1.103 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/1.166, allocations: 0.9458 MB / 1.104 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008344/1.167, allocations: 207.6 kB / 1.104 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/1.167, allocations: 227.8 kB / 1.104 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/1.167, allocations: 0 / 1.104 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05729/1.224, allocations: 17.5 MB / 1.122 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003861/1.225, allocations: 262.9 kB / 1.122 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.703/3.928, allocations: 4 kB / 1.122 GB, free: 4.695 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)