Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009423/0.0009423, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.618/1.618, allocations: 292.7 MB / 0.5499 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004864, allocations: 17.06 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2287, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.6128/0.8415, allocations: 168.3 MB / 0.9516 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009074/0.8506, allocations: 6.476 MB / 0.958 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.8517, allocations: 25.47 kB / 0.958 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008912/0.8526, allocations: 270.5 kB / 0.9583 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003051/0.8556, allocations: 1.053 MB / 0.9593 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002533/0.8582, allocations: 0.8354 MB / 0.9601 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00294/0.8611, allocations: 2.272 MB / 0.9623 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007706/0.8619, allocations: 497.2 kB / 0.9628 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.8634, allocations: 0.6889 MB / 0.9635 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008533/0.8643, allocations: 0.5709 MB / 0.964 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.888e-05/0.8644, allocations: 30.19 kB / 0.964 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.8674, allocations: 1.142 MB / 0.9652 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.8678, allocations: 250.9 kB / 0.9654 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.8682, allocations: 175.1 kB / 0.9656 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.87, allocations: 1.139 MB / 0.9667 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.87, allocations: 3.938 kB / 0.9667 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.963e-06/0.87, allocations: 0 / 0.9667 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.8701, allocations: 0 / 0.9667 GB, free: 19.26 MB / 0.7325 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.001661/0.8717, allocations: 1.022 MB / 0.9677 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.8718, allocations: 9.25 kB / 0.9677 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.8736, allocations: 271.8 kB / 0.968 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.8746, allocations: 0.555 MB / 0.9685 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.8747, allocations: 38.56 kB / 0.9685 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.186e-05/0.8748, allocations: 63.47 kB / 0.9686 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.8759, allocations: 0.6363 MB / 0.9692 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.8759, allocations: 1.25 kB / 0.9692 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.414e-05/0.876, allocations: 20.06 kB / 0.9692 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.876, allocations: 18.41 kB / 0.9692 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.8769, allocations: 0.5284 MB / 0.9698 GB, free: 18.17 MB / 0.7325 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.00284/0.8798, allocations: 2.454 MB / 0.9722 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.8804, allocations: 381.5 kB / 0.9725 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.8808, allocations: 241.2 kB / 0.9728 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005691/0.8814, allocations: 321 kB / 0.9731 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.8814, allocations: 36.25 kB / 0.9731 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 2.475e-06/0.8815, allocations: 1.25 kB / 0.9731 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.001219/0.8827, allocations: 0.6277 MB / 0.9737 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.8827, allocations: 58.88 kB / 0.9738 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.8832, allocations: 0.4928 MB / 0.9742 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.8833, allocations: 35.58 kB / 0.9743 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.8836, allocations: 319.3 kB / 0.9746 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/0.8837, allocations: 136 kB / 0.9747 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.8837, allocations: 11.44 kB / 0.9747 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.8838, allocations: 363.8 kB / 0.9751 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.8841, allocations: 173.9 kB / 0.9752 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.8844, allocations: 288.5 kB / 0.9755 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.8848, allocations: 216.9 kB / 0.9757 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8848, allocations: 1.859 kB / 0.9757 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007673/0.8856, allocations: 0.521 MB / 0.9762 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.62e-05/0.8857, allocations: 158.7 kB / 0.9764 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.8857, allocations: 4.25 kB / 0.9764 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.8857, allocations: 9.297 kB / 0.9764 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/0.8863, allocations: 140.9 kB / 0.9765 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003812/0.8867, allocations: 0.5983 MB / 0.9771 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006182/0.8874, allocations: 78.78 kB / 0.9772 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.8874, allocations: 18.7 kB / 0.9772 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.8874, allocations: 6.906 kB / 0.9772 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006627/0.8881, allocations: 466.2 kB / 0.9777 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.8881, allocations: 4.031 kB / 0.9777 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.8881, allocations: 5.188 kB / 0.9777 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.8886, allocations: 123.5 kB / 0.9778 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.8886, allocations: 5.609 kB / 0.9778 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005105/0.8891, allocations: 78.95 kB / 0.9779 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.8891, allocations: 19.55 kB / 0.9779 GB, free: 14.51 MB / 0.7325 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.0004307/0.8896, allocations: 308.8 kB / 0.9782 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-05/0.8897, allocations: 61.75 kB / 0.9782 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008441/0.8905, allocations: 487.4 kB / 0.9787 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8906, allocations: 10.53 kB / 0.9787 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.8906, allocations: 3.938 kB / 0.9787 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007823/0.8914, allocations: 0.7136 MB / 0.9794 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.8932, allocations: 1.282 MB / 0.9807 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.8932, allocations: 7.016 kB / 0.9807 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000549/0.8938, allocations: 135.8 kB / 0.9808 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.8938, allocations: 3.375 kB / 0.9808 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.8938, allocations: 17.77 kB / 0.9808 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002962/0.8941, allocations: 0.5907 MB / 0.9814 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8941, allocations: 3.344 kB / 0.9814 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.8952, allocations: 0.8319 MB / 0.9822 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.8954, allocations: 185.3 kB / 0.9824 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.413e-05/0.8955, allocations: 15.2 kB / 0.9824 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/0.8959, allocations: 45.33 kB / 0.9825 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/0.896, allocations: 32.98 kB / 0.9825 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.896, allocations: 23.81 kB / 0.9825 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003698/0.8964, allocations: 346.2 kB / 0.9828 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8964, allocations: 0 / 0.9828 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001051/0.8975, allocations: 370.6 kB / 0.9832 GB, free: 11.77 MB / 0.7325 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.0004696/0.8979, allocations: 195.2 kB / 0.9834 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.8992, allocations: 0.6878 MB / 0.984 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8992, allocations: 0 / 0.984 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.8996, allocations: 224.2 kB / 0.9843 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.9011, allocations: 365 kB / 0.9846 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.9033, allocations: 1.713 MB / 0.9863 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.9038, allocations: 0.9447 MB / 0.9872 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007078/0.9045, allocations: 209.3 kB / 0.9874 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.9046, allocations: 51.94 kB / 0.9875 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/0.9046, allocations: 0 / 0.9875 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of Templates: time 0.01813/0.9228, allocations: 11.54 MB / 0.9987 GB, free: 3.684 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: