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.405/1.405, allocations: 252 MB / 267.3 MB, free: 10.84 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.001108/0.001108, allocations: 184.5 kB / 327 MB, free: 2.082 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.934/1.934, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.000727/0.0007273, allocations: 95.8 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004267, allocations: 8.406 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2543, allocations: 106.4 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.8661/1.12, allocations: 180.6 MB / 1.077 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01232/1.133, allocations: 7.028 MB / 1.084 GB, free: 1.672 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/1.134, allocations: 23.56 kB / 1.084 GB, free: 1.672 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/1.136, allocations: 339.8 kB / 1.084 GB, free: 1.664 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005601/1.141, allocations: 1.371 MB / 1.086 GB, free: 1.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004505/1.146, allocations: 1.071 MB / 1.087 GB, free: 1.547 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004819/1.151, allocations: 2.773 MB / 1.09 GB, free: 1.539 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/1.152, allocations: 0.5561 MB / 1.09 GB, free: 1.445 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/1.154, allocations: 0.739 MB / 1.091 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/1.155, allocations: 0.6032 MB / 1.091 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/1.156, allocations: 32.84 kB / 1.091 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005468/1.161, allocations: 2.182 MB / 1.094 GB, free: 1.414 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004504/1.162, allocations: 258.6 kB / 1.094 GB, free: 1.41 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008672/1.162, allocations: 410.2 kB / 1.094 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00427/1.167, allocations: 1.834 MB / 1.096 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.167, allocations: 3.312 kB / 1.096 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.647e-06/1.167, allocations: 2.906 kB / 1.096 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.081e-05/1.167, allocations: 1.859 kB / 1.096 GB, free: 17.27 MB / 0.7136 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.001849/1.169, allocations: 1.019 MB / 1.097 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.169, allocations: 9.438 kB / 1.097 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/1.169, allocations: 97.62 kB / 1.097 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/1.171, allocations: 274.8 kB / 1.097 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009524/1.172, allocations: 0.573 MB / 1.098 GB, free: 16.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/1.172, allocations: 45.19 kB / 1.098 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.578e-05/1.172, allocations: 53.78 kB / 1.098 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/1.173, allocations: 0.651 MB / 1.099 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/1.173, allocations: 1.859 kB / 1.099 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/1.173, allocations: 21.88 kB / 1.099 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/1.173, allocations: 20.16 kB / 1.099 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009572/1.174, allocations: 0.5293 MB / 1.099 GB, free: 16.15 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.00299/1.177, allocations: 2.47 MB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/1.178, allocations: 374.6 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003823/1.178, allocations: 240.1 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006202/1.179, allocations: 328.1 kB / 1.103 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/1.179, allocations: 37.28 kB / 1.103 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 2.585e-06/1.179, allocations: 3.375 kB / 1.103 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.00133/1.18, allocations: 0.63 MB / 1.103 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/1.18, allocations: 56.88 kB / 1.103 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/1.181, allocations: 499.3 kB / 1.104 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/1.181, allocations: 38.89 kB / 1.104 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/1.181, allocations: 321.8 kB / 1.104 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/1.181, allocations: 141.6 kB / 1.104 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/1.181, allocations: 9.906 kB / 1.104 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.181, allocations: 364 kB / 1.105 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/1.181, allocations: 170.4 kB / 1.105 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/1.182, allocations: 281.2 kB / 1.105 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006724/1.183, allocations: 456.3 kB / 1.105 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.183, allocations: 0 / 1.105 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008853/1.183, allocations: 0.5323 MB / 1.106 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/1.184, allocations: 152.1 kB / 1.106 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.184, allocations: 2.938 kB / 1.106 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/1.184, allocations: 8.219 kB / 1.106 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007551/1.184, allocations: 142.4 kB / 1.106 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004198/1.185, allocations: 0.5988 MB / 1.107 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007609/1.186, allocations: 75.73 kB / 1.107 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/1.186, allocations: 21.5 kB / 1.107 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/1.186, allocations: 2.125 kB / 1.107 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007675/1.186, allocations: 464.4 kB / 1.107 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/1.186, allocations: 3.469 kB / 1.107 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-06/1.186, allocations: 5.75 kB / 1.107 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/1.187, allocations: 131.3 kB / 1.107 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/1.187, allocations: 9.344 kB / 1.108 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005793/1.188, allocations: 80.72 kB / 1.108 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/1.188, allocations: 18.28 kB / 1.108 GB, free: 12.48 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.0004505/1.188, allocations: 313.8 kB / 1.108 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.756e-05/1.188, allocations: 56.31 kB / 1.108 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008771/1.189, allocations: 487.4 kB / 1.108 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/1.189, allocations: 11.22 kB / 1.108 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.189, allocations: 0 / 1.108 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007862/1.19, allocations: 0.713 MB / 1.109 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/1.192, allocations: 1.296 MB / 1.11 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.192, allocations: 0 / 1.11 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006107/1.192, allocations: 138.5 kB / 1.111 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/1.192, allocations: 5.281 kB / 1.111 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/1.193, allocations: 17.62 kB / 1.111 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003362/1.193, allocations: 0.5926 MB / 1.111 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.193, allocations: 5 kB / 1.111 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/1.194, allocations: 0.8303 MB / 1.112 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/1.194, allocations: 184.2 kB / 1.112 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/1.195, allocations: 10.12 kB / 1.112 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/1.195, allocations: 57.03 kB / 1.112 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.195, allocations: 35.73 kB / 1.112 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/1.195, allocations: 19.77 kB / 1.112 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004764/1.196, allocations: 348.1 kB / 1.113 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.272e-06/1.196, allocations: 1.75 kB / 1.113 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001161/1.197, allocations: 369.3 kB / 1.113 GB, free: 10.27 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.001952/1.199, allocations: 1.462 MB / 1.114 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001617/1.2, allocations: 0.6929 MB / 1.115 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.2, allocations: 0 / 1.115 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004977/1.201, allocations: 220.5 kB / 1.115 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/1.204, allocations: 366.3 kB / 1.116 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/1.214, allocations: 5.41 MB / 1.121 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007732/1.215, allocations: 0.9484 MB / 1.122 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001004/1.216, allocations: 205.4 kB / 1.122 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003908/1.216, allocations: 226.5 kB / 1.122 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of SimCode: time 1.403e-06/1.216, allocations: 4 kB / 1.122 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04358/1.26, allocations: 16.95 MB / 1.139 GB, free: 20 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/1.26, allocations: 275.4 kB / 1.139 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.782/4.042, allocations: 0 / 1.139 GB, free: 15.66 MB / 0.7292 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)