Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.695/1.695, allocations: 287.4 MB / 302.6 MB, free: 8.289 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.0009308/0.0009309, allocations: 183.8 kB / 371.1 MB, free: 10.79 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.493/1.493, allocations: 205.4 MB / 0.6298 GB, free: 10.49 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.0007347/0.000735, allocations: 91.47 kB / 0.7431 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005946/0.0005947, allocations: 15.06 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.247, allocations: 115.3 MB / 0.9787 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.6779/0.9249, allocations: 168.3 MB / 1.143 GB, free: 12.64 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.9354, allocations: 6.475 MB / 1.149 GB, free: 10.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.9368, allocations: 28.34 kB / 1.149 GB, free: 10.55 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.938, allocations: 268.3 kB / 1.15 GB, free: 10.45 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004317/0.9424, allocations: 1.054 MB / 1.151 GB, free: 9.992 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003253/0.9456, allocations: 0.8387 MB / 1.152 GB, free: 9.742 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003739/0.9494, allocations: 2.291 MB / 1.154 GB, free: 8.848 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.9504, allocations: 0.546 MB / 1.154 GB, free: 8.512 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.9523, allocations: 0.6801 MB / 1.155 GB, free: 8.148 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.9533, allocations: 0.5677 MB / 1.156 GB, free: 7.84 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.9534, allocations: 29.78 kB / 1.156 GB, free: 7.84 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003744/0.9572, allocations: 1.137 MB / 1.157 GB, free: 7.242 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003608/0.9576, allocations: 246.3 kB / 1.157 GB, free: 7.086 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003318/0.9579, allocations: 180.5 kB / 1.157 GB, free: 6.984 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.9598, allocations: 1.136 MB / 1.158 GB, free: 6.289 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.9598, allocations: 5.125 kB / 1.158 GB, free: 6.285 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.013e-06/0.9599, allocations: 0 / 1.158 GB, free: 6.285 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.9599, allocations: 0 / 1.158 GB, free: 6.285 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.001928/0.9618, allocations: 1.017 MB / 1.159 GB, free: 5.461 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.9619, allocations: 9.281 kB / 1.159 GB, free: 5.461 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.962, allocations: 97.77 kB / 1.159 GB, free: 5.375 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.9637, allocations: 264.9 kB / 1.16 GB, free: 5.258 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.9648, allocations: 0.5789 MB / 1.16 GB, free: 4.773 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.9648, allocations: 43.53 kB / 1.16 GB, free: 4.754 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.9649, allocations: 57.5 kB / 1.16 GB, free: 4.734 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.9661, allocations: 0.6375 MB / 1.161 GB, free: 4.348 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.9662, allocations: 1.281 kB / 1.161 GB, free: 4.348 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.382e-05/0.9662, allocations: 21.12 kB / 1.161 GB, free: 4.332 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-05/0.9663, allocations: 18.28 kB / 1.161 GB, free: 4.332 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.9673, allocations: 0.5242 MB / 1.161 GB, free: 4.082 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.003412/0.9708, allocations: 2.464 MB / 1.164 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006926/0.9715, allocations: 383.1 kB / 1.164 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.9719, allocations: 240.6 kB / 1.164 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006267/0.9725, allocations: 318 kB / 1.165 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.9726, allocations: 37.03 kB / 1.165 GB, free: 1.258 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 3.216e-06/0.9726, allocations: 3.938 kB / 1.165 GB, free: 1.254 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001541/0.9741, allocations: 0.627 MB / 1.165 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.9742, allocations: 58.94 kB / 1.165 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006372/0.9748, allocations: 0.4917 MB / 1.166 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.9749, allocations: 32.36 kB / 1.166 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000258/0.9752, allocations: 325.2 kB / 1.166 GB, free: 260 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.9753, allocations: 138.8 kB / 1.166 GB, free: 136 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/0.9753, allocations: 6.531 kB / 1.166 GB, free: 132 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.9755, allocations: 363.7 kB / 1.167 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.9759, allocations: 172.5 kB / 1.167 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.9763, allocations: 288.1 kB / 1.167 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00082/0.9772, allocations: 462.6 kB / 1.168 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9772, allocations: 1.031 kB / 1.168 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009929/0.9782, allocations: 0.5229 MB / 1.168 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.9783, allocations: 159.7 kB / 1.168 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.9783, allocations: 2.219 kB / 1.168 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.9784, allocations: 8.25 kB / 1.168 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007859/0.9792, allocations: 137.8 kB / 1.168 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004404/0.9796, allocations: 0.6035 MB / 1.169 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000729/0.9803, allocations: 77.09 kB / 1.169 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/0.9804, allocations: 22.17 kB / 1.169 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.9804, allocations: 3.5 kB / 1.169 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008403/0.9813, allocations: 459.5 kB / 1.17 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.9813, allocations: 2.406 kB / 1.17 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.9813, allocations: 8.594 kB / 1.17 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.9818, allocations: 133.1 kB / 1.17 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.9818, allocations: 3.906 kB / 1.17 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/0.9824, allocations: 71.36 kB / 1.17 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.9824, allocations: 18.28 kB / 1.17 GB, free: 13.75 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.0004739/0.9829, allocations: 308.3 kB / 1.17 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.983, allocations: 62.97 kB / 1.17 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009249/0.984, allocations: 492.1 kB / 1.171 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.984, allocations: 11.2 kB / 1.171 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.984, allocations: 1.219 kB / 1.171 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000961/0.985, allocations: 0.7167 MB / 1.171 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.9869, allocations: 1.285 MB / 1.173 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.987, allocations: 4.156 kB / 1.173 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/0.9876, allocations: 140.5 kB / 1.173 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.9876, allocations: 2.781 kB / 1.173 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.9876, allocations: 18.12 kB / 1.173 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003381/0.988, allocations: 0.5884 MB / 1.173 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.988, allocations: 0 / 1.173 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.9892, allocations: 0.845 MB / 1.174 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.9894, allocations: 187.8 kB / 1.174 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.9895, allocations: 11.12 kB / 1.174 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.99, allocations: 48.69 kB / 1.174 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/0.9901, allocations: 36.89 kB / 1.174 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.9901, allocations: 15.62 kB / 1.174 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003759/0.9905, allocations: 343.6 kB / 1.175 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9905, allocations: 0 / 1.175 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009946/0.9915, allocations: 362 kB / 1.175 GB, free: 9.945 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.001891/0.9934, allocations: 1.477 MB / 1.176 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.9948, allocations: 0.6767 MB / 1.177 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.9948, allocations: 0 / 1.177 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003901/0.9952, allocations: 229.3 kB / 1.177 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.9971, allocations: 351.9 kB / 1.178 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005797/1.003, allocations: 3.822 MB / 1.181 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/1.003, allocations: 0.9479 MB / 1.182 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008413/1.004, allocations: 209.5 kB / 1.183 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/1.005, allocations: 232.2 kB / 1.183 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of SimCode: time 8.21e-07/1.005, allocations: 0 / 1.183 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2114/1.216, allocations: 17.5 MB / 1.2 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/1.216, allocations: 240 kB / 1.2 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.621, allocations: 0 / 1.2 GB, free: 8.406 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)