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.443/1.443, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001171/0.001171, allocations: 181.5 kB / 326.5 MB, free: 2.254 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.77/1.77, allocations: 205.4 MB / 0.5775 GB, free: 20.53 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.0009549/0.0009549, allocations: 98.34 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003465, allocations: 12.09 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.232, allocations: 106.3 MB / 0.9001 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.164/0.396, allocations: 154.1 MB / 1.051 GB, free: 5.836 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.5658/0.9619, allocations: 6.561 MB / 1.057 GB, free: 4.012 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.9631, allocations: 20.78 kB / 1.057 GB, free: 4.012 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.9647, allocations: 428.7 kB / 1.058 GB, free: 4.012 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004635/0.9693, allocations: 1.313 MB / 1.059 GB, free: 3.996 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.9731, allocations: 1.077 MB / 1.06 GB, free: 3.98 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002727/0.9758, allocations: 1.151 MB / 1.061 GB, free: 3.973 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.9769, allocations: 0.5014 MB / 1.061 GB, free: 3.91 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.9787, allocations: 0.6321 MB / 1.062 GB, free: 3.906 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007415/0.9794, allocations: 384.8 kB / 1.062 GB, free: 3.906 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.973e-05/0.9795, allocations: 31.41 kB / 1.062 GB, free: 3.906 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.9821, allocations: 0.8854 MB / 1.063 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003269/0.9824, allocations: 232.2 kB / 1.064 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005184/0.983, allocations: 177.7 kB / 1.064 GB, free: 19.87 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.9849, allocations: 1.025 MB / 1.065 GB, free: 19.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.9849, allocations: 0 / 1.065 GB, free: 19.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9849, allocations: 2.5 kB / 1.065 GB, free: 19.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.985, allocations: 2.875 kB / 1.065 GB, free: 19.8 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.001991/0.987, allocations: 0.9811 MB / 1.066 GB, free: 19.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.987, allocations: 11.5 kB / 1.066 GB, free: 19.16 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.9871, allocations: 98.11 kB / 1.066 GB, free: 19.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.9891, allocations: 279.5 kB / 1.066 GB, free: 19.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.9902, allocations: 0.5541 MB / 1.067 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/0.9903, allocations: 44.81 kB / 1.067 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.9904, allocations: 54.16 kB / 1.067 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.9918, allocations: 0.6434 MB / 1.067 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.9918, allocations: 0.875 kB / 1.067 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.93e-05/0.9919, allocations: 21.03 kB / 1.067 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-05/0.9919, allocations: 20.61 kB / 1.067 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.9931, allocations: 0.5324 MB / 1.068 GB, free: 18.72 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.003738/0.9968, allocations: 2.454 MB / 1.07 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007735/0.9976, allocations: 388.4 kB / 1.071 GB, free: 17.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004348/0.9981, allocations: 141.8 kB / 1.071 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.9981, allocations: 42.42 kB / 1.071 GB, free: 17.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 2.494e-06/0.9981, allocations: 0 / 1.071 GB, free: 17.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.001649/0.9998, allocations: 0.6292 MB / 1.071 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.9999, allocations: 60.39 kB / 1.072 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007359/1.001, allocations: 497.1 kB / 1.072 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/1.001, allocations: 32.36 kB / 1.072 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/1.001, allocations: 322.2 kB / 1.072 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/1.001, allocations: 137.9 kB / 1.072 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/1.001, allocations: 13.41 kB / 1.072 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.001, allocations: 365.6 kB / 1.073 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/1.002, allocations: 166.4 kB / 1.073 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004798/1.002, allocations: 280.6 kB / 1.073 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/1.003, allocations: 209.9 kB / 1.073 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.003, allocations: 0.9062 kB / 1.073 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001171/1.004, allocations: 0.5234 MB / 1.074 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004412/1.004, allocations: 0.8748 MB / 1.075 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.004, allocations: 4.547 kB / 1.075 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/1.004, allocations: 3.875 kB / 1.075 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008393/1.005, allocations: 149 kB / 1.075 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004584/1.006, allocations: 0.5953 MB / 1.076 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/1.006, allocations: 85.34 kB / 1.076 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/1.006, allocations: 17.72 kB / 1.076 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/1.007, allocations: 3.844 kB / 1.076 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000945/1.007, allocations: 465.9 kB / 1.076 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.007, allocations: 2.25 kB / 1.076 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/1.008, allocations: 4.75 kB / 1.076 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/1.008, allocations: 125.8 kB / 1.076 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/1.008, allocations: 11.47 kB / 1.076 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007223/1.009, allocations: 78.91 kB / 1.076 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/1.009, allocations: 18.22 kB / 1.076 GB, free: 14.6 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.0006133/1.009, allocations: 306.5 kB / 1.077 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/1.01, allocations: 59.72 kB / 1.077 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/1.011, allocations: 489.8 kB / 1.077 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/1.011, allocations: 6.234 kB / 1.077 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.011, allocations: 1.375 kB / 1.077 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009175/1.012, allocations: 0.7041 MB / 1.078 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/1.014, allocations: 1.293 MB / 1.079 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.014, allocations: 1.125 kB / 1.079 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/1.015, allocations: 140.6 kB / 1.079 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/1.015, allocations: 3.781 kB / 1.079 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/1.015, allocations: 15.23 kB / 1.079 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003672/1.015, allocations: 0.5909 MB / 1.08 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.015, allocations: 5.312 kB / 1.08 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/1.016, allocations: 0.9175 MB / 1.081 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/1.017, allocations: 181.9 kB / 1.081 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.577e-05/1.017, allocations: 12.53 kB / 1.081 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005215/1.017, allocations: 56.25 kB / 1.081 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.864e-05/1.018, allocations: 26.3 kB / 1.081 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/1.018, allocations: 19.67 kB / 1.081 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004665/1.018, allocations: 343.1 kB / 1.081 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.52e-07/1.018, allocations: 4 kB / 1.081 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001168/1.019, allocations: 373.6 kB / 1.082 GB, free: 12.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 (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.002103/1.021, allocations: 2.032 MB / 1.084 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001523/1.023, allocations: 0.672 MB / 1.084 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.023, allocations: 0 / 1.084 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004177/1.023, allocations: 226 kB / 1.085 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/1.025, allocations: 345.7 kB / 1.085 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006705/1.032, allocations: 5.123 MB / 1.09 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/1.032, allocations: 0.9659 MB / 1.091 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009047/1.033, allocations: 208.5 kB / 1.091 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/1.034, allocations: 226.4 kB / 1.091 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of SimCode: time 1.011e-06/1.034, allocations: 2.906 kB / 1.091 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05115/1.085, allocations: 17.49 MB / 1.108 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003263/1.085, allocations: 242.5 kB / 1.109 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.57/3.655, allocations: 4 kB / 1.109 GB, free: 3.125 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)