Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 106.8 kB / 16.4 MB, free: 6.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 192.7 kB / 19.36 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 245.1 MB, free: 14.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.782/2.782, allocations: 469.8 MB / 0.749 GB, free: 2.984 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 71.89 kB / 1.073 GB, free: 80 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8626/0.8647, allocations: 159.1 MB / 1.229 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2259/1.091, allocations: 185.1 MB / 1.409 GB, free: 11.02 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01079/1.101, allocations: 6.988 MB / 1.416 GB, free: 4.012 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009901/1.103, allocations: 27.81 kB / 1.416 GB, free: 3.984 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/1.104, allocations: 393.5 kB / 1.417 GB, free: 3.598 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004415/1.108, allocations: 1.447 MB / 1.418 GB, free: 2.145 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003611/1.112, allocations: 1.161 MB / 1.419 GB, free: 0.9844 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002994/1.115, allocations: 1.94 MB / 1.421 GB, free: 15.04 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/1.116, allocations: 0.6609 MB / 1.422 GB, free: 14.36 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/1.118, allocations: 0.8249 MB / 1.422 GB, free: 13.54 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/1.119, allocations: 0.6011 MB / 1.423 GB, free: 12.93 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/1.119, allocations: 72 kB / 1.423 GB, free: 12.86 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004031/1.124, allocations: 1.933 MB / 1.425 GB, free: 10.93 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003883/1.124, allocations: 287.2 kB / 1.425 GB, free: 10.64 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000596/1.125, allocations: 430.1 kB / 1.426 GB, free: 10.22 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003559/1.128, allocations: 1.764 MB / 1.427 GB, free: 8.453 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/1.128, allocations: 4 kB / 1.427 GB, free: 8.449 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.483e-06/1.128, allocations: 0 / 1.427 GB, free: 8.449 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.223e-05/1.128, allocations: 0 / 1.427 GB, free: 8.449 MB / 1.139 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.002103/1.13, allocations: 1.186 MB / 1.429 GB, free: 7.211 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.13, allocations: 12.03 kB / 1.429 GB, free: 7.199 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/1.13, allocations: 98.5 kB / 1.429 GB, free: 7.094 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/1.132, allocations: 271.2 kB / 1.429 GB, free: 6.828 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/1.134, allocations: 0.6149 MB / 1.43 GB, free: 6.172 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/1.134, allocations: 49.31 kB / 1.43 GB, free: 6.125 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/1.134, allocations: 55.94 kB / 1.43 GB, free: 6.07 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/1.135, allocations: 0.6362 MB / 1.43 GB, free: 5.418 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/1.135, allocations: 4 kB / 1.43 GB, free: 5.414 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/1.135, allocations: 24 kB / 1.43 GB, free: 5.391 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.701e-05/1.135, allocations: 21.3 kB / 1.43 GB, free: 5.371 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/1.136, allocations: 0.5243 MB / 1.431 GB, free: 4.844 MB / 1.139 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.003502/1.14, allocations: 2.454 MB / 1.433 GB, free: 2.176 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/1.14, allocations: 359.5 kB / 1.434 GB, free: 1.816 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/1.141, allocations: 239.8 kB / 1.434 GB, free: 1.582 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006413/1.141, allocations: 315.5 kB / 1.434 GB, free: 1.219 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/1.141, allocations: 34.89 kB / 1.434 GB, free: 1.176 MB / 1.139 GB Notification: Performance of pre-optimization done (n=39): time 2.365e-06/1.142, allocations: 0 / 1.434 GB, free: 1.176 MB / 1.139 GB Notification: Performance of matching and sorting (n=39): time 0.00147/1.143, allocations: 0.6229 MB / 1.435 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/1.143, allocations: 55.41 kB / 1.435 GB, free: 492 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/1.144, allocations: 0.4988 MB / 1.435 GB, free: 15.97 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/1.144, allocations: 33.7 kB / 1.435 GB, free: 15.93 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/1.144, allocations: 337 kB / 1.436 GB, free: 15.6 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/1.144, allocations: 154.7 kB / 1.436 GB, free: 15.45 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/1.144, allocations: 86.09 kB / 1.436 GB, free: 15.36 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001966/1.145, allocations: 370.8 kB / 1.436 GB, free: 14.98 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/1.145, allocations: 174.5 kB / 1.436 GB, free: 14.81 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/1.145, allocations: 277.5 kB / 1.437 GB, free: 14.5 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008396/1.146, allocations: 452.2 kB / 1.437 GB, free: 14.03 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/1.146, allocations: 4 kB / 1.437 GB, free: 14.03 MB / 1.154 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001005/1.147, allocations: 0.5359 MB / 1.438 GB, free: 13.48 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.147, allocations: 8 kB / 1.438 GB, free: 13.48 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.147, allocations: 0 / 1.438 GB, free: 13.48 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/1.147, allocations: 4 kB / 1.438 GB, free: 13.47 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/1.148, allocations: 136.1 kB / 1.438 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004874/1.149, allocations: 0.5938 MB / 1.438 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/1.149, allocations: 51.66 kB / 1.438 GB, free: 12.67 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/1.149, allocations: 19.98 kB / 1.438 GB, free: 12.65 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006025/1.15, allocations: 350 kB / 1.439 GB, free: 12.31 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004683/1.15, allocations: 287.5 kB / 1.439 GB, free: 11.99 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007949/1.151, allocations: 460.3 kB / 1.439 GB, free: 11.51 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/1.151, allocations: 0 / 1.439 GB, free: 11.51 MB / 1.154 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009685/1.152, allocations: 0.5204 MB / 1.44 GB, free: 10.98 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/1.152, allocations: 4.281 kB / 1.44 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.152, allocations: 11.94 kB / 1.44 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/1.152, allocations: 4 kB / 1.44 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000526/1.153, allocations: 119.9 kB / 1.44 GB, free: 10.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/1.153, allocations: 8 kB / 1.44 GB, free: 10.84 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/1.153, allocations: 47.7 kB / 1.44 GB, free: 10.79 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/1.153, allocations: 19.98 kB / 1.44 GB, free: 10.77 MB / 1.154 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.0002019/1.153, allocations: 204.2 kB / 1.44 GB, free: 10.56 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/1.154, allocations: 67.52 kB / 1.44 GB, free: 10.5 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009954/1.155, allocations: 484 kB / 1.441 GB, free: 10.02 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.155, allocations: 4 kB / 1.441 GB, free: 10.01 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.155, allocations: 0 / 1.441 GB, free: 10.01 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009441/1.156, allocations: 0.7108 MB / 1.442 GB, free: 9.215 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/1.158, allocations: 1.281 MB / 1.443 GB, free: 7.855 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.158, allocations: 0 / 1.443 GB, free: 7.855 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006577/1.159, allocations: 127.8 kB / 1.443 GB, free: 7.73 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/1.159, allocations: 4 kB / 1.443 GB, free: 7.727 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/1.159, allocations: 8 kB / 1.443 GB, free: 7.719 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004141/1.159, allocations: 0.6055 MB / 1.444 GB, free: 7.09 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.159, allocations: 4.031 kB / 1.444 GB, free: 7.086 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/1.16, allocations: 0.7943 MB / 1.444 GB, free: 6.25 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/1.161, allocations: 184.6 kB / 1.445 GB, free: 6.051 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-05/1.161, allocations: 15.94 kB / 1.445 GB, free: 6.035 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/1.161, allocations: 18.05 kB / 1.445 GB, free: 6.02 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.561e-05/1.161, allocations: 31.97 kB / 1.445 GB, free: 5.988 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/1.161, allocations: 15.98 kB / 1.445 GB, free: 5.973 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004805/1.162, allocations: 350.8 kB / 1.445 GB, free: 5.633 MB / 1.154 GB Notification: Performance of sort global known variables: time 5.11e-07/1.162, allocations: 0 / 1.445 GB, free: 5.633 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001223/1.163, allocations: 363.3 kB / 1.445 GB, free: 5.277 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.002432/1.165, allocations: 1.453 MB / 1.447 GB, free: 3.785 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001785/1.167, allocations: 0.6751 MB / 1.447 GB, free: 3.109 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.167, allocations: 0 / 1.447 GB, free: 3.109 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0004575/1.168, allocations: 217 kB / 1.448 GB, free: 2.898 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/1.17, allocations: 357.8 kB / 1.448 GB, free: 2.551 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007832/1.177, allocations: 5.032 MB / 1.453 GB, free: 13.34 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/1.178, allocations: 0.9496 MB / 1.454 GB, free: 12.37 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008093/1.179, allocations: 212.9 kB / 1.454 GB, free: 12.16 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003794/1.179, allocations: 223.4 kB / 1.454 GB, free: 11.94 MB / 1.17 GB Notification: Performance of SimCode: time 2.034e-06/1.179, allocations: 0 / 1.454 GB, free: 11.94 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05314/1.233, allocations: 17.87 MB / 1.472 GB, free: 10.39 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.47, allocations: 11.91 kB / 1.472 GB, free: 10.38 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.Density_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.4552315690089] Failed to read output from testmodel.py, exit status != 0: 14.572368310997263 14.587398465 13.456335529 Calling exit ...