Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.882/1.882, allocations: 288.2 MB / 303.2 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 173 kB / 371.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009046/0.0009045, allocations: 85.33 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004568, allocations: 15.23 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2225, allocations: 115.3 MB / 0.9795 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.7332/0.9558, allocations: 154 MB / 1.13 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01285/0.9687, allocations: 6.485 MB / 1.136 GB, free: 220 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.9703, allocations: 22.44 kB / 1.136 GB, free: 208 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.9719, allocations: 426 kB / 1.137 GB, free: 132 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005318/0.9773, allocations: 1.288 MB / 1.138 GB, free: 64 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003856/0.9811, allocations: 1.04 MB / 1.139 GB, free: 15.94 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002327/0.9835, allocations: 1.112 MB / 1.14 GB, free: 15.61 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008927/0.9844, allocations: 0.5065 MB / 1.14 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001435/0.9858, allocations: 0.608 MB / 1.141 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006367/0.9865, allocations: 389.4 kB / 1.141 GB, free: 15 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.348e-05/0.9866, allocations: 33.34 kB / 1.141 GB, free: 14.99 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.9892, allocations: 0.8783 MB / 1.142 GB, free: 14.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.9895, allocations: 229.5 kB / 1.143 GB, free: 14.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.9898, allocations: 175.4 kB / 1.143 GB, free: 14.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.9917, allocations: 1.003 MB / 1.144 GB, free: 14.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.9917, allocations: 0 / 1.144 GB, free: 14.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9917, allocations: 5.094 kB / 1.144 GB, free: 14.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.755e-05/0.9917, allocations: 0 / 1.144 GB, free: 14.09 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002433/0.9942, allocations: 0.9867 MB / 1.145 GB, free: 13.35 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.9942, allocations: 9.125 kB / 1.145 GB, free: 13.35 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/0.9944, allocations: 95.98 kB / 1.145 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.9963, allocations: 267.9 kB / 1.145 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.9974, allocations: 0.5588 MB / 1.146 GB, free: 12.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.63e-05/0.9974, allocations: 41 kB / 1.146 GB, free: 12.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.9976, allocations: 61.3 kB / 1.146 GB, free: 12.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.9988, allocations: 0.6356 MB / 1.146 GB, free: 12.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.9988, allocations: 2.062 kB / 1.146 GB, free: 12.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/0.9989, allocations: 24.44 kB / 1.146 GB, free: 12.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.152e-05/0.999, allocations: 19 kB / 1.146 GB, free: 12.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/1, allocations: 0.5194 MB / 1.147 GB, free: 12.52 MB / 0.698 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.003751/1.004, allocations: 2.449 MB / 1.149 GB, free: 10.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000792/1.005, allocations: 389.5 kB / 1.15 GB, free: 10.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00043/1.005, allocations: 148.1 kB / 1.15 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/1.005, allocations: 36.73 kB / 1.15 GB, free: 10.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 2.525e-06/1.005, allocations: 1.859 kB / 1.15 GB, free: 10.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001574/1.007, allocations: 0.622 MB / 1.15 GB, free: 10.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/1.007, allocations: 55.22 kB / 1.15 GB, free: 10.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006622/1.007, allocations: 0.4956 MB / 1.151 GB, free: 10.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.191e-05/1.008, allocations: 35.86 kB / 1.151 GB, free: 10.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/1.008, allocations: 319.9 kB / 1.151 GB, free: 9.922 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/1.008, allocations: 136.3 kB / 1.151 GB, free: 9.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/1.008, allocations: 8.594 kB / 1.151 GB, free: 9.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001926/1.008, allocations: 367.3 kB / 1.152 GB, free: 9.488 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/1.009, allocations: 176.8 kB / 1.152 GB, free: 9.449 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/1.009, allocations: 292.2 kB / 1.152 GB, free: 9.238 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/1.009, allocations: 216.6 kB / 1.152 GB, free: 9.129 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.009, allocations: 1.031 kB / 1.152 GB, free: 9.129 MB / 0.698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001059/1.011, allocations: 0.5187 MB / 1.153 GB, free: 8.867 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003899/1.011, allocations: 0.8757 MB / 1.154 GB, free: 7.934 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.011, allocations: 3.531 kB / 1.154 GB, free: 7.934 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/1.011, allocations: 4.812 kB / 1.154 GB, free: 7.934 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008423/1.012, allocations: 151.1 kB / 1.154 GB, free: 7.891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004216/1.012, allocations: 0.6035 MB / 1.154 GB, free: 7.281 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007346/1.013, allocations: 80.95 kB / 1.155 GB, free: 7.234 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/1.013, allocations: 18.53 kB / 1.155 GB, free: 7.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.013, allocations: 2.969 kB / 1.155 GB, free: 7.23 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008903/1.014, allocations: 460.8 kB / 1.155 GB, free: 7.016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.014, allocations: 2.969 kB / 1.155 GB, free: 7.016 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/1.014, allocations: 4.625 kB / 1.155 GB, free: 7.016 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/1.015, allocations: 132.4 kB / 1.155 GB, free: 6.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/1.015, allocations: 8 kB / 1.155 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006423/1.015, allocations: 72.17 kB / 1.155 GB, free: 6.938 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/1.015, allocations: 17.78 kB / 1.155 GB, free: 6.934 MB / 0.698 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.0005168/1.016, allocations: 315.7 kB / 1.156 GB, free: 6.664 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/1.016, allocations: 63.56 kB / 1.156 GB, free: 6.629 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009646/1.017, allocations: 495 kB / 1.156 GB, free: 6.352 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.017, allocations: 4.156 kB / 1.156 GB, free: 6.352 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.017, allocations: 1 kB / 1.156 GB, free: 6.352 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008921/1.018, allocations: 0.7169 MB / 1.157 GB, free: 5.742 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/1.02, allocations: 1.275 MB / 1.158 GB, free: 4.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/1.02, allocations: 2.5 kB / 1.158 GB, free: 4.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006629/1.021, allocations: 137.6 kB / 1.158 GB, free: 4.785 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/1.021, allocations: 3.438 kB / 1.158 GB, free: 4.785 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/1.021, allocations: 13.34 kB / 1.158 GB, free: 4.777 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003464/1.021, allocations: 0.6022 MB / 1.159 GB, free: 4.168 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.022, allocations: 2.094 kB / 1.159 GB, free: 4.168 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/1.023, allocations: 0.9083 MB / 1.16 GB, free: 3.523 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/1.023, allocations: 189.5 kB / 1.16 GB, free: 3.352 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.222e-05/1.023, allocations: 8.844 kB / 1.16 GB, free: 3.348 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/1.024, allocations: 54.64 kB / 1.16 GB, free: 3.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/1.024, allocations: 29.81 kB / 1.16 GB, free: 3.305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/1.024, allocations: 13.95 kB / 1.16 GB, free: 3.301 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004589/1.024, allocations: 348.9 kB / 1.16 GB, free: 3.094 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.522e-06/1.024, allocations: 0 / 1.16 GB, free: 3.094 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00118/1.026, allocations: 360.5 kB / 1.161 GB, free: 3.023 MB / 0.698 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.002316/1.028, allocations: 2.033 MB / 1.163 GB, free: 1.328 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001633/1.03, allocations: 0.681 MB / 1.163 GB, free: 1.027 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.03, allocations: 1.406 kB / 1.163 GB, free: 1.027 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004535/1.03, allocations: 233 kB / 1.163 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/1.032, allocations: 358.3 kB / 1.164 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/1.039, allocations: 5.149 MB / 1.169 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/1.039, allocations: 0.9629 MB / 1.17 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008443/1.04, allocations: 207.4 kB / 1.17 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/1.041, allocations: 225.5 kB / 1.17 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/1.041, allocations: 0 / 1.17 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03911/1.08, allocations: 17.5 MB / 1.187 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/1.08, allocations: 244.9 kB / 1.188 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.513, allocations: 0 / 1.188 GB, free: 2.578 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)